Lines Matching refs:PhysicalStart
91 NewResource->PhysicalStart = ResHob->PhysicalStart;
105 ASSERT (!((ResHob->PhysicalStart >= Resource->PhysicalStart) && (ResHob->PhysicalStart < (Resource->PhysicalStart + Resource->ResourceLength))));
106 ASSERT (!((ResHob->PhysicalStart + ResHob->ResourceLength - 1 >= Resource->PhysicalStart) &&
107 ((ResHob->PhysicalStart + ResHob->ResourceLength - 1) < (Resource->PhysicalStart + Resource->ResourceLength))));
110 if (ResHob->PhysicalStart == Resource->PhysicalStart + Resource->ResourceLength) {
118 else if (ResHob->PhysicalStart + ResHob->ResourceLength == Resource->PhysicalStart) {
119 Resource->PhysicalStart = ResHob->PhysicalStart;
141 ((NewResource->PhysicalStart >= Resource->PhysicalStart) && (NewResource->PhysicalStart < (Resource->PhysicalStart + Resource->ResourceLength))) ||
142 (((NewResource->PhysicalStart + NewResource->ResourceLength) >= Resource->PhysicalStart) && ((NewResource->PhysicalStart + NewResource->ResourceLength) < (Resource->PhysicalStart + Resource->ResourceLength)))
145 NewResourceEnd = MAX (NewResource->PhysicalStart + NewResource->ResourceLength, Resource->PhysicalStart + Resource->ResourceLength);
146 NewResource->PhysicalStart = MIN (NewResource->PhysicalStart, Resource->PhysicalStart);
147 NewResource->ResourceLength = NewResourceEnd - NewResource->PhysicalStart;
154 NewResource->PhysicalStart = ResHob->PhysicalStart;