qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove some global variables
@ 2025-04-30  9:47 Bibo Mao
  2025-04-30  9:47 ` [PATCH 1/2] hw/loongarch/virt: Remove global variables about initrd Bibo Mao
  2025-04-30  9:47 ` [PATCH 2/2] hw/loongarch/virt: Remove global variables about memmap tables Bibo Mao
  0 siblings, 2 replies; 5+ messages in thread
From: Bibo Mao @ 2025-04-30  9:47 UTC (permalink / raw)
  To: Song Gao; +Cc: Jiaxun Yang, qemu-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-23  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30  9:47 [PATCH 0/2] Remove some global variables Bibo Mao
2025-04-30  9:47 ` [PATCH 1/2] hw/loongarch/virt: Remove global variables about initrd Bibo Mao
2025-04-30 12:32   ` Philippe Mathieu-Daudé
2025-04-30  9:47 ` [PATCH 2/2] hw/loongarch/virt: Remove global variables about memmap tables Bibo Mao
2025-05-23  8:53   ` gaosong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).