/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/MdePkg/Library/PeiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 211 EFI_PHYSICAL_ADDRESS AlignedMemory; in InternalAllocateAlignedPages() local 252 AlignedMemory = Memory; in InternalAllocateAlignedPages() 254 AlignedMemory = ALIGN_VALUE (Memory, Alignment); in InternalAllocateAlignedPages() 256 …After aligning to 0x%X bytes: Address = 0x%LX, Pages = 0x%X \n", Alignment, AlignedMemory, Pages)); in InternalAllocateAlignedPages() 272 if (Memory == AlignedMemory) { in InternalAllocateAlignedPages() 275 if ((Memory + EFI_PAGES_TO_SIZE(TotalPages)) == (AlignedMemory + EFI_PAGES_TO_SIZE(Pages))) { in InternalAllocateAlignedPages() 307 HobLength = (AlignedMemory - Memory); in InternalAllocateAlignedPages() 322 HobBaseAddress = AlignedMemory; in InternalAllocateAlignedPages() 346 HobBaseAddress = AlignedMemory + EFI_PAGES_TO_SIZE(Pages); in InternalAllocateAlignedPages() 347 … HobLength = (Memory + EFI_PAGES_TO_SIZE(TotalPages)) - (AlignedMemory + EFI_PAGES_TO_SIZE(Pages)); in InternalAllocateAlignedPages() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/include/ |
H A D | OgreAlignedAllocator.h | 62 class _OgreExport AlignedMemory 114 return static_cast<T*>(AlignedMemory::allocate(n * sizeof(T), Alignment)); in allocate() 117 return static_cast<T*>(AlignedMemory::allocate(n * sizeof(T), Alignment)); in allocate() 121 AlignedMemory::deallocate(p); in deallocate()
|
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/ |
H A D | OgreAlignedAllocator.cpp | 58 void* AlignedMemory::allocate(size_t size, size_t alignment) in allocate() 71 void* AlignedMemory::allocate(size_t size) in allocate() 76 void AlignedMemory::deallocate(void* p) in deallocate()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/ |
H A D | OgreAlignedAllocator.cpp | 53 void* AlignedMemory::allocate(size_t size, size_t alignment) in allocate() 66 void* AlignedMemory::allocate(size_t size) in allocate() 71 void AlignedMemory::deallocate(void* p) in deallocate()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 44 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 97 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 98 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 106 Memory = (EFI_PHYSICAL_ADDRESS)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in CoreInitializeDebugImageInfoTable() 119 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory);
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdeModulePkg/Core/Dxe/Misc/ |
H A D | DebugImageInfo.c | 38 UINTN AlignedMemory; in CoreInitializeDebugImageInfoTable() local 91 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in CoreInitializeDebugImageInfoTable() 92 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN)Memory); in CoreInitializeDebugImageInfoTable() 100 Memory = AlignedMemory + EFI_PAGES_TO_SIZE (Pages); in CoreInitializeDebugImageInfoTable() 113 mDebugTable = (EFI_SYSTEM_TABLE_POINTER *)(AlignedMemory); in CoreInitializeDebugImageInfoTable()
|
/dports/math/tmv/tmv-0.75/include/tmv/ |
H A D | TMV_Array.h | 71 class AlignedMemory 74 inline AlignedMemory() : p(0) {} in AlignedMemory() function 87 inline void swapWith(AlignedMemory<T>& rhs) in swapWith() 102 class AlignedMemory<float> 105 AlignedMemory() : mem(0), p(0) {} in AlignedMemory() function 121 inline void swapWith(AlignedMemory<float>& rhs) in swapWith() 140 class AlignedMemory<double> 143 AlignedMemory() : mem(0), p(0) {} in AlignedMemory() function 159 inline void swapWith(AlignedMemory<double>& rhs) in swapWith() 270 AlignedMemory<T> p; [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/include/ |
H A D | OgreMemoryStdAlloc.h | 122 void* ptr = Alignment ? AlignedMemory::allocate(count, Alignment) 123 : AlignedMemory::allocate(count); 136 AlignedMemory::deallocate(ptr); in deallocateBytes()
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/ArmPkg/Library/DebugUncachedMemoryAllocationLib/ |
H A D | DebugUncachedMemoryAllocationLib.c | 212 EFI_PHYSICAL_ADDRESS AlignedMemory; in UncachedInternalAllocateAlignedPages() local 240 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in UncachedInternalAllocateAlignedPages() 241 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in UncachedInternalAllocateAlignedPages() 249 Memory = (EFI_PHYSICAL_ADDRESS) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in UncachedInternalAllocateAlignedPages() 266 AlignedMemory = (UINTN) Memory; in UncachedInternalAllocateAlignedPages() 269 …Status = gVirtualUncachedPages->ConvertPages (gVirtualUncachedPages, AlignedMemory, Pages * EFI_PA… in UncachedInternalAllocateAlignedPages() 274 …AlignedMemory = (EFI_PHYSICAL_ADDRESS)(UINTN)ConvertToUncachedAddress ((VOID *)(UINTN)AlignedMemor… in UncachedInternalAllocateAlignedPages() 276 return (VOID *)(UINTN)AlignedMemory; in UncachedInternalAllocateAlignedPages()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 257 UINTN AlignedMemory; in IoMmuAllocateAlignedBuffer() local 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 291 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in IoMmuAllocateAlignedBuffer() 304 Memory = (VOID *)(UINTN)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in IoMmuAllocateAlignedBuffer() 318 *HostAddress = (VOID *) AlignedMemory; in IoMmuAllocateAlignedBuffer()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 257 UINTN AlignedMemory; in IoMmuAllocateAlignedBuffer() local 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 291 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in IoMmuAllocateAlignedBuffer() 304 Memory = (VOID *)(UINTN)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in IoMmuAllocateAlignedBuffer() 318 *HostAddress = (VOID *) AlignedMemory; in IoMmuAllocateAlignedBuffer()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 257 UINTN AlignedMemory; in IoMmuAllocateAlignedBuffer() local 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 291 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in IoMmuAllocateAlignedBuffer() 304 Memory = (VOID *)(UINTN)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in IoMmuAllocateAlignedBuffer() 318 *HostAddress = (VOID *) AlignedMemory; in IoMmuAllocateAlignedBuffer()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 257 UINTN AlignedMemory; in IoMmuAllocateAlignedBuffer() local 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 291 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in IoMmuAllocateAlignedBuffer() 304 Memory = (VOID *)(UINTN)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in IoMmuAllocateAlignedBuffer() 318 *HostAddress = (VOID *) AlignedMemory; in IoMmuAllocateAlignedBuffer()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 257 UINTN AlignedMemory; in IoMmuAllocateAlignedBuffer() local 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 291 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in IoMmuAllocateAlignedBuffer() 304 Memory = (VOID *)(UINTN)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in IoMmuAllocateAlignedBuffer() 318 *HostAddress = (VOID *) AlignedMemory; in IoMmuAllocateAlignedBuffer()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/MdeModulePkg/Bus/Pci/XhciPei/ |
H A D | DmaMem.c | 257 UINTN AlignedMemory; in IoMmuAllocateAlignedBuffer() local 290 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in IoMmuAllocateAlignedBuffer() 291 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in IoMmuAllocateAlignedBuffer() 304 Memory = (VOID *)(UINTN)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in IoMmuAllocateAlignedBuffer() 318 *HostAddress = (VOID *) AlignedMemory; in IoMmuAllocateAlignedBuffer()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/ |
H A D | MemoryAllocationLib.c | 185 UINTN AlignedMemory; in InternalAllocateAlignedPages() local 213 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask; in InternalAllocateAlignedPages() 214 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in InternalAllocateAlignedPages() 221 Memory = (VOID *) (AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in InternalAllocateAlignedPages() 237 AlignedMemory = (UINTN) Memory; in InternalAllocateAlignedPages() 239 return (VOID *) AlignedMemory; in InternalAllocateAlignedPages()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/ |
H A D | StandaloneMmMemoryAllocationLib.c | 175 UINTN AlignedMemory; in InternalAllocateAlignedPages() local 203 AlignedMemory = ((UINTN)Memory + AlignmentMask) & ~AlignmentMask; in InternalAllocateAlignedPages() 204 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory); in InternalAllocateAlignedPages() 212 Memory = (EFI_PHYSICAL_ADDRESS)(AlignedMemory + EFI_PAGES_TO_SIZE (Pages)); in InternalAllocateAlignedPages() 229 AlignedMemory = (UINTN) Memory; in InternalAllocateAlignedPages() 231 return (VOID *) AlignedMemory; in InternalAllocateAlignedPages()
|