Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::memory::PageTableEntry Struct Reference

Struct for a page table entry. More...

#include <physical.h>

Public Attributes

bool present: 1
 *copydoc PageFlags::PRESENT
 
bool write: 1
 *copydoc PageFlags::WRITE
 
bool user: 1
 *copydoc PageFlags::USER
 
bool write_through: 1
 *copydoc PageFlags::WRITE_THROUGH
 
bool cache_disabled: 1
 *copydoc PageFlags::CACHE_DISABLED
 
bool accessed: 1
 *copydoc PageFlags::ACCESSED
 
bool dirty: 1
 *copydoc PageFlags::DIRTY
 
bool huge_page: 1
 *copydoc PageFlags::HUGE_PAGE
 
bool global: 1
 *copydoc PageFlags::GLOBAL
 
uint8_t available: 3
 Extra metadata bytes available for OS use.
 
uint64_t physical_address: 52
 The address the page represents in memory.
 

Detailed Description

Struct for a page table entry.

Definition at line 62 of file physical.h.

Member Data Documentation

◆ accessed

bool MaxOS::memory::PageTableEntry::accessed

*copydoc PageFlags::ACCESSED

Definition at line 69 of file physical.h.

◆ available

uint8_t MaxOS::memory::PageTableEntry::available

Extra metadata bytes available for OS use.

Definition at line 73 of file physical.h.

◆ cache_disabled

bool MaxOS::memory::PageTableEntry::cache_disabled

*copydoc PageFlags::CACHE_DISABLED

Definition at line 68 of file physical.h.

◆ dirty

bool MaxOS::memory::PageTableEntry::dirty

*copydoc PageFlags::DIRTY

Definition at line 70 of file physical.h.

◆ global

bool MaxOS::memory::PageTableEntry::global

*copydoc PageFlags::GLOBAL

Definition at line 72 of file physical.h.

◆ huge_page

bool MaxOS::memory::PageTableEntry::huge_page

*copydoc PageFlags::HUGE_PAGE

Definition at line 71 of file physical.h.

◆ physical_address

uint64_t MaxOS::memory::PageTableEntry::physical_address

The address the page represents in memory.

Definition at line 74 of file physical.h.

◆ present

bool MaxOS::memory::PageTableEntry::present

*copydoc PageFlags::PRESENT

Definition at line 64 of file physical.h.

◆ user

bool MaxOS::memory::PageTableEntry::user

*copydoc PageFlags::USER

Definition at line 66 of file physical.h.

◆ write

bool MaxOS::memory::PageTableEntry::write

*copydoc PageFlags::WRITE

Definition at line 65 of file physical.h.

◆ write_through

bool MaxOS::memory::PageTableEntry::write_through

*copydoc PageFlags::WRITE_THROUGH

Definition at line 67 of file physical.h.


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