diff --git a/OvmfPkg/AcpiTables/Dsdt.asl b/OvmfPkg/AcpiTables/Dsdt.asl index ac0fec49e8..a0c762291e 100644 --- a/OvmfPkg/AcpiTables/Dsdt.asl +++ b/OvmfPkg/AcpiTables/Dsdt.asl @@ -368,6 +368,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) { IO (Decode16, 0x440, 0x440, 0x00, 0x10) IO (Decode16, 0x678, 0x678, 0x00, 0x08) IO (Decode16, 0x778, 0x778, 0x00, 0x08) + IO (Decode16, 0xafe0, 0xafe0, 0x00, 0x04) // QEMU GPE0 BLK Memory32Fixed (ReadOnly, 0xFEC00000, 0x1000) // IO APIC Memory32Fixed (ReadOnly, 0xFEE00000, 0x1000) }) 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