]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h
UefiCpuPkg: Add SMM Communication PPI and Handler Modules
[mirror_edk2.git] / UefiCpuPkg / PiSmmCommunication / PiSmmCommunicationPrivate.h
diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h
new file mode 100644 (file)
index 0000000..3dd5ac6
--- /dev/null
@@ -0,0 +1,30 @@
+/** @file\r
+PiSmmCommunication private data structure\r
+\r
+Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  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 _SMM_COMMUNICATION_PRIVATE_H_\r
+#define _SMM_COMMUNICATION_PRIVATE_H_\r
+\r
+#pragma pack(push, 1)\r
+\r
+#define SMM_COMMUNICATION_SIGNATURE SIGNATURE_32 ('S','M','M','C')\r
+\r
+typedef struct {\r
+  UINT32                   Signature;\r
+  UINT32                   SwSmiNumber;\r
+  EFI_PHYSICAL_ADDRESS     BufferPtrAddress;\r
+} EFI_SMM_COMMUNICATION_CONTEXT;\r
+\r
+#pragma pack(pop)\r
+\r
+#endif\r