MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / aligned_alloc

Function aligned_alloc

src/memory/memory.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89extern "C" auto aligned_alloc(size_t alignment, size_t size) -> void* {
90 if (allocator) {
91 return allocator->aligned_alloc(alignment, size);
92 }
93 return nullptr;
94}
95
96extern "C" auto aligned_free(void* ptr) -> void {
97 if (allocator) {

Callers 10

VirtualMemoryMethod · 0.70
ClonePageDirectoryMethod · 0.70
FindPageTableEntryMethod · 0.70
IoBufferMethod · 0.50
CloneMethod · 0.50
LoadElfFunction · 0.50
TaskControlBlockMethod · 0.50
operator newFunction · 0.50
operator new[]Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected