UnnamedOS
page_directory_entry_t Struct Reference

An entry in a page directory. More...

#include <vmm.h>

Data Fields

uint8_t pr: 1
 whether this page table is present in virtual memory
 
uint8_t rw: 1
 whether these pages should be writable
 
uint8_t user: 1
 whether user space may access these pages
 
uint8_t wt: 1
 enables write-through (1) or write-back (0))
 
uint8_t cache: 1
 enables (0) or disables (1) caching for these pages
 
uint8_t ac: 1
 whether some of these pages have been accessed
 
uint8_t __pad0__: 1
 reserved
 
uint8_t sz: 1
 page size (0=4KiB, 1=4MiB)
 
uint8_t __pad1__: 4
 ignored / available
 
uint32_t pt: 20
 where this page table is located (4KiB aligned!)
 

Detailed Description

An entry in a page directory.

This describes a page table.

Definition at line 25 of file vmm.h.


The documentation for this struct was generated from the following file: