summaryrefslogtreecommitdiff
path: root/src/arch/riscv/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/boot.c')
-rw-r--r--src/arch/riscv/boot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/riscv/boot.c b/src/arch/riscv/boot.c
index 743549081d..ff1844eb0a 100644
--- a/src/arch/riscv/boot.c
+++ b/src/arch/riscv/boot.c
@@ -17,13 +17,17 @@
#include <vm.h>
#include <arch/encoding.h>
#include <rules.h>
+#include <console/console.h>
void arch_prog_run(struct prog *prog)
{
void (*doit)(void *) = prog_entry(prog);
+ void riscvpayload(void *);
if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) {
initVirtualMemory();
+ printk(BIOS_SPEW, "OK, let's go\n");
+ riscvpayload(doit);
}
doit(prog_entry_arg(prog));