Home
last modified time | relevance | path

Searched refs:MemMap (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DEfiDevice.c563 EFI_MEMORY_DESCRIPTOR *MemMap; in EblMemMapCmd() local
581 MemMap = NULL; in EblMemMapCmd()
582 Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion); in EblMemMapCmd()
586 OrigMemMap = MemMap = AllocatePool (MemMapSize); in EblMemMapCmd()
589 … Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion); in EblMemMapCmd()
592 EntrySize = LShiftU64 (MemMap->NumberOfPages, 12); in EblMemMapCmd()
593 …, gMemMapType[MemMap->Type % EfiMaxMemoryType], MemMap->PhysicalStart, MemMap->PhysicalStart + Ent… in EblMemMapCmd()
598 PageCount[MemMap->Type % EfiMaxMemoryType] += MemMap->NumberOfPages; in EblMemMapCmd()
599 MemMap = NEXT_MEMORY_DESCRIPTOR (MemMap, DescriptorSize); in EblMemMapCmd()
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/
DBdsPlatform.c92 EFI_MEMORY_DESCRIPTOR *MemMap;
102 MemMap = NULL;
103 Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion);
106 Status = gBS->AllocatePool (EfiBootServicesData, MemMapSize, &MemMap);
108 Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion);
110 MemMapPtr = MemMap;
115 Bytes = LShiftU64 (MemMap->NumberOfPages, 12);
117 MemMap->PhysicalStart,
118 MemMap->PhysicalStart + Bytes - 1,
119 MemMap->NumberOfPages,
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiDevicePath.h486 MEMMAP_DEVICE_PATH MemMap; member
534 MEMMAP_DEVICE_PATH *MemMap; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDevicePath.h1205 MEMMAP_DEVICE_PATH MemMap; member
1261 MEMMAP_DEVICE_PATH *MemMap; member
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DUefiShellDebug1CommandsLib.inf29 MemMap.c
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DDevicePathToText.c137 MEMMAP_DEVICE_PATH *MemMap; in DevPathToTextMemMap() local
139 MemMap = DevPath; in DevPathToTextMemMap()
143 MemMap->MemoryType, in DevPathToTextMemMap()
144 MemMap->StartingAddress, in DevPathToTextMemMap()
145 MemMap->EndingAddress in DevPathToTextMemMap()
DDevicePathFromText.c687 MEMMAP_DEVICE_PATH *MemMap; in DevPathFromTextMemoryMapped() local
692 MemMap = (MEMMAP_DEVICE_PATH *) CreateDeviceNode ( in DevPathFromTextMemoryMapped()
698 MemMap->MemoryType = (UINT32) Strtoi (MemoryTypeStr); in DevPathFromTextMemoryMapped()
699 Strtoi64 (StartingAddressStr, &MemMap->StartingAddress); in DevPathFromTextMemoryMapped()
700 Strtoi64 (EndingAddressStr, &MemMap->EndingAddress); in DevPathFromTextMemoryMapped()
702 return (EFI_DEVICE_PATH_PROTOCOL *) MemMap; in DevPathFromTextMemoryMapped()