]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Feb 2011 10:05:06 +0000 (10:05 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Feb 2011 10:05:06 +0000 (10:05 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11330 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h [new file with mode: 0644]
MdePkg/Include/PiSmm.h
MdePkg/Include/Uefi/UefiAcpiDataTable.h [new file with mode: 0644]

diff --git a/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h b/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h
new file mode 100644 (file)
index 0000000..78d801a
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  PI SMM Communication ACPI Table Definition.\r
+\r
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php.                                          \r
+    \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __PI_SMM_COMMUNICATION_ACPI_TABLE__\r
+#define __PI_SMM_COMMUNICATION_ACPI_TABLE__\r
+\r
+#include <Uefi/UefiAcpiDataTable.h>\r
+\r
+#pragma pack(1)\r
+typedef struct {\r
+  EFI_ACPI_DATA_TABLE  UefiAcpiDataTable;\r
+  UINT32               SwSmiNumber;\r
+  UINT64               BufferPtrAddress;\r
+} EFI_SMM_COMMUNICATION_ACPI_TABLE;\r
+#pragma pack()\r
+\r
+#endif\r
index ae067ce8b678ddf88fb020a2c9f0d5546c9b65a8..535080037b8d4ec0aeb89d7324f7be6427c38c61 100644 (file)
@@ -2,7 +2,7 @@
 \r
   Root include file for Mde Package SMM modules.\r
 \r
 \r
   Root include file for Mde Package SMM modules.\r
 \r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -20,6 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Uefi/UefiSpec.h>\r
 \r
 #include <Pi/PiSmmCis.h>\r
 #include <Uefi/UefiSpec.h>\r
 \r
 #include <Pi/PiSmmCis.h>\r
+#include <Pi/PiSmmCommunicationAcpiTable.h>\r
 \r
 #endif\r
 \r
 \r
 #endif\r
 \r
diff --git a/MdePkg/Include/Uefi/UefiAcpiDataTable.h b/MdePkg/Include/Uefi/UefiAcpiDataTable.h
new file mode 100644 (file)
index 0000000..d0245fc
--- /dev/null
@@ -0,0 +1,29 @@
+/** @file\r
+  UEFI ACPI Data Table Definition.\r
+\r
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php.                                          \r
+    \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __UEFI_ACPI_DATA_TABLE_H__\r
+#define __UEFI_ACPI_DATA_TABLE_H__\r
+\r
+#include <IndustryStandard/Acpi.h>\r
+\r
+#pragma pack(1)\r
+typedef struct {\r
+  EFI_ACPI_DESCRIPTION_HEADER   Header;\r
+  GUID                          Identifier;\r
+  UINT16                        DataOffset;\r
+} EFI_ACPI_DATA_TABLE;\r
+#pragma pack()\r
+\r
+#endif\r
+\r