- Modular Architecture: Refactored
kernelintobackend/{macos,linux}. - Graphics System:
- Host: Added
minifbwindow (640x480). - Memory: Mapped 4MB RAM, Framebuffer at
0x100000. - Guest: Added
draw_pixeltoaether-user. - Demo:
hello_worlddraws a gradient.
- Host: Added
- Linux Support:
- Added
backend/linux.rsscaffolding for KVM support (ready for implementation).
- Added
- The Kernel launches, creates the VM, and opens the Graphics Window.
- The Guest executes fully (Run Loop active).
- Fixed "Black Screen" (Translation Fault): The
0x20Translation Fault was caused by 16KB vs 64KB page alignment mismatches in Stage 2 mapping. - Solution:
- Increased Host Memory Allocation alignment to 64KB (
0x10000). - Mapped memory as a single contiguous
RWXblock to match hardware block sizes. - This successfully eliminated the Stage 2 fault.
- Increased Host Memory Allocation alignment to 64KB (
- Implement
backend/linux.rslogic usingkvm-ioctlscrate. - Add
HyperCall::PollInputfor Keyboard/Mouse.