aboutsummaryrefslogtreecommitdiff
path: root/mirai/memory/paging.zig
AgeCommit message (Collapse)AuthorFilesLines
2026-02-24Bunch of stuff moved as .old for new arch changeBobby1-415/+0
2026-02-24commit for arch changeBobby1-0/+107
2026-02-23refactor: Simplify memory cleanup logic in Kata managementBobby1-22/+1
2026-02-23feat: Implement memory cleanup for dissolved Katas and enhance page table ↵Bobby1-0/+82
destruction logic
2026-02-15refactor: Modularize memory management constants and improve structureBobby1-66/+48
2026-01-29refactor: Standardize memory import naming and replace inline memory access ↵Bobby1-12/+4
with function calls
2026-01-28refactor: Replace inline assembly with CPU and I/O functions across multiple ↵Bobby1-8/+4
modules
2026-01-27Refactor memory management and system constantsBobby1-28/+8
- Moved memory-related constants from `constants.zig` to `system/constants.zig` for better organization. - Introduced `system/limits.zig` to centralize system-wide limits and constants. - Updated various modules to use the new `system` module for accessing constants and limits. - Added validation functions for user pointers and memory ranges in `system/limits.zig`. - Enhanced file handling in `afs.zig` with a new function to get file size by path. - Improved error handling and validation in various invocations and memory management functions. - Marked the end of the kernel in the linker script for memory management.
2026-01-23feat: Integrate memory constants across modules for improved configuration ↵Bobby1-14/+76
management
2026-01-23refactor: Reorder and organize import statements across multiple files for ↵Bobby1-1/+1
improved readability
2026-01-23feat: Remove debug print statements across various modules to clean up outputBobby1-6/+1
2026-01-22feat: Implement keyboard input handling and shell functionalityBobby1-0/+40
- Added framebuffer initialization and retrieval functions in multiboot2.zig. - Integrated framebuffer support into the boot sequence. - Refactored keyboard driver to use a circular buffer for input and added blocking behavior for kata waiting on keyboard input. - Enhanced kata management to support blocking and waking katas based on keyboard input. - Introduced a new invocation for reading a character from the keyboard (getkeychar). - Implemented a simple shell (ash) that reads user input and echoes it back. - Updated syscall handling to include the new getkeychar invocation. - Improved memory management for loading programs and handling user/kernel stacks. - Added functionality to wake katas waiting for specific events, such as the dissolution of other katas.
2025-12-30feat: extend page table creation to map MMIO region for framebuffer and AHCIBobby1-1/+7
2025-12-30feat: improve panic diagnostics, memory paging, and system task loadingBobby1-65/+57
2025-12-11updated interrupts, invocations, kata, and paging to switch to Layer 3Bobby1-2/+111
2025-11-28impl page table manager and physical memory manager for kernel; main is back ↵Bobby1-0/+93
to serial only