blob: 0bf37153ad5bce1dd4254b82aabd20b3b4b43483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef _PAGE_H_
#define _PAGE_H_
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
void *kmalloc(size_t size);
void *kmalloc_a(size_t size, size_t alignment);
void kfree(void *ptr);
void print_blocks(void);
void memory_map(uintptr_t addr, size_t size);
bool paging_init(void);
#endif
|