Initial commit
This commit is contained in:
commit
ef80f65fbf
136 changed files with 13728 additions and 0 deletions
10
include/mm/page.h
Normal file
10
include/mm/page.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "slab.h"
|
||||
|
||||
typedef struct page {
|
||||
struct ma_bufctl *bufctls; // The bufctls associated with the slab stored on this page. NULL if page isn't associated with a slab
|
||||
struct ma_slab *slab;
|
||||
}page;
|
||||
|
||||
struct page *get_page(void *addr);
|
||||
|
||||
void init_page_array();
|
||||
Loading…
Add table
Add a link
Reference in a new issue