diff options
| author | Michael Clark | 2018-03-03 23:15:09 +0100 |
|---|---|---|
| committer | Michael Clark | 2018-05-06 00:39:38 +0200 |
| commit | 6b01e3277e0e189a8f064b94c4f761e4efadd758 (patch) | |
| tree | 71087fecc3f2d577198824f480645a6f9089915d /include | |
| parent | RISC-V: Make virt board description match spike (diff) | |
| download | qemu-6b01e3277e0e189a8f064b94c4f761e4efadd758.tar.gz qemu-6b01e3277e0e189a8f064b94c4f761e4efadd758.tar.xz qemu-6b01e3277e0e189a8f064b94c4f761e4efadd758.zip | |
RISC-V: Use ROM base address and size from memmap
Another case of replacing hard coded constants, this time
referring to the definition in the virt machine's memmap.
Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/riscv/virt.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h index 2fbe808da5..655e85ddbd 100644 --- a/include/hw/riscv/virt.h +++ b/include/hw/riscv/virt.h @@ -23,8 +23,6 @@ #define VIRT(obj) \ OBJECT_CHECK(RISCVVirtState, (obj), TYPE_RISCV_VIRT_BOARD) -enum { ROM_BASE = 0x1000 }; - typedef struct { /*< private >*/ SysBusDevice parent_obj; |
