)\r
{\r
EFI_STATUS Status;\r
- UINT64 MemoryTop;\r
UINT64 LowUncableBase;\r
EFI_PLATFORM_INFO_HOB *PlatformInfo;\r
UINT32 HecBaseHigh;\r
\r
LowUncableBase = PlatformInfo->MemData.MemMaxTolm;\r
LowUncableBase &= (0x0FFF00000);\r
- MemoryTop = (0x100000000);\r
\r
if (BootMode != BOOT_ON_S3_RESUME) {\r
//\r
IN SYSTEM_CONFIGURATION *SystemConfiguration\r
)\r
{\r
- UINT8 LpcRevisionID;\r
- EFI_PLATFORM_CPU_INFO *PlatformCpuInfo;\r
- EFI_PEI_HOB_POINTERS Hob;\r
EFI_BOOT_MODE BootMode;\r
\r
- //\r
- // Get Platform Info HOB\r
- //\r
- Hob.Raw = GetFirstGuidHob (&gEfiPlatformCpuInfoGuid);\r
- ASSERT (Hob.Raw != NULL);\r
- PlatformCpuInfo = GET_GUID_HOB_DATA(Hob.Raw);\r
-\r
(*PeiServices)->GetBootMode(PeiServices, &BootMode);\r
\r
//\r
//\r
// Initial RCBA according to the PeiRCBA table\r
//\r
- LpcRevisionID = PchLpcPciCfg8 (R_PCH_LPC_RID_CC);\r
-\r
if ((BootMode == BOOT_ON_S3_RESUME)) {\r
//\r
// We are resuming from S3\r