summaryrefslogtreecommitdiffstats
path: root/include/hw/riscv/boot.h
diff options
context:
space:
mode:
authorAlistair Francis2020-04-23 23:09:37 +0200
committerAlistair Francis2020-06-03 18:11:51 +0200
commit757e99b1ebfa8bc2823ba686ab56bb9941b2f238 (patch)
tree2488e394bd808c9dfcbf427c627a7f51b815530c /include/hw/riscv/boot.h
parentriscv: sifive_e: Manually define the machine (diff)
downloadqemu-757e99b1ebfa8bc2823ba686ab56bb9941b2f238.tar.gz
qemu-757e99b1ebfa8bc2823ba686ab56bb9941b2f238.tar.xz
qemu-757e99b1ebfa8bc2823ba686ab56bb9941b2f238.zip
riscv/boot: Add a missing header include
As the functions declared in this header use the symbol_fn_t typedef itself declared in "hw/loader.h", we need to include it here to make the header file self-contained. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Bin Meng <bin.meng@windriver.com>
Diffstat (limited to 'include/hw/riscv/boot.h')
-rw-r--r--include/hw/riscv/boot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/riscv/boot.h b/include/hw/riscv/boot.h
index 474a940ad5..9daa98da08 100644
--- a/include/hw/riscv/boot.h
+++ b/include/hw/riscv/boot.h
@@ -21,6 +21,7 @@
#define RISCV_BOOT_H
#include "exec/cpu-defs.h"
+#include "hw/loader.h"
void riscv_find_and_load_firmware(MachineState *machine,
const char *default_machine_firmware,