diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2015-10-19 19:09:33 +0000 |
---|---|---|
committer | mdkinney <mdkinney@Edk2> | 2015-10-19 19:09:33 +0000 |
commit | b3dc26ed7e3c37efc1e43edf3aefcc5615302027 (patch) | |
tree | 53a9b51ad8a965174c7e8c598b5b66b1a7237543 /UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h | |
parent | 28a7ddf0311f8557360b4f8d042e558b938f6e8c (diff) | |
download | edk2-b3dc26ed7e3c37efc1e43edf3aefcc5615302027.tar.gz edk2-b3dc26ed7e3c37efc1e43edf3aefcc5615302027.tar.bz2 edk2-b3dc26ed7e3c37efc1e43edf3aefcc5615302027.zip |
UefiCpuPkg: Add SMM Communication PPI and Handler Modules
Add modules that produce the SMM Communications PPI and
install a SW SMI handler for SMM Communication requests
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18634 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h')
-rw-r--r-- | UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h new file mode 100644 index 0000000000..3dd5ac6e38 --- /dev/null +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h @@ -0,0 +1,30 @@ +/** @file
+PiSmmCommunication private data structure
+
+Copyright (c) 2010 - 2015, 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
+which 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 _SMM_COMMUNICATION_PRIVATE_H_
+#define _SMM_COMMUNICATION_PRIVATE_H_
+
+#pragma pack(push, 1)
+
+#define SMM_COMMUNICATION_SIGNATURE SIGNATURE_32 ('S','M','M','C')
+
+typedef struct {
+ UINT32 Signature;
+ UINT32 SwSmiNumber;
+ EFI_PHYSICAL_ADDRESS BufferPtrAddress;
+} EFI_SMM_COMMUNICATION_CONTEXT;
+
+#pragma pack(pop)
+
+#endif
|