summaryrefslogtreecommitdiff
path: root/OvmfPkg/AcpiTables/Platform.h
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-04 15:01:24 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-04 15:01:24 +0000
commitb2b16999102cb466ec8cc526ff997326cc2fb859 (patch)
tree5c7c91cbd810304eb9d24046136a055fd0acfea1 /OvmfPkg/AcpiTables/Platform.h
parenteca7d27193f7789adca44c91c68fdfcdc824cde2 (diff)
downloadedk2-platforms-b2b16999102cb466ec8cc526ff997326cc2fb859.tar.xz
OvmfPkg/AcpiTables: Update GPE0 block address range for QEMU
QEMU hard codes the GPE0 registers at 0xafe0. Previously the code assumed that the GPE0 block would move when the PM Base Address of the PIIX4 PCI device was programmed. It appears QEMU does not emulate this behaviour of the PIIX4 PCI device. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Bei Guan <gbtju85@gmail.com> Reviewed-by: Bei Guan <gbtju85@gmail.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13276 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/AcpiTables/Platform.h')
-rw-r--r--OvmfPkg/AcpiTables/Platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/AcpiTables/Platform.h b/OvmfPkg/AcpiTables/Platform.h
index 4e56947270..c9aa547067 100644
--- a/OvmfPkg/AcpiTables/Platform.h
+++ b/OvmfPkg/AcpiTables/Platform.h
@@ -39,7 +39,7 @@
#define PM1b_CNT_BLK 0x00000000
#define PM2_CNT_BLK 0x00000022
#define PM_TMR_BLK 0x00000408
-#define GPE0_BLK 0x0000040C
+#define GPE0_BLK 0x0000afe0
#define GPE1_BLK 0x00000000
#define PM1_EVT_LEN 0x04
#define PM1_CNT_LEN 0x02