Kernelite 0.1.0
Kernelite is a minimalist, educational operating system kernel built from scratch. The project aims to recreate core components of the Linux architecture to explore the fundamentals of operating system design and hardware-software interaction.
Loading...
Searching...
No Matches
Data Fields
page_permissions_t Struct Reference

Software representation of architectural page mapping privileges. More...

#include <page_table.h>

Data Fields

bool read: 1
 
bool write: 1
 
bool execute: 1
 
bool user_accessible: 1
 

Detailed Description

Software representation of architectural page mapping privileges.

This tracking structure is used by the Virtual Memory Manager (VMM) to translate abstract software permissions down into raw ARM64 hardware bitfield constraints.

Field Documentation

◆ execute

bool page_permissions_t::execute

[Bit 2] Execution clearance bit. 1 = Executable, 0 = Execute-Never (XN).

◆ read

bool page_permissions_t::read

[Bit 0] Read clearance bit. 1 = Read Allowed, 0 = No Read Access.

◆ user_accessible

bool page_permissions_t::user_accessible

[Bit 3] Privilege Level bit. 1 = EL0 (User), 0 = EL1 Only (Kernel).

◆ write

bool page_permissions_t::write

[Bit 1] Write clearance bit. 1 = Writable, 0 = Read-Only.


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