aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-09-18 09:42:06 +0800
committerSong Gao <gaosong@loongson.cn>2024-10-16 15:56:42 +0800
commite1ecdc630d7aaee85cbf22b3b6b3a4da19763521 (patch)
treee7c5a9d68f5214fef217956c32d2ac7f24aa95fc /module-common.c
parentedafc90ba481c586d0a649f34dcb8cd1f29c4259 (diff)
downloadqemu-e1ecdc630d7aaee85cbf22b3b6b3a4da19763521.zip
qemu-e1ecdc630d7aaee85cbf22b3b6b3a4da19763521.tar.gz
qemu-e1ecdc630d7aaee85cbf22b3b6b3a4da19763521.tar.bz2
hw/loongarch/virt: Add FDT table support with acpi ged pm register
ACPI ged is used for power management on LoongArch virt platform, in general it is parsed from acpi table. However if system boot directly from elf kernel, no UEFI bios is provided and acpi table cannot be used also. Here acpi ged pm register is exposed with FDT table, it is compatbile with syscon method in FDT table, only that acpi ged pm register is accessed with 8-bit mode, rather with 32-bit mode. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Tested-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240918014206.2165821-3-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions