Initial commit - slab allocator, kmalloc, other re
factors
This commit is contained in:
parent
1dd7b8b07f
commit
4e40a040dd
39 changed files with 863 additions and 412 deletions
|
|
@ -15,4 +15,6 @@ typedef char link_symbol_ptr[];
|
|||
#define PAGE_ROUND_UP(size) ALIGN_UP(size, PAGE_SIZE)
|
||||
#define PAGE_ROUND_DOWN(size) ALIGN_DOWN(size, PAGE_SIZE)
|
||||
|
||||
#define SIZE_IN_PAGES(size) size/PAGE_SIZE
|
||||
|
||||
void *kmalloc(uint64_t size);
|
||||
Loading…
Add table
Add a link
Reference in a new issue