/device/linaro/bootloader/edk2/ArmPkg/Application/LinuxLoader/ |
LinuxLoaderHelper.c | 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)))); [all...] |
LinuxLoader.c | 201 if (Resource->PhysicalStart < SystemMemoryBase) {
202 SystemMemoryBase = Resource->PhysicalStart;
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
Support.c | 49 Temp = DivU64x32 ((BaseAddress - Desc[Index].PhysicalStart), EFI_PAGE_SIZE) + NoPages;
51 if ((Desc[Index].PhysicalStart < BaseAddress) && (Desc[Index].NumberOfPages >= Temp)) {
54 Desc[*NoDesc].PhysicalStart = BaseAddress + MultU64x32 (NoPages, EFI_PAGE_SIZE);
63 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages == NoPages)) {
69 if ((Desc[Index].PhysicalStart == BaseAddress) && (Desc[Index].NumberOfPages > NoPages)) {
71 Desc[Index].PhysicalStart += MultU64x32 (NoPages, EFI_PAGE_SIZE);
81 Desc[*NoDesc].PhysicalStart = BaseAddress;
108 if (EfiMemoryDescriptor[Index].PhysicalStart + LShiftU64(EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT) <= 0x100000) {
113 if (EfiMemoryDescriptor[Index].PhysicalStart > MaxPhysicalStart) {
114 if (EfiMemoryDescriptor[Index].PhysicalStart + LShiftU64(EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT) <= 0x100000000ULL) { [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/MemoryInitPei/ |
MemoryInitPeiLib.c | 105 (PcdGet64 (PcdSystemMemoryBase) >= NextHob.ResourceDescriptor->PhysicalStart) &&
106 (NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength <= PcdGet64 (PcdSystemMemoryBase) + PcdGet64 (PcdSystemMemorySize)))
140 (PcdGet64 (PcdFdBaseAddress) >= NextHob.ResourceDescriptor->PhysicalStart) &&
141 (FdTop <= NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength))
145 ResourceTop = NextHob.ResourceDescriptor->PhysicalStart + ResourceLength;
147 if (PcdGet64 (PcdFdBaseAddress) == NextHob.ResourceDescriptor->PhysicalStart) {
158 NextHob.ResourceDescriptor->PhysicalStart += PcdGet32(PcdFdSize);
169 NextHob.ResourceDescriptor->ResourceLength = PcdGet64 (PcdFdBaseAddress) - NextHob.ResourceDescriptor->PhysicalStart;
172 if (FdTop < NextHob.ResourceDescriptor->PhysicalStart + ResourceLength) {
|
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/ |
HobGeneration.c | 68 0, // PhysicalStart
132 0x0, // PhysicalStart
152 0x0, // PhysicalStart
171 0x0, // PhysicalStart
209 0x0, // PhysicalStart
412 0, // PhysicalStart (Fixed later)
489 0, // PhysicalStart (Fixed later)
621 gHob->MemoryFreeUnder1MB.PhysicalStart = EFI_MEMORY_BELOW_1MB_START;
627 gHob->MemoryAbove1MB.PhysicalStart = 0;
629 gHob->MemoryAbove4GB.PhysicalStart = 0; [all...] |
DxeInit.c | 66 MemoryAbove1MB.PhysicalStart <-----------------------------------------------------+
98 MemoryFreeAbove4G.Physicalstart <--------------------------------------------------+
240 gHob->BfvResource.PhysicalStart, gHob->BfvResource.ResourceLength,
241 gHob->NvStorageFvResource.PhysicalStart, gHob->NvStorageFvResource.ResourceLength,
243 gHob->NvFtwFvResource.PhysicalStart, gHob->NvFtwFvResource.ResourceLength,
248 gHob->MemoryFreeUnder1MB.PhysicalStart, gHob->MemoryFreeUnder1MB.ResourceLength,
249 gHob->MemoryAbove1MB.PhysicalStart, gHob->MemoryAbove1MB.ResourceLength,
250 gHob->MemoryAbove4GB.PhysicalStart, gHob->MemoryAbove4GB.ResourceLength,
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
MemMap.c | 173 ShellPrintHiiEx(-1, -1, NULL, (EFI_STRING_ID)(!Sfo?STRING_TOKEN (STR_MEMMAP_LIST_ITEM):STRING_TOKEN (STR_MEMMAP_LIST_ITEM_SFO)), gShellDebug1HiiHandle, NameEfiReservedMemoryType, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+MultU64x64(SIZE_4KB,((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages)-1, ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages, ((EFI_MEMORY_DESCRIPTOR*)Walker)->Attribute);
177 ShellPrintHiiEx(-1, -1, NULL, (EFI_STRING_ID)(!Sfo?STRING_TOKEN (STR_MEMMAP_LIST_ITEM):STRING_TOKEN (STR_MEMMAP_LIST_ITEM_SFO)), gShellDebug1HiiHandle, NameEfiLoaderCode, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+MultU64x64(SIZE_4KB,((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages)-1, ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages, ((EFI_MEMORY_DESCRIPTOR*)Walker)->Attribute);
182 ShellPrintHiiEx(-1, -1, NULL, (EFI_STRING_ID)(!Sfo?STRING_TOKEN (STR_MEMMAP_LIST_ITEM):STRING_TOKEN (STR_MEMMAP_LIST_ITEM_SFO)), gShellDebug1HiiHandle, NameEfiLoaderData, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+MultU64x64(SIZE_4KB,((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages)-1, ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages, ((EFI_MEMORY_DESCRIPTOR*)Walker)->Attribute);
187 ShellPrintHiiEx(-1, -1, NULL, (EFI_STRING_ID)(!Sfo?STRING_TOKEN (STR_MEMMAP_LIST_ITEM):STRING_TOKEN (STR_MEMMAP_LIST_ITEM_SFO)), gShellDebug1HiiHandle, !Sfo?NameEfiBootServicesCodeShort:NameEfiBootServicesCode, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+MultU64x64(SIZE_4KB,((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages)-1, ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages, ((EFI_MEMORY_DESCRIPTOR*)Walker)->Attribute);
192 ShellPrintHiiEx(-1, -1, NULL, (EFI_STRING_ID)(!Sfo?STRING_TOKEN (STR_MEMMAP_LIST_ITEM):STRING_TOKEN (STR_MEMMAP_LIST_ITEM_SFO)), gShellDebug1HiiHandle, !Sfo?NameEfiBootServicesDataShort:NameEfiBootServicesData, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart, ((EFI_MEMORY_DESCRIPTOR*)Walker)->PhysicalStart+MultU64x64(SIZE_4KB,((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages)-1, ((EFI_MEMORY_DESCRIPTOR*)W (…) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dispatcher/ |
Dispatcher.c | 227 if(MemoryHob->AllocDescriptor.MemoryBaseAddress == ResourceHob->PhysicalStart &&
228 MemoryHob->AllocDescriptor.MemoryBaseAddress + MemoryHob->AllocDescriptor.MemoryLength == ResourceHob->PhysicalStart + ResourceHob->ResourceLength) {
306 ResourceHob->PhysicalStart + ResourceHob->ResourceLength > MAX_ADDRESS) {
330 if ((ResourceHob->PhysicalStart <= NextResourceHob->PhysicalStart &&
331 ResourceHob->PhysicalStart + ResourceHob->ResourceLength >= NextResourceHob->PhysicalStart)||
332 (ResourceHob->PhysicalStart >= NextResourceHob->PhysicalStart&&
333 ResourceHob->PhysicalStart <= NextResourceHob->PhysicalStart + NextResourceHob->ResourceLength)) { [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
PropertiesTable.c | 151 Sort memory map entries based upon PhysicalStart, from low to high.
176 if (MemoryMapEntry->PhysicalStart > NextMemoryMapEntry->PhysicalStart) {
228 ((MemoryMapEntry->PhysicalStart + MemoryBlockLength) == NextMemoryMapEntry->PhysicalStart)) {
357 PhysicalEnd = TempRecord.PhysicalStart + EfiPagesToSize(TempRecord.NumberOfPages);
373 if (TempRecord.PhysicalStart <= ImageRecordCodeSection->CodeSegmentBase) {
378 NewRecord->PhysicalStart = TempRecord.PhysicalStart;
380 NewRecord->NumberOfPages = EfiSizeToPages(ImageRecordCodeSection->CodeSegmentBase - NewRecord->PhysicalStart);
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/ |
MemoryCallback.c | 82 if (Hob.ResourceDescriptor->PhysicalStart >= 0x100000 &&
83 Hob.ResourceDescriptor->PhysicalStart < (EFI_PHYSICAL_ADDRESS) 0x100000000) {
85 } else if (Hob.ResourceDescriptor->PhysicalStart >= (EFI_PHYSICAL_ADDRESS) 0x100000000) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/SmramMemoryReserve/ |
SmramMemoryReserve.h | 37 EFI_PHYSICAL_ADDRESS PhysicalStart; // Phsyical location in DRAM
39 // May or may not match PhysicalStart
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PropertiesTableAttributesDxe/ |
PropertiesTableAttributesDxe.c | 68 if (MemoryMapEntry->PhysicalStart < BASE_1MB) {
88 MemoryMapEntry->PhysicalStart,
89 MemoryMapEntry->PhysicalStart + EfiPagesToSize (MemoryMapEntry->NumberOfPages),
93 MemoryMapEntry->PhysicalStart,
|
/device/linaro/bootloader/edk2/OvmfPkg/SmmAccess/ |
SmramInternal.c | 161 SmramMap[DescIdxSmmS3ResumeState].PhysicalStart = TsegMemoryBase;
177 SmramMap[DescIdxMain].PhysicalStart =
178 SmramMap[DescIdxSmmS3ResumeState].PhysicalStart +
180 SmramMap[DescIdxMain].CpuStart = SmramMap[DescIdxMain].PhysicalStart;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/ |
FspHobProcessLibVlv2.c | 196 DEBUG((DEBUG_INFO, "PhysicalStart: 0x%x\n", Hob.ResourceDescriptor->PhysicalStart));
202 && (Hob.ResourceDescriptor->PhysicalStart >= BASE_1MB)
203 && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)) {
210 && (Hob.ResourceDescriptor->PhysicalStart >= BASE_1MB)
211 && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)
214 FspMemoryBase = Hob.ResourceDescriptor->PhysicalStart;
220 && (Hob.ResourceDescriptor->PhysicalStart >= 0x100000)
221 && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= 0x100000000)
224 TsegBase = Hob.ResourceDescriptor->PhysicalStart;
[all...] |
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/ |
FspHobProcessLibSample.c | 187 DEBUG((DEBUG_INFO, "PhysicalStart: 0x%x\n", Hob.ResourceDescriptor->PhysicalStart));
193 && (Hob.ResourceDescriptor->PhysicalStart >= BASE_1MB)
194 && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)) {
201 && (Hob.ResourceDescriptor->PhysicalStart >= BASE_1MB)
202 && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)
205 FspMemoryBase = Hob.ResourceDescriptor->PhysicalStart;
216 Hob.ResourceDescriptor->PhysicalStart,
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Library/HiKeyLib/ |
HiKeyMem.c | 117 (HiKeyReservedMemoryBuffer[Index].Offset >= NextHob.ResourceDescriptor->PhysicalStart) && 119 NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength)) 123 ResourceTop = NextHob.ResourceDescriptor->PhysicalStart + ResourceLength; 132 NextHob.ResourceDescriptor->ResourceLength = HiKeyReservedMemoryBuffer[Index].Offset - NextHob.ResourceDescriptor->PhysicalStart;
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Library/ |
ArmPlatformLib.h | 39 EFI_PHYSICAL_ADDRESS PhysicalStart;
|
/device/linaro/bootloader/edk2/EmulatorPkg/PlatformSmbiosDxe/ |
PlatformSmbiosDxe.c | 68 gSmbiosType19Template.ExtendedStartingAddress = HobPtr.ResourceDescriptor->PhysicalStart; 70 HobPtr.ResourceDescriptor->PhysicalStart +
|
/device/linaro/bootloader/edk2/ArmPkg/Application/LinuxLoader/Arm/ |
LinuxAtag.c | 154 (UINT32)Resource->PhysicalStart,
155 (UINT32)Resource->PhysicalStart + (UINT32)Resource->ResourceLength));
156 SetupMemTag ((UINT32)Resource->PhysicalStart, (UINT32)Resource->ResourceLength );
|
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspPlatformLib/ |
FspPlatformMemory.c | 58 if (Hob.ResourceDescriptor->PhysicalStart >= BASE_1MB &&
59 Hob.ResourceDescriptor->PhysicalStart < (EFI_PHYSICAL_ADDRESS) BASE_4GB) {
61 } else if (Hob.ResourceDescriptor->PhysicalStart >= (EFI_PHYSICAL_ADDRESS) BASE_4GB) {
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiHobLibFramework/ |
HobLib.c | 318 @param PhysicalStart The 64 bit physical address of memory described by this HOB.
328 IN EFI_PHYSICAL_ADDRESS PhysicalStart,
342 Hob->PhysicalStart = PhysicalStart;
359 @param PhysicalStart The 64 bit physical address of memory described by this HOB.
368 IN EFI_PHYSICAL_ADDRESS PhysicalStart,
381 Hob->PhysicalStart = PhysicalStart;
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiHobLib/ |
HobLib.c | 314 @param PhysicalStart The 64 bit physical address of memory described by this HOB.
324 IN EFI_PHYSICAL_ADDRESS PhysicalStart,
338 Hob->PhysicalStart = PhysicalStart;
355 @param PhysicalStart The 64 bit physical address of memory described by this HOB.
364 IN EFI_PHYSICAL_ADDRESS PhysicalStart,
377 Hob->PhysicalStart = PhysicalStart;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
PiMultiPhase.h | 117 EFI_PHYSICAL_ADDRESS PhysicalStart;
120 /// processors. This address may or may not match PhysicalStart.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
PiSmmIpl.c | [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiHobLib/ |
Hob.c | 153 @param PhysicalStart The 64 bit physical address of memory described by this HOB.
162 IN EFI_PHYSICAL_ADDRESS PhysicalStart,
173 Hob->PhysicalStart = PhysicalStart;
221 IN EFI_PHYSICAL_ADDRESS PhysicalStart,
229 BuildFvHob (PhysicalStart, NumberOfBytes);
240 BuildResourceDescriptorHob (EFI_RESOURCE_FIRMWARE_DEVICE, Resource, PhysicalStart, NumberOfBytes);
|