diff options
author | Alistair Francis | 2020-04-23 23:09:37 +0200 |
---|---|---|
committer | Alistair Francis | 2020-06-03 18:11:51 +0200 |
commit | 757e99b1ebfa8bc2823ba686ab56bb9941b2f238 (patch) | |
tree | 2488e394bd808c9dfcbf427c627a7f51b815530c /include/hw/riscv/boot.h | |
parent | riscv: sifive_e: Manually define the machine (diff) | |
download | qemu-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.h | 1 |
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, |