diff options
author | Anton Kling <anton@kling.gg> | 2023-11-13 16:09:45 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-13 16:09:45 +0100 |
commit | 01c13017bf595935022d31eaaa0349bb60233fee (patch) | |
tree | 1139983aaee80cb76270ffa18f13cc1c6a47e087 /kernel/kmalloc.h | |
parent | 761f57a1b167abeda40c5cc0fce801a4230f2400 (diff) |
Kernel: Remove kmalloc_eternal
I would like to be able to free some of those objects but I have not
decided upon how that will be done yet. Even if not freeded the added
complexity of having two functions does not make the extra bytes saved
worth it IMO.
Diffstat (limited to 'kernel/kmalloc.h')
-rw-r--r-- | kernel/kmalloc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/kmalloc.h b/kernel/kmalloc.h index 6509cb0..94806f3 100644 --- a/kernel/kmalloc.h +++ b/kernel/kmalloc.h @@ -6,11 +6,6 @@ void kmalloc_allocate_heap(void); -void *kmalloc_eternal(size_t size); -void *kmalloc_eternal_align(size_t size); -void *kmalloc_eternal_physical(size_t size, void **physical); -void *kmalloc_eternal_physical_align(size_t size, void **physical); - void *kmalloc(size_t s); void *kmalloc_align(size_t s); void *krealloc(void *ptr, size_t size); |