diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-04-27 13:36:42 +0530 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-04-29 13:16:38 -0700 |
commit | 02777ac3036187077c98a05843d888b4be8c51b3 (patch) | |
tree | 2c7a7435574a8f924357d3b6a190f12a1861d80e /gdb-xml | |
parent | 0b2f78e524d70d40200fa1f9334b2a6db7ca10e4 (diff) | |
download | qemu-02777ac3036187077c98a05843d888b4be8c51b3.zip qemu-02777ac3036187077c98a05843d888b4be8c51b3.tar.gz qemu-02777ac3036187077c98a05843d888b4be8c51b3.tar.bz2 |
hw/riscv: Add optional symbol callback ptr to riscv_load_firmware()
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>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions