mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
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
This commit is contained in:
parent
b2b1699910
commit
a12c154727
@ -30,8 +30,8 @@
|
|||||||
#define INT_MODEL 0x01
|
#define INT_MODEL 0x01
|
||||||
#define SCI_INT_VECTOR 0x0009
|
#define SCI_INT_VECTOR 0x0009
|
||||||
#define SMI_CMD_IO_PORT 0 // If SMM was supported, then this would be 0xB2
|
#define SMI_CMD_IO_PORT 0 // If SMM was supported, then this would be 0xB2
|
||||||
#define ACPI_ENABLE 0x0E1
|
#define ACPI_ENABLE 0
|
||||||
#define ACPI_DISABLE 0x01E
|
#define ACPI_DISABLE 0
|
||||||
#define S4BIOS_REQ 0x00
|
#define S4BIOS_REQ 0x00
|
||||||
#define PM1a_EVT_BLK 0x00000400
|
#define PM1a_EVT_BLK 0x00000400
|
||||||
#define PM1b_EVT_BLK 0x00000000
|
#define PM1b_EVT_BLK 0x00000000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user