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
		
			
				
	
	
		
			31 lines
		
	
	
		
			933 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			933 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @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
 |