aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-04-23 14:09:37 -0700
committerAlistair Francis <alistair.francis@wdc.com>2020-06-03 09:11:51 -0700
commit757e99b1ebfa8bc2823ba686ab56bb9941b2f238 (patch)
tree2488e394bd808c9dfcbf427c627a7f51b815530c
parent0869490b1cc4d917ac4eb3a02cac7d71149def91 (diff)
downloadqemu-757e99b1ebfa8bc2823ba686ab56bb9941b2f238.zip
qemu-757e99b1ebfa8bc2823ba686ab56bb9941b2f238.tar.gz
qemu-757e99b1ebfa8bc2823ba686ab56bb9941b2f238.tar.bz2
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>
-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 474a940..9daa98d 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,