An entry in a page table. More...
#include <vmm.h>
Data Fields | |
uint8_t | pr: 1 |
whether this page is present in virtual memory | |
uint8_t | rw: 1 |
whether this page should be writable | |
uint8_t | user: 1 |
whether user space may access this page | |
uint8_t | wt: 1 |
enables write-through (1) or write-back (0)) | |
uint8_t | cache: 1 |
enables (0) or disables (1) caching for this page | |
uint8_t | ac: 1 |
whether this page has been accessed | |
uint8_t | dirty: 1 |
whether this page has been written to | |
uint8_t | __pad0__: 1 |
reserved | |
uint8_t | gl: 1 |
marks this page as global (the TLB will not flush it) | |
uint8_t | __pad1__: 3 |
reserved | |
uint32_t | page: 20 |
where this page is located (4KiB aligned!) | |