16 lines
269 B
C
16 lines
269 B
C
#pragma once
|
|
#include "paging.h"
|
|
#include "stdarg.h"
|
|
|
|
struct slabDesc {
|
|
vaddr_t page;
|
|
size_t size;
|
|
void *freeEl;
|
|
char full;
|
|
struct slabDesc *next;
|
|
struct slabDesc *prev;
|
|
};
|
|
int initSlab(void);
|
|
|
|
void *malloc(size_t size);
|