neobbo/include/mm/page.h

10 lines
No EOL
268 B
C

#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();