1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#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_print_memory(); 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(); #endif