diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-22 10:05:06 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-22 10:05:06 +0000 |
commit | 2094c4d03f4f734f566f4d720cb9bad464d51a24 (patch) | |
tree | bc10cd05f406e629b1f04dc2661f849794b1bdb6 /MdePkg/Include | |
parent | 1fcd34f8755c523ec687681c3c6d15ef4c86ccaa (diff) | |
download | edk2-platforms-2094c4d03f4f734f566f4d720cb9bad464d51a24.tar.xz |
Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11330 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h | 28 | ||||
-rw-r--r-- | MdePkg/Include/PiSmm.h | 3 | ||||
-rw-r--r-- | MdePkg/Include/Uefi/UefiAcpiDataTable.h | 29 |
3 files changed, 59 insertions, 1 deletions
diff --git a/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h b/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h new file mode 100644 index 0000000000..78d801aa71 --- /dev/null +++ b/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h @@ -0,0 +1,28 @@ +/** @file
+ PI SMM Communication ACPI Table Definition.
+
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials are licensed and made available under
+the terms and conditions of the BSD License that accompanies this distribution.
+The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php.
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __PI_SMM_COMMUNICATION_ACPI_TABLE__
+#define __PI_SMM_COMMUNICATION_ACPI_TABLE__
+
+#include <Uefi/UefiAcpiDataTable.h>
+
+#pragma pack(1)
+typedef struct {
+ EFI_ACPI_DATA_TABLE UefiAcpiDataTable;
+ UINT32 SwSmiNumber;
+ UINT64 BufferPtrAddress;
+} EFI_SMM_COMMUNICATION_ACPI_TABLE;
+#pragma pack()
+
+#endif
diff --git a/MdePkg/Include/PiSmm.h b/MdePkg/Include/PiSmm.h index ae067ce8b6..535080037b 100644 --- a/MdePkg/Include/PiSmm.h +++ b/MdePkg/Include/PiSmm.h @@ -2,7 +2,7 @@ Root include file for Mde Package SMM modules.
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -20,6 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Uefi/UefiSpec.h>
#include <Pi/PiSmmCis.h>
+#include <Pi/PiSmmCommunicationAcpiTable.h>
#endif
diff --git a/MdePkg/Include/Uefi/UefiAcpiDataTable.h b/MdePkg/Include/Uefi/UefiAcpiDataTable.h new file mode 100644 index 0000000000..d0245fca87 --- /dev/null +++ b/MdePkg/Include/Uefi/UefiAcpiDataTable.h @@ -0,0 +1,29 @@ +/** @file
+ UEFI ACPI Data Table Definition.
+
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials are licensed and made available under
+the terms and conditions of the BSD License that accompanies this distribution.
+The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php.
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __UEFI_ACPI_DATA_TABLE_H__
+#define __UEFI_ACPI_DATA_TABLE_H__
+
+#include <IndustryStandard/Acpi.h>
+
+#pragma pack(1)
+typedef struct {
+ EFI_ACPI_DESCRIPTION_HEADER Header;
+ GUID Identifier;
+ UINT16 DataOffset;
+} EFI_ACPI_DATA_TABLE;
+#pragma pack()
+
+#endif
+
|