diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2024-11-24 13:18:31 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2024-11-24 13:18:31 +0000 |
| commit | 24805678884bcfcc3f14e88757955ab574d647cb (patch) | |
| tree | 171da85663730f607d99facbbd6bd2fcd0b8cc1b /arch/x86_64/src/memory | |
| parent | 55f32173e97fdcf4a45006b66cc4b20329a5c7af (diff) | |
| download | teachos-24805678884bcfcc3f14e88757955ab574d647cb.tar.xz teachos-24805678884bcfcc3f14e88757955ab574d647cb.zip | |
add doxygen comments to remapping
Diffstat (limited to 'arch/x86_64/src/memory')
| -rw-r--r-- | arch/x86_64/src/memory/heap/allocator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/src/memory/heap/allocator.cpp b/arch/x86_64/src/memory/heap/allocator.cpp index c9ddd78..bb61be4 100644 --- a/arch/x86_64/src/memory/heap/allocator.cpp +++ b/arch/x86_64/src/memory/heap/allocator.cpp @@ -17,10 +17,10 @@ namespace teachos::arch::memory::heap return reinterpret_cast<void *>(alloc_start); } - auto bump_allocator::deallocate(uint8_t * pointer, std::size_t size) -> void + auto bump_allocator::deallocate(uint8_t * pointer) -> void { - // Memory leak - if (pointer || size) + // Not implemented; leaking memory + if (pointer) { } } |
