/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 176 UINTN AlignmentMask; in InternalAllocateAlignedPages() local 195 AlignmentMask = Alignment; in InternalAllocateAlignedPages() 197 AlignmentMask = Alignment - 1; in InternalAllocateAlignedPages() 199 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in InternalAllocateAlignedPages() 677 UINTN AlignmentMask; in InternalAllocateAlignedPool() local 685 AlignmentMask = Alignment; in InternalAllocateAlignedPool() 687 AlignmentMask = Alignment - 1; in InternalAllocateAlignedPool() 696 AlignedAddress = ((UINTN) RawAddress + AlignmentMask) & ~AlignmentMask; in InternalAllocateAlignedPool() 726 UINTN AlignmentMask; in AllocateAlignedPool() local 734 AlignmentMask = Alignment; in AllocateAlignedPool() [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 106 UINTN AlignmentMask; in AllocateAlignedPages() local 125 AlignmentMask = Alignment; in AllocateAlignedPages() 127 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 129 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 258 UINTN AlignmentMask; in IoMmuAllocateAlignedBuffer() local 266 AlignmentMask = Alignment - 1; in IoMmuAllocateAlignedBuffer() 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 348 *HostAddress = (VOID *)(((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask); in IoMmuAllocateAlignedBuffer() 349 *DeviceAddress = ((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 258 UINTN AlignmentMask; in IoMmuAllocateAlignedBuffer() local 266 AlignmentMask = Alignment - 1; in IoMmuAllocateAlignedBuffer() 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 348 *HostAddress = (VOID *)(((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask); in IoMmuAllocateAlignedBuffer() 349 *DeviceAddress = ((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 258 UINTN AlignmentMask; in IoMmuAllocateAlignedBuffer() local 266 AlignmentMask = Alignment - 1; in IoMmuAllocateAlignedBuffer() 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 348 *HostAddress = (VOID *)(((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask); in IoMmuAllocateAlignedBuffer() 349 *DeviceAddress = ((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 258 UINTN AlignmentMask; in IoMmuAllocateAlignedBuffer() local 266 AlignmentMask = Alignment - 1; in IoMmuAllocateAlignedBuffer() 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 348 *HostAddress = (VOID *)(((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask); in IoMmuAllocateAlignedBuffer() 349 *DeviceAddress = ((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 258 UINTN AlignmentMask; in IoMmuAllocateAlignedBuffer() local 266 AlignmentMask = Alignment - 1; in IoMmuAllocateAlignedBuffer() 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 348 *HostAddress = (VOID *)(((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask); in IoMmuAllocateAlignedBuffer() 349 *DeviceAddress = ((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 258 UINTN AlignmentMask; in IoMmuAllocateAlignedBuffer() local 266 AlignmentMask = Alignment - 1; in IoMmuAllocateAlignedBuffer() 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 348 *HostAddress = (VOID *)(((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask); in IoMmuAllocateAlignedBuffer() 349 *DeviceAddress = ((UINTN) HostPhyAddress + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/UefiPayloadPkg/UefiPayloadEntry/ |
H A D | MemoryAllocation.c | 110 UINTN AlignmentMask; in AllocateAlignedPages() local 132 AlignmentMask = Alignment; in AllocateAlignedPages() 134 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 137 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; in AllocateAlignedPages() local 120 AlignmentMask = Alignment; in AllocateAlignedPages() 122 AlignmentMask = Alignment - 1; in AllocateAlignedPages() 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in AllocateAlignedPages()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/EmbeddedPkg/Library/PrePiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 101 UINTN AlignmentMask; 120 AlignmentMask = Alignment; 122 AlignmentMask = Alignment - 1; 124 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in LoadDxeCoreFromFfsFile()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/UefiPayloadPkg/UefiPayloadEntry/ |
H A D | MemoryAllocation.c | 110 UINTN AlignmentMask; in runOnMachineFunction() 132 AlignmentMask = Alignment; in runOnMachineFunction() 134 AlignmentMask = Alignment - 1; in runOnMachineFunction() 137 return (VOID *) (UINTN) (((UINTN) Memory + AlignmentMask) & ~AlignmentMask); in runOnMachineFunction()
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 181 UINTN AlignmentMask; in InternalAllocateAlignedPages() local 197 AlignmentMask = Alignment - 1; in InternalAllocateAlignedPages() 208 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in InternalAllocateAlignedPages() 697 UINTN AlignmentMask; in InternalAllocateAlignedPool() local 708 AlignmentMask = Alignment; in InternalAllocateAlignedPool() 710 AlignmentMask = Alignment - 1; in InternalAllocateAlignedPool() 715 OverAllocationSize = sizeof (RawAddress) + AlignmentMask; in InternalAllocateAlignedPool() 726 AlignedAddress = ((UINTN) RawAddress + OverAllocationSize) & ~AlignmentMask; in InternalAllocateAlignedPool()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 39 UINTN AlignmentMask; in CoreInitializeDebugImageInfoTable() local 49 AlignmentMask = SIZE_4MB - 1; in CoreInitializeDebugImageInfoTable() 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 39 UINTN AlignmentMask; in CoreInitializeDebugImageInfoTable() local 49 AlignmentMask = SIZE_4MB - 1; in CoreInitializeDebugImageInfoTable() 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 39 UINTN AlignmentMask; in CoreInitializeDebugImageInfoTable() local 49 AlignmentMask = SIZE_4MB - 1; in CoreInitializeDebugImageInfoTable() 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 39 UINTN AlignmentMask; in CoreInitializeDebugImageInfoTable() local 49 AlignmentMask = SIZE_4MB - 1; in CoreInitializeDebugImageInfoTable() 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 39 UINTN AlignmentMask; in CoreInitializeDebugImageInfoTable() local 49 AlignmentMask = SIZE_4MB - 1; in CoreInitializeDebugImageInfoTable() 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable()
|