summaryrefslogtreecommitdiff
path: root/src/include/paging.h
blob: 5d33ca542d6d39d6c05a45c6ba6633e00266edae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _PAGE_H_
#define _PAGE_H_ 

#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>



void unmap_lowmem();
size_t map_complete_physical();
void debug_pzone();


struct phys_map *init_pmap(size_t pagetable_size);
void *palloc(size_t size); 
void pfree(void *addr, size_t size);
void debug_pmap();
void get_mem_capabilities();
void ram_stresser();
void fix_stack();


#endif