Global variables about initrd and UEFI memmap tables are removed here,
and put into structure loongarch_boot_info and LoongArchVirtMachineState
separately.
Bibo Mao (2):
hw/loongarch/virt: Remove global variables about initrd
hw/loongarch/virt: Remove global variables about memmap tables
hw/loongarch/boot.c | 52 +++++++++++++++++++++----------------
hw/loongarch/virt.c | 23 +++++++++++-----
include/hw/loongarch/boot.h | 5 ++--
include/hw/loongarch/virt.h | 2 ++
4 files changed, 49 insertions(+), 33 deletions(-)
base-commit: 73d29ea2417b58ca55fba1aa468ba38e3607b583
--
2.39.3