summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-04 15:01:39 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-04 15:01:39 +0000
commita12c154727cd82faefc478458702270c296624e3 (patch)
tree0b146a4f9858874895ae87ba89027d3c6806e83d /OvmfPkg
parentb2b16999102cb466ec8cc526ff997326cc2fb859 (diff)
downloadedk2-platforms-a12c154727cd82faefc478458702270c296624e3.tar.xz
OvmfPkg/AcpiTables: Set SMI ACPI Enable/Disable fields to 0
OVMF does not support SMM. Previously the port value was set to 0. This should be enough to disable the SMM ACPI Enable/Disable code paths, but to be consistent we'll set these fields to 0 as well. 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@13277 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/AcpiTables/Platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/AcpiTables/Platform.h b/OvmfPkg/AcpiTables/Platform.h
index c9aa547067..a79bfd8703 100644
--- a/OvmfPkg/AcpiTables/Platform.h
+++ b/OvmfPkg/AcpiTables/Platform.h
@@ -30,8 +30,8 @@
#define INT_MODEL 0x01
#define SCI_INT_VECTOR 0x0009
#define SMI_CMD_IO_PORT 0 // If SMM was supported, then this would be 0xB2
-#define ACPI_ENABLE 0x0E1
-#define ACPI_DISABLE 0x01E
+#define ACPI_ENABLE 0
+#define ACPI_DISABLE 0
#define S4BIOS_REQ 0x00
#define PM1a_EVT_BLK 0x00000400
#define PM1b_EVT_BLK 0x00000000