From: Bibo Mao <maobibo@loongson.cn>
To: Song Gao <gaosong@loongson.cn>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>, qemu-devel@nongnu.org
Subject: [PATCH 0/2] Remove some global variables
Date: Wed, 30 Apr 2025 17:47:36 +0800 [thread overview]
Message-ID: <20250430094738.1556670-1-maobibo@loongson.cn> (raw)
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
next reply other threads:[~2025-04-30 9:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-30 9:47 Bibo Mao [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250430094738.1556670-1-maobibo@loongson.cn \
--to=maobibo@loongson.cn \
--cc=gaosong@loongson.cn \
--cc=jiaxun.yang@flygoat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).