aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/paravirt.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-05-13 14:09:00 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-05-20 12:15:30 +0200
commit7eac0c4e9d37a70ae69ee78dfc11f27a63f36b7d (patch)
tree339d0001dee3e64547ecbd5defdfb78b1c946508 /src/fw/paravirt.c
parenta217de932969b2a40a717573b2919337e46710b9 (diff)
downloadseabios-7eac0c4e9d37a70ae69ee78dfc11f27a63f36b7d.tar.gz
Allow using full io region on q35.
If qemu is new enough to support acpi table loading, then go move pmbase out of the way. This allows to use the whole 0x1000 -> 0xffff io address space on q35. piix has hotplug ports in the 0xa000 -> 0xafff area, so we can't do the same there. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/fw/paravirt.c')
-rw-r--r--src/fw/paravirt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fw/paravirt.c b/src/fw/paravirt.c
index 569fd257..db22ae8f 100644
--- a/src/fw/paravirt.c
+++ b/src/fw/paravirt.c
@@ -440,4 +440,9 @@ void qemu_cfg_init(void)
}
qemu_cfg_e820();
+
+ if (romfile_find("etc/table-loader")) {
+ acpi_pm_base = 0x0600;
+ dprintf(1, "Moving pm_base to 0x%x\n", acpi_pm_base);
+ }
}