diff --git a/src/arch/mips/boot.c b/src/arch/mips/boot.c index d322e99079..b213ffcd1e 100644 --- a/src/arch/mips/boot.c +++ b/src/arch/mips/boot.c @@ -19,9 +19,10 @@ #include #include +#include -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); } diff --git a/src/arch/mips/include/arch/stages.h b/src/arch/mips/include/arch/stages.h index b95ad1db4f..3015bb135e 100644 --- a/src/arch/mips/include/arch/stages.h +++ b/src/arch/mips/include/arch/stages.h @@ -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 */