diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-07 16:51:35 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-09 00:07:21 +0200 |
| commit | 72674db080bcdf2fd66b2a538379ee6000f5b113 (patch) | |
| tree | 5a6cf8444523a81b32490e56828507c24641ae7a /hw/loongarch/virt.c | |
| parent | ed95bdd1e52a0a5f4f8e07468f6c1aa766efc4f2 (diff) | |
| download | focaccia-qemu-72674db080bcdf2fd66b2a538379ee6000f5b113.tar.gz focaccia-qemu-72674db080bcdf2fd66b2a538379ee6000f5b113.zip | |
hw/loongarch: move memory map to boot.c
Ensure that it can be used even if virt.c is not included in the build, as is the case for --without-default-devices. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20240507145135.270803-1-pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/loongarch/virt.c')
| -rw-r--r-- | hw/loongarch/virt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index c0999878df..504e1fb349 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -516,9 +516,6 @@ static void virt_powerdown_req(Notifier *notifier, void *opaque) acpi_send_event(s->acpi_ged, ACPI_POWER_DOWN_STATUS); } -struct memmap_entry *memmap_table; -unsigned memmap_entries; - static void memmap_add_entry(uint64_t address, uint64_t length, uint32_t type) { /* Ensure there are no duplicate entries. */ |