hw/loongarch/boot.c | 337 ++++++++++++++++++++++++++++++++++ hw/loongarch/meson.build | 1 + hw/loongarch/virt.c | 365 +++++++++++++++++++++---------------- include/hw/intc/loongarch_extioi.h | 1 + include/hw/loongarch/boot.h | 109 +++++++++++ include/hw/loongarch/virt.h | 16 ++ include/hw/pci-host/ls7a.h | 2 + target/loongarch/cpu.h | 2 + 8 files changed, 671 insertions(+), 162 deletions(-) create mode 100644 hw/loongarch/boot.c create mode 100644 include/hw/loongarch/boot.h