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
mair_reg_t Struct Reference

MAIR_EL1 register — 8 independent attribute slots. More...

Collaboration diagram for mair_reg_t:
Collaboration graph
[legend]

Data Fields

union { 
 
   uint64_t   value 
 
   mair_attr_t   attr [8] 
 
};  
 

Detailed Description

MAIR_EL1 register — 8 independent attribute slots.

AttrIndx[2:0] in a leaf page/block descriptor selects which slot applies to that mapping (see mem_type_t for this kernel's slot assignments).

Field Documentation

◆ attr

mair_attr_t mair_reg_t::attr[8]

Per-slot attribute view (attr[0] = bits[7:0]).

◆ value

uint64_t mair_reg_t::value

Raw 64-bit register value for MRS/MSR.


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