#include <pagetable.h>
Inheritance diagram for Zygoma::ia32::PageBaseEntry:
Public Types | |
enum | Protection { kREAD_ONLY = 0, kREAD_WRITE = 1 } |
enum | Privilege { kSUPERVISOR_PRIVILEGE = 0, kUSER_PRIVILEGE = 1 } |
Public Member Functions | |
PageBaseEntry (void *baseAddress, Protection protection, Privilege privilege) | |
u32 | baseAddress () const |
void | setBaseAddress (void *baseAddress) |
void | setIsPresent (bool isPresent) |
void | setProtection (Protection protection) |
void | setPrivilege (Privilege privilege) |
bool | wasAccessed () const |
Static Public Member Functions | |
static u32 | addressToBase (void *address) |
Converts a 32-bit address into a 10-bit selector for use in a page table or page directory. | |
Protected Attributes | |
u32 | m_baseAddress: 20 |
u32 | m_avail: 3 |
u32 | m_isGlobal: 1 |
u32 | m_pageSize: 1 |
u32 | m_isDirty: 1 |
u32 | m_wasAccessed: 1 |
u32 | m_cacheDisabled: 1 |
u32 | m_writeThrough: 1 |
u32 | m_userMode: 1 |
u32 | m_readWrite: 1 |
u32 | m_isPresent: 1 |
|
|
|
|
|
|
|
Converts a 32-bit address into a 10-bit selector for use in a page table or page directory.
|
|
|
|
Here is the call graph for this function: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|