02777ac303
This patch adds an optional function pointer, "sym_cb", to riscv_load_firmware() which provides the possibility to access the symbol table during kernel loading. The pointer is ignored, if supplied with flat (non-elf) firmware image. The Spike board requires it locate the HTIF symbols from firmware ELF passed via "-bios" option. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200427080644.168461-2-anup.patel@wdc.com Message-Id: <20200427080644.168461-2-anup.patel@wdc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
||
---|---|---|
.. | ||
boot.h | ||
riscv_hart.h | ||
riscv_htif.h | ||
sifive_clint.h | ||
sifive_cpu.h | ||
sifive_e_prci.h | ||
sifive_e.h | ||
sifive_gpio.h | ||
sifive_plic.h | ||
sifive_test.h | ||
sifive_u_otp.h | ||
sifive_u_prci.h | ||
sifive_u.h | ||
sifive_uart.h | ||
spike.h | ||
virt.h |