Add mmu table builder functions (mmu.h)

This commit is contained in:
TuxSH 2018-02-20 23:44:10 +01:00
parent 9baab1aebc
commit 5681622f65
2 changed files with 159 additions and 0 deletions

View file

@ -4,6 +4,9 @@
#include <stdint.h>
#include <stddef.h>
#define BIT(x) (1u << (x))
#define BITL(x) (1ull << (x))
void panic(void);
uint32_t get_physical_address(void *vaddr);