diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-24 15:19:29 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-24 15:19:29 +0000 |
| commit | eada7bbb150fd81e6fbf71b1df28c8dc19393cfa (patch) | |
| tree | 2abba80305b51b30ab22b4b7a0abe8b2403e2517 /arch/x86_64/src/memory/heap | |
| parent | 82cfe7fe12626a3bdf1bdf9efcbc7911051ebddf (diff) | |
| download | teachos-eada7bbb150fd81e6fbf71b1df28c8dc19393cfa.tar.xz teachos-eada7bbb150fd81e6fbf71b1df28c8dc19393cfa.zip | |
Adjust bump allocator comment
Diffstat (limited to 'arch/x86_64/src/memory/heap')
| -rw-r--r-- | arch/x86_64/src/memory/heap/bump_allocator.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/heap/bump_allocator.cpp b/arch/x86_64/src/memory/heap/bump_allocator.cpp index 486ece8..1ab8ea9 100644 --- a/arch/x86_64/src/memory/heap/bump_allocator.cpp +++ b/arch/x86_64/src/memory/heap/bump_allocator.cpp @@ -6,8 +6,6 @@ namespace teachos::arch::memory::heap { auto bump_allocator::allocate(std::size_t size) -> void * { - // Uses some sort of alignment orignally: - // https://github.com/phil-opp/blog_os/blob/7f6576c9dc34e360b81236c54c25c7827fd6a2df/src/memory/heap_allocator.rs#L24 auto alloc_start = next; auto alloc_end = next + size; |
