e087bd4de3
Add gdb XML files and adjust CPU initialization to allow running RV32 CPUs in RV64 QEMU. Signed-off-by: TANG Tiancheng <tangtiancheng.ttc@alibaba-inc.com> Reviewed-by: Liu Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240919055048.562-7-zhiwei_liu@linux.alibaba.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
8 lines
328 B
Makefile
8 lines
328 B
Makefile
TARGET_ARCH=riscv64
|
|
TARGET_BASE_ARCH=riscv
|
|
TARGET_SUPPORTS_MTTCG=y
|
|
TARGET_KVM_HAVE_GUEST_DEBUG=y
|
|
TARGET_XML_FILES= gdb-xml/riscv-64bit-cpu.xml gdb-xml/riscv-32bit-fpu.xml gdb-xml/riscv-64bit-fpu.xml gdb-xml/riscv-64bit-virtual.xml gdb-xml/riscv-32bit-cpu.xml gdb-xml/riscv-32bit-virtual.xml
|
|
# needed by boot.c
|
|
TARGET_NEED_FDT=y
|