Searched defs:AlignedMemory (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Misc/
H A DDebugImageInfo.c44 UINTN AlignedMemory; local
97 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
98 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory);
106 Memory = (EFI_PHYSICAL_ADDRESS)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages));
119 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/
H A DMemoryAllocationLib.c181 UINTN AlignedMemory; local
209 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
210 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory);
218 Memory = (EFI_PHYSICAL_ADDRESS) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages));
235 AlignedMemory = (UINTN) Memory;
237 return (VOID *) AlignedMemory;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/
H A DMemoryAllocationLib.c272 UINTN AlignedMemory; local
300 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
301 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory);
309 Memory = (EFI_PHYSICAL_ADDRESS) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages));
326 AlignedMemory = (UINTN) Memory;
328 return (VOID *) AlignedMemory;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmMemoryAllocationLib/
H A DMemoryAllocationLib.c307 UINTN AlignedMemory; local
335 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
336 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory);
344 Memory = (EFI_PHYSICAL_ADDRESS) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages));
361 AlignedMemory = (UINTN) Memory;
363 return (VOID *) AlignedMemory;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiMemoryAllocationLib/
H A DMemoryAllocationLib.c181 UINTN AlignedMemory; local
209 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
210 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory);
218 Memory = (EFI_PHYSICAL_ADDRESS) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages));
235 AlignedMemory = (UINTN) Memory;
237 return (VOID *) AlignedMemory;

Completed in 75 milliseconds