Add support for PI1.2.1 TempRam Done PPI.
Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14847 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -28,6 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Ppi/LoadFile.h>
|
||||
#include <Ppi/Security2.h>
|
||||
#include <Ppi/TemporaryRamSupport.h>
|
||||
#include <Ppi/TemporaryRamDone.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/PeiCoreEntryPoint.h>
|
||||
#include <Library/BaseLib.h>
|
||||
@ -132,6 +133,14 @@ typedef struct {
|
||||
UINTN SectionIndex;
|
||||
} CACHE_SECTION_DATA;
|
||||
|
||||
#define HOLE_MAX_NUMBER 0x3
|
||||
typedef struct {
|
||||
EFI_PHYSICAL_ADDRESS Base;
|
||||
UINTN Size;
|
||||
UINTN Offset;
|
||||
BOOLEAN OffsetPositive;
|
||||
} HOLE_MEMORY_DATA;
|
||||
|
||||
///
|
||||
/// Forward declaration for PEI_CORE_INSTANCE
|
||||
///
|
||||
@ -225,6 +234,11 @@ struct _PEI_CORE_INSTANCE {
|
||||
// This field points to the shadowed image read function
|
||||
//
|
||||
PE_COFF_LOADER_READ_FILE ShadowedImageRead;
|
||||
//
|
||||
// Temp Memory Range is not covered by PeiTempMem and Stack.
|
||||
// Those Memory Range will be migrated into phisical memory.
|
||||
//
|
||||
HOLE_MEMORY_DATA HoleData[HOLE_MAX_NUMBER];
|
||||
};
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user