diff options
author | Alistair Francis | 2020-10-14 02:17:30 +0200 |
---|---|---|
committer | Alistair Francis | 2020-10-22 21:00:22 +0200 |
commit | c40778429157afbd9ba2236f1e06ca24d980cdfe (patch) | |
tree | 829c5ce5d1e946aff959ee1579a7fc0d92c56281 /include/hw/riscv/boot.h | |
parent | hw/riscv: Return the end address of the loaded firmware (diff) | |
download | qemu-c40778429157afbd9ba2236f1e06ca24d980cdfe.tar.gz qemu-c40778429157afbd9ba2236f1e06ca24d980cdfe.tar.xz qemu-c40778429157afbd9ba2236f1e06ca24d980cdfe.zip |
hw/riscv: Add a riscv_is_32_bit() function
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
Message-id: 4c6a85dfb6dd470aa79356ebc1b02f479c2758e0.1602634524.git.alistair.francis@wdc.com
Diffstat (limited to 'include/hw/riscv/boot.h')
-rw-r--r-- | include/hw/riscv/boot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/riscv/boot.h b/include/hw/riscv/boot.h index 0acbd8aa6e..2975ed1a31 100644 --- a/include/hw/riscv/boot.h +++ b/include/hw/riscv/boot.h @@ -23,6 +23,8 @@ #include "exec/cpu-defs.h" #include "hw/loader.h" +bool riscv_is_32_bit(MachineState *machine); + target_ulong riscv_find_and_load_firmware(MachineState *machine, const char *default_machine_firmware, hwaddr firmware_load_addr, |