|
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.
|
Single MAIR attribute slot (one byte). More...

Data Fields | ||
| union { | ||
| uint8_t value | ||
| mair_device_attr_t device | ||
| mair_normal_attr_t normal | ||
| }; | ||
Single MAIR attribute slot (one byte).
Overlays a raw byte with typed views for Device or Normal memory. Which union member is active is determined by the upper nibble: device.res0_7_4 == 0b0000 → Device memory. Otherwise → Normal memory.
| mair_device_attr_t mair_attr_t::device |
Device memory attribute layout.
| mair_normal_attr_t mair_attr_t::normal |
Normal memory attribute layout.
| uint8_t mair_attr_t::value |
Raw attribute byte.