Karg
v0.2.0
The kernel of CargOS
|
#include <types.h>
Go to the source code of this file.
Macros | |
#define | VM_FLAG_READABLE 0x1 |
#define | VM_FLAG_WRITABLE 0x2 |
#define | VM_FLAG_EXECUTABLE 0x4 |
#define | VM_FLAG_USER 0x8 |
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 VM_FLAG_EXECUTABLE 0x4 |
#define VM_FLAG_READABLE 0x1 |
#define VM_FLAG_USER 0x8 |
#define VM_FLAG_WRITABLE 0x2 |
void* vm_create_page_table | ( | void | ) |