[EHL] WA for POSC issue

Rearrange SBL Global Data Structure for POSC
issue workaround. This is due to the POSC accessing
SBL Global Data and it get corrupted when SBL rearrange
or restructure the data structure.

Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
This commit is contained in:
Ong Kok Tong
2021-12-16 12:16:20 +08:00
committed by Maurice Ma
parent 4a9390c3f8
commit 9cd53b65fd

View File

@@ -158,7 +158,6 @@ typedef struct {
UINT32 Signature;
UINT16 PlatformId;
UINT16 PlatformBomId;
UINT32 SocSku;
UINT8 BootMode;
UINT8 LoaderStage;
UINT8 CurrentBootPartition;
@@ -168,11 +167,11 @@ typedef struct {
UINT32 MemPoolStart;
UINT32 MemPoolCurrTop;
UINT32 MemPoolCurrBottom;
UINT32 MemUsableTop;
UINT32 PayloadId;
UINT32 DebugPrintErrorLevel;
UINT8 DebugPortIdx;
UINT8 Padding[3];
UINT64 MemoryInfo[EnumMemInfoMax];
VOID *FspHobList;
VOID *LdrHobList;
VOID *FlashMapPtr;
@@ -195,6 +194,8 @@ typedef struct {
UINT32 CarBase;
UINT32 CarSize;
UINT32 MemPoolMaxUsed;
UINT64 MemoryInfo[EnumMemInfoMax];
UINT32 SocSku;
} LOADER_GLOBAL_DATA;
/**