mips: bring payload execution to current standards
Change-Id: Id7f438a95fc7c7b41ce3d0fb419b0b455f8367a9 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/9167 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
6f723c2692
commit
3bc2999cb0
|
@ -19,9 +19,10 @@
|
|||
|
||||
#include <console/console.h>
|
||||
#include <arch/stages.h>
|
||||
#include <program_loading.h>
|
||||
|
||||
void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size)
|
||||
void arch_payload_run(const struct payload *payload)
|
||||
{
|
||||
printk(BIOS_SPEW, "entry = %p\n", entry);
|
||||
stage_exit(entry);
|
||||
printk(BIOS_SPEW, "entry = %p\n", payload->entry);
|
||||
stage_exit(payload->entry);
|
||||
}
|
||||
|
|
|
@ -24,6 +24,5 @@ extern void main(void);
|
|||
|
||||
void stage_entry(void);
|
||||
void stage_exit(void *);
|
||||
void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size);
|
||||
|
||||
#endif /* __MIPS_ARCH_STAGES_H */
|
||||
|
|
Loading…
Reference in New Issue