aboutsummaryrefslogtreecommitdiff
path: root/mirai/system
AgeCommit message (Collapse)AuthorFilesLines
2026-02-20feat: Remove deprecated system constants and limits modulesBobby3-401/+0
2026-02-13Refactor and enhance filesystem navigation and communication between KatasBobby1-0/+3
- Updated `mi.zig` to default target path to an empty string. - Improved context switching in `context.zig` by restoring registers from the context struct. - Enhanced `loader.zig` to inherit current location from the parent Kata. - Simplified `getkeychar.zig` by removing unnecessary serial import and error handling. - Added new invocations: `getlocation.zig` for retrieving current stack location and `postman.zig` for letter passing between Katas. - Introduced `setlocation.zig` to change current stack location with path resolution. - Created `nav.zig` for navigating the filesystem with commands to print current location or change it. - Added `nav.zon` for binary metadata. - Updated `limits.zig` to define maximum letter length. - Enhanced `ash.zig` to process navigation letters and improved command execution flow. - Updated syscall interface in `sys.zig` to handle variable arguments for invocations.
2026-01-27feat: Dynamically calculate kernel end address using linker symbolBobby1-3/+19
2026-01-27Refactor memory management and system constantsBobby3-0/+382
- 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.