KernOS
virtualmemory.h File Reference
#include <common.h>
#include <utilities.h>
Include dependency graph for virtualmemory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 INIT
 contains all kernel initialization routines
 
 VM
 Virtual memory namespace.
 
 VM::PDA
 Page directory access (lower 12 bits of page directory entry)
 
 VM::PTA
 Page table access (lower 12 bits of page table entry)
 

Enumerations

enum  : uint16_t {
  VM::PDA::P = 0, VM::PDA::R = 1, VM::PDA::U = 2, VM::PDA::W = 3,
  VM::PDA::D = 4, VM::PDA::A = 5, VM::PDA::S = 7
}
 
enum  : uint16_t {
  VM::PTA::P = 0, VM::PTA::R = 1, VM::PTA::U = 2, VM::PTA::W = 3,
  VM::PTA::C = 4, VM::PTA::A = 5, VM::PTA::D = 6, VM::PTA::G = 8
}
 

Functions

void INIT::PAGE ()
 set up page directory, page table, and turn on paging More...