]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/loongarch/virt: Remove global variables about initrd
authorBibo Mao <maobibo@loongson.cn>
Wed, 30 Apr 2025 09:47:37 +0000 (17:47 +0800)
committerSong Gao <gaosong@loongson.cn>
Tue, 10 Jun 2025 07:00:48 +0000 (15:00 +0800)
commit4332a641e220ca969810fac12b25cbf2037f7c3f
tree4864a48c39c31d623b5cdf34fddb4b46fbff8e94
parente7788da9860c97920c19fa1150806186513ef256
hw/loongarch/virt: Remove global variables about initrd

Global variables initrd_offset and initrd_size records loading information
about initrd, it can be moved to structure loongarch_boot_info.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250430094738.1556670-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/loongarch/boot.c
include/hw/loongarch/boot.h