Searched refs:ResourceHob (Results 1 – 3 of 3) sorted by relevance
207 IN EFI_HOB_RESOURCE_DESCRIPTOR *ResourceHob in PeiLoadFixAddressIsMemoryRangeAvailable() argument215 if (PrivateData == NULL || ResourceHob == NULL) { in PeiLoadFixAddressIsMemoryRangeAvailable()227 if(MemoryHob->AllocDescriptor.MemoryBaseAddress == ResourceHob->PhysicalStart && in PeiLoadFixAddressIsMemoryRangeAvailable()228 …aseAddress + MemoryHob->AllocDescriptor.MemoryLength == ResourceHob->PhysicalStart + ResourceHob->… in PeiLoadFixAddressIsMemoryRangeAvailable()259 EFI_HOB_RESOURCE_DESCRIPTOR *ResourceHob; in PeiLoadFixAddressHook() local270 ResourceHob = NULL; in PeiLoadFixAddressHook()301 ResourceHob = Hob.ResourceDescriptor; in PeiLoadFixAddressHook()305 if (ResourceHob->ResourceType != EFI_RESOURCE_SYSTEM_MEMORY || in PeiLoadFixAddressHook()306 ResourceHob->PhysicalStart + ResourceHob->ResourceLength > MAX_ADDRESS) { in PeiLoadFixAddressHook()325 …(((NextResourceHob->ResourceAttribute^ResourceHob->ResourceAttribute)&(~EFI_RESOURCE_ATTRIBUTE_TES… in PeiLoadFixAddressHook()[all …]
2058 EFI_HOB_RESOURCE_DESCRIPTOR *ResourceHob; in CoreInitializeMemoryServices() local2087 ResourceHob = NULL; in CoreInitializeMemoryServices()2139 ResourceHob = Hob.ResourceDescriptor; in CoreInitializeMemoryServices()2140 if (ResourceHob->ResourceType != EFI_RESOURCE_SYSTEM_MEMORY) { in CoreInitializeMemoryServices()2143 if ((ResourceHob->ResourceAttribute & MEMORY_ATTRIBUTE_MASK) != TESTED_MEMORY_ATTRIBUTES) { in CoreInitializeMemoryServices()2150 if (PhitHob->EfiFreeMemoryBottom < ResourceHob->PhysicalStart) { in CoreInitializeMemoryServices()2153 if (PhitHob->EfiFreeMemoryTop > (ResourceHob->PhysicalStart + ResourceHob->ResourceLength)) { in CoreInitializeMemoryServices()2160 PhitResourceHob = ResourceHob; in CoreInitializeMemoryServices()2168 …Length = PageAlignLength (ResourceHob->PhysicalStart + ResourceHob->ResourceLength - BaseAdd… in CoreInitializeMemoryServices()2181 BaseAddress = PageAlignAddress (ResourceHob->PhysicalStart); in CoreInitializeMemoryServices()[all …]
1678 EFI_HOB_RESOURCE_DESCRIPTOR *ResourceHob; in LegacyBiosBuildE820() local1835 ResourceHob = Hob.ResourceDescriptor; in LegacyBiosBuildE820()1836 if (((ResourceHob->ResourceType == EFI_RESOURCE_MEMORY_MAPPED_IO) || in LegacyBiosBuildE820()1837 (ResourceHob->ResourceType == EFI_RESOURCE_FIRMWARE_DEVICE) || in LegacyBiosBuildE820()1838 (ResourceHob->ResourceType == EFI_RESOURCE_MEMORY_RESERVED) ) && in LegacyBiosBuildE820()1839 (ResourceHob->PhysicalStart > 0x100000) && in LegacyBiosBuildE820()1842 E820Table[Index].BaseAddr = ResourceHob->PhysicalStart; in LegacyBiosBuildE820()1843 E820Table[Index].Length = ResourceHob->ResourceLength; in LegacyBiosBuildE820()