Karg
v0.2.0
The kernel of CargOS
|
Classes | |
struct | pte_t |
Macros | |
#define | PTE_FLAG_V 0x01 |
#define | PTE_FLAG_R 0x02 |
#define | PTE_FLAG_W 0x04 |
#define | PTE_FLAG_X 0x08 |
#define | PTE_FLAG_U 0x10 |
#define | PTE_FLAG_G 0x20 |
#define | PTE_FLAG_A 0x40 |
#define | PTE_FLAG_D 0x80 |
Functions | |
void * | vm_create_page_table (void) |
i32 | vm_map_page (void *page_table, usize virt, void *phys, u32 flags) |
i32 | vm_virt_to_phys (void *page_table, usize virt, usize *phys) |
#define PTE_FLAG_A 0x40 |
#define PTE_FLAG_D 0x80 |
#define PTE_FLAG_G 0x20 |
#define PTE_FLAG_R 0x02 |
#define PTE_FLAG_U 0x10 |
#define PTE_FLAG_V 0x01 |
#define PTE_FLAG_W 0x04 |
#define PTE_FLAG_X 0x08 |
void* vm_create_page_table | ( | void | ) |