Home
last modified time | relevance | path

Searched refs:MemMapSize (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DEfiDevice.c565 UINTN MemMapSize; in EblMemMapCmd() local
580 MemMapSize = 0; in EblMemMapCmd()
582 Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion); in EblMemMapCmd()
585 MemMapSize += (DescriptorSize * 0x100); in EblMemMapCmd()
586 OrigMemMap = MemMap = AllocatePool (MemMapSize); in EblMemMapCmd()
589 … Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion); in EblMemMapCmd()
591 for (Index = 0, CurrentRow = 0; Index < MemMapSize/DescriptorSize; Index++) { in EblMemMapCmd()
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/
DBdsPlatform.c94 UINTN MemMapSize;
101 MemMapSize = 0;
103 Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion);
105 MemMapSize += EFI_PAGE_SIZE;
106 Status = gBS->AllocatePool (EfiBootServicesData, MemMapSize, &MemMap);
108 Status = gBS->GetMemoryMap (&MemMapSize, MemMap, &MapKey, &DescriptorSize, &DescriptorVersion);
114 for (Index = 0; Index < MemMapSize / DescriptorSize; Index ++) {