|
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.
|
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 |
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.
| bool page_permissions_t::execute |
[Bit 2] Execution clearance bit. 1 = Executable, 0 = Execute-Never (XN).
| bool page_permissions_t::read |
[Bit 0] Read clearance bit. 1 = Read Allowed, 0 = No Read Access.
| bool page_permissions_t::user_accessible |
[Bit 3] Privilege Level bit. 1 = EL0 (User), 0 = EL1 Only (Kernel).
| bool page_permissions_t::write |
[Bit 1] Write clearance bit. 1 = Writable, 0 = Read-Only.