Fix slab allocator
This commit is contained in:
parent
3b08a6ce99
commit
0db98c358e
8 changed files with 185 additions and 314 deletions
|
|
@ -27,6 +27,8 @@ typedef char link_symbol_ptr[];
|
|||
|
||||
#define SIZE_IN_PAGES(size) size/PAGE_SIZE
|
||||
|
||||
#define UNLIKELY(c) (__builtin_expect(c, 0))
|
||||
|
||||
struct kernel_info *get_kinfo();
|
||||
void initialize_kinfo();
|
||||
void kkill(void); // phase this out in favor of assert
|
||||
Loading…
Add table
Add a link
Reference in a new issue