Searched refs:UnalignedPages (Results 1 - 5 of 5) sorted by relevance
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 46 UINTN UnalignedPages; local 98 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); 99 if (UnalignedPages > 0) { 103 Status = CoreFreePages (Memory, UnalignedPages); 107 UnalignedPages = RealPages - Pages - UnalignedPages; 108 if (UnalignedPages > 0) { 112 Status = CoreFreePages (Memory, UnalignedPages);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 183 UINTN UnalignedPages; local 210 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); 211 if (UnalignedPages > 0) { 215 Status = CoreFreePages (Memory, UnalignedPages); 219 UnalignedPages = RealPages - Pages - UnalignedPages; 220 if (UnalignedPages > 0) { 224 Status = CoreFreePages (Memory, UnalignedPages);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 274 UINTN UnalignedPages; local 301 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); 302 if (UnalignedPages > 0) { 306 Status = SmmFreePages (Memory, UnalignedPages); 310 UnalignedPages = RealPages - Pages - UnalignedPages; 311 if (UnalignedPages > 0) { 315 Status = SmmFreePages (Memory, UnalignedPages);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 309 UINTN UnalignedPages; local 336 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); 337 if (UnalignedPages > 0) { 341 Status = gSmst->SmmFreePages (Memory, UnalignedPages); 345 UnalignedPages = RealPages - Pages - UnalignedPages; 346 if (UnalignedPages > 0) { 350 Status = gSmst->SmmFreePages (Memory, UnalignedPages);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 183 UINTN UnalignedPages; local 210 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); 211 if (UnalignedPages > 0) { 215 Status = gBS->FreePages (Memory, UnalignedPages); 219 UnalignedPages = RealPages - Pages - UnalignedPages; 220 if (UnalignedPages > 0) { 224 Status = gBS->FreePages (Memory, UnalignedPages);
|
Completed in 1722 milliseconds