mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-31 10:40:34 +00:00 
			
		
		
		
	 d21e5dbbbf
			
		
	
	
		d21e5dbbbf
		
	
	
	
	
		
			
			This is a special GUID extension Hob to describe SMRAM memory regions Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Ray Ni <ray.ni@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2020 Signed-off-by: Marc W Chen <marc.w.chen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   This is a special GUID extension Hob to describe SMRAM memory regions.
 | |
| 
 | |
|   This file defines:
 | |
|   * the GUID used to identify the GUID HOB for reserving SMRAM regions.
 | |
|   * the data structure of SMRAM descriptor to describe SMRAM candidate regions
 | |
|   * values of state of SMRAM candidate regions
 | |
|   * the GUID specific data structure of HOB for reserving SMRAM regions.
 | |
| 
 | |
|   Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
 | |
|   SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| 
 | |
|   @par Revision Reference:
 | |
|   GUIDs defined in PI SPEC version 1.5.
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef _SMRAM_MEMORY_RESERVE_H_
 | |
| #define _SMRAM_MEMORY_RESERVE_H_
 | |
| 
 | |
| #define EFI_SMM_SMRAM_MEMORY_GUID \
 | |
|   { \
 | |
|     0x6dadf1d1, 0xd4cc, 0x4910, {0xbb, 0x6e, 0x82, 0xb1, 0xfd, 0x80, 0xff, 0x3d } \
 | |
|   }
 | |
| 
 | |
| /**
 | |
| * The GUID extension hob is to describe SMRAM memory regions supported by the platform.
 | |
| **/
 | |
| typedef struct {
 | |
|   ///
 | |
|   /// Designates the number of possible regions in the system
 | |
|   /// that can be usable for SMRAM.
 | |
|   ///
 | |
|   UINT32                NumberOfSmmReservedRegions;
 | |
|   ///
 | |
|   /// Used throughout this protocol to describe the candidate
 | |
|   /// regions for SMRAM that are supported by this platform.
 | |
|   ///
 | |
|   EFI_SMRAM_DESCRIPTOR  Descriptor[1];
 | |
| } EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;
 | |
| 
 | |
| extern EFI_GUID gEfiSmmSmramMemoryGuid;
 | |
| 
 | |
| #endif
 | |
| 
 |