return;\r
}\r
\r
+ if (PlatformInfoHob->HostBridgeDevId == CLOUDHV_DEVICE_ID) {\r
+ PlatformInfoHob->Uc32Size = CLOUDHV_MMIO_HOLE_SIZE;\r
+ PlatformInfoHob->Uc32Base = CLOUDHV_MMIO_HOLE_ADDRESS;\r
+ return;\r
+ }\r
+\r
+ PlatformGetSystemMemorySizeBelow4gb (PlatformInfoHob);\r
+\r
if (PlatformInfoHob->HostBridgeDevId == INTEL_Q35_MCH_DEVICE_ID) {\r
- PlatformGetSystemMemorySizeBelow4gb (PlatformInfoHob);\r
ASSERT (PcdGet64 (PcdPciExpressBaseAddress) <= MAX_UINT32);\r
ASSERT (PcdGet64 (PcdPciExpressBaseAddress) >= PlatformInfoHob->LowMemory);\r
\r
return;\r
}\r
\r
- if (PlatformInfoHob->HostBridgeDevId == CLOUDHV_DEVICE_ID) {\r
- PlatformInfoHob->Uc32Size = CLOUDHV_MMIO_HOLE_SIZE;\r
- PlatformInfoHob->Uc32Base = CLOUDHV_MMIO_HOLE_ADDRESS;\r
- return;\r
- }\r
-\r
ASSERT (PlatformInfoHob->HostBridgeDevId == INTEL_82441_DEVICE_ID);\r
//\r
// On i440fx, start with the [LowerMemorySize, 4GB) range. Make sure one\r
// variable MTRR suffices by truncating the size to a whole power of two,\r
// while keeping the end affixed to 4GB. This will round the base up.\r
//\r
- PlatformGetSystemMemorySizeBelow4gb (PlatformInfoHob);\r
PlatformInfoHob->Uc32Size = GetPowerOfTwo32 ((UINT32)(SIZE_4GB - PlatformInfoHob->LowMemory));\r
PlatformInfoHob->Uc32Base = (UINT32)(SIZE_4GB - PlatformInfoHob->Uc32Size);\r
//\r