https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  Define the GUID of the EDKII PI SMM memory attribute table, which
 | 
						|
  is published by PI SMM Core.
 | 
						|
 | 
						|
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
 | 
						|
SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#ifndef _PI_SMM_MEMORY_ATTRIBUTES_TABLE_H_
 | 
						|
#define _PI_SMM_MEMORY_ATTRIBUTES_TABLE_H_
 | 
						|
 | 
						|
#define EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE_GUID {\
 | 
						|
  0x6b9fd3f7, 0x16df, 0x45e8, {0xbd, 0x39, 0xb9, 0x4a, 0x66, 0x54, 0x1a, 0x5d} \
 | 
						|
}
 | 
						|
 | 
						|
//
 | 
						|
// The PI SMM memory attribute table contains the SMM memory map for SMM image.
 | 
						|
//
 | 
						|
// This table is installed to SMST as SMM configuration table.
 | 
						|
//
 | 
						|
// This table is published at gEfiSmmEndOfDxeProtocolGuid notification, because
 | 
						|
// there should be no more SMM driver loaded after that. The EfiRuntimeServicesCode
 | 
						|
// region should not be changed any more.
 | 
						|
//
 | 
						|
// This table is published, if and only if all SMM PE/COFF have aligned section
 | 
						|
// as specified in UEFI specification Section 2.3. For example, IA32/X64 alignment is 4KiB.
 | 
						|
//
 | 
						|
// If this table is published, the EfiRuntimeServicesCode contains code only
 | 
						|
// and it is EFI_MEMORY_RO; the EfiRuntimeServicesData contains data only
 | 
						|
// and it is EFI_MEMORY_XP.
 | 
						|
//
 | 
						|
typedef struct {
 | 
						|
  UINT32                Version;
 | 
						|
  UINT32                NumberOfEntries;
 | 
						|
  UINT32                DescriptorSize;
 | 
						|
  UINT32                Reserved;
 | 
						|
//EFI_MEMORY_DESCRIPTOR Entry[1];
 | 
						|
} EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE;
 | 
						|
 | 
						|
#define EDKII_PI_SMM_MEMORY_ATTRIBUTES_TABLE_VERSION  0x00000001
 | 
						|
 | 
						|
extern EFI_GUID gEdkiiPiSmmMemoryAttributesTableGuid;
 | 
						|
 | 
						|
#endif
 |