Lines Matching refs:ResHob

79   EFI_HOB_RESOURCE_DESCRIPTOR *ResHob  in InsertSystemMemoryResources()  argument
91 NewResource->PhysicalStart = ResHob->PhysicalStart; in InsertSystemMemoryResources()
92 NewResource->ResourceLength = ResHob->ResourceLength; in InsertSystemMemoryResources()
105 …ASSERT (!((ResHob->PhysicalStart >= Resource->PhysicalStart) && (ResHob->PhysicalStart < (Resource… in InsertSystemMemoryResources()
106 ASSERT (!((ResHob->PhysicalStart + ResHob->ResourceLength - 1 >= Resource->PhysicalStart) && in InsertSystemMemoryResources()
107 …((ResHob->PhysicalStart + ResHob->ResourceLength - 1) < (Resource->PhysicalStart + Resource->Resou… in InsertSystemMemoryResources()
110 if (ResHob->PhysicalStart == Resource->PhysicalStart + Resource->ResourceLength) { in InsertSystemMemoryResources()
111 Resource->ResourceLength = Resource->ResourceLength + ResHob->ResourceLength; in InsertSystemMemoryResources()
118 else if (ResHob->PhysicalStart + ResHob->ResourceLength == Resource->PhysicalStart) { in InsertSystemMemoryResources()
119 Resource->PhysicalStart = ResHob->PhysicalStart; in InsertSystemMemoryResources()
120 Resource->ResourceLength = Resource->ResourceLength + ResHob->ResourceLength; in InsertSystemMemoryResources()
154 NewResource->PhysicalStart = ResHob->PhysicalStart; in InsertSystemMemoryResources()
155 NewResource->ResourceLength = ResHob->ResourceLength; in InsertSystemMemoryResources()
166 EFI_HOB_RESOURCE_DESCRIPTOR *ResHob; in GetSystemMemoryResources() local
171 ResHob = (EFI_HOB_RESOURCE_DESCRIPTOR *)GetFirstHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR); in GetSystemMemoryResources()
172 while ((ResHob != NULL) && (ResHob->ResourceType != EFI_RESOURCE_SYSTEM_MEMORY)) { in GetSystemMemoryResources()
173ResHob = (EFI_HOB_RESOURCE_DESCRIPTOR *)GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, (VOID *)((UI… in GetSystemMemoryResources()
177 if (ResHob == NULL) { in GetSystemMemoryResources()
180 InsertSystemMemoryResources (ResourceList, ResHob); in GetSystemMemoryResources()
183ResHob = (EFI_HOB_RESOURCE_DESCRIPTOR *)GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, (VOID *)((UI… in GetSystemMemoryResources()
184 while (ResHob != NULL) { in GetSystemMemoryResources()
185 if (ResHob->ResourceType == EFI_RESOURCE_SYSTEM_MEMORY) { in GetSystemMemoryResources()
186 InsertSystemMemoryResources (ResourceList, ResHob); in GetSystemMemoryResources()
188ResHob = (EFI_HOB_RESOURCE_DESCRIPTOR *)GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, (VOID *)((UI… in GetSystemMemoryResources()