aboutsummaryrefslogtreecommitdiff
path: root/mirai/common/limits
AgeCommit message (Collapse)AuthorFilesLines
2026-02-24Bunch of stuff moved as .old for new arch changeBobby13-94/+0
2026-02-23fix: dynamic attachments in kataBobby2-2/+2
2026-02-23fix: Update MAX_LOCATION_LENGTH to 128 and adjust limits for Katas and ↵Bobby2-11/+8
Attachments
2026-02-20fix: Correct KERNEL_MAP_END value and update MAX_LOCATION_LENGTH documentationBobby1-3/+3
2026-02-20feat: Refactor path handling to use location utilities and update related ↵Bobby5-28/+15
structures - Replaced path references with location in various modules for consistency. - Updated attachment management to use location instead of path. - Enhanced I/O operations to handle location parameters. - Removed deprecated path utilities and integrated location utilities. - Adjusted limits and parameters for kata and attachment management.
2026-02-15Refactor Kata Memory Management and SchedulerBobby1-0/+3
- Updated memory management in `memory.zig` to improve virtual buffer allocation and deallocation. - Removed `sensei.zig` and refactored scheduling logic into new files: `queue.zig`, `sensei.zig`, and `waker.zig`. - Introduced `attachment.zig` for managing attachments with new constants and limits. - Created `pool.zig` for managing the Kata pool, including creation and dissolution of Katas. - Enhanced `types.zig` to define new structures and enums for Katas and their states. - Improved context switching in `shift.zig` to streamline Kata execution state management. - Updated file references and imports across the codebase to reflect new structure.
2026-02-15Refactor Crimson Panic Handler and Exception ManagementBobby1-0/+6
- Renamed panic.zig to crimson.zig for clarity and restructured panic handling functions. - Moved exception handling logic from exceptions.zig to a new exception.zig file. - Updated imports across the codebase to reflect the new file structure. - Introduced a new types.zig file to define Context and ExceptionFrame structures. - Added formatting utilities in format.zig for better register and stack frame representation. - Implemented screen rendering functions in render.zig for displaying error messages and system state during panic. - Consolidated color definitions in colors.zig and added new constants for better readability. - Removed obsolete exception handling code and integrated it into the new structure.
2026-02-15Refactor Multiboot Integration and Enhance Terminal FunctionalityBobby2-0/+13
- Updated multiboot imports to use the new directory structure. - Refactored font handling to utilize new PSF constants and terminal limits. - Improved terminal implementation by integrating ASCII and color constants. - Introduced a new GDT implementation with proper segment definitions. - Added framebuffer and memory parsing for multiboot protocol. - Enhanced boot sequence with structured message handling and error reporting. - Established constants for terminal dimensions and boot limits. - Created a dedicated TSS implementation for task management.
2026-02-15refactor: Update stack entry structure and improve type handling in integer ↵Bobby1-0/+1
utilities
2026-02-15refactor: Simplify comments and remove redundant descriptions in constants filesBobby3-45/+4
2026-02-15Add drivers and constants for ATA, AHCI, PCI, Keyboard, Serial, and VGABobby5-0/+26
- Introduced ATA constants and limits for commands, status registers, and device signatures. - Added keyboard constants and limits for scancodes and buffer size. - Implemented PCI configuration constants and limits for device enumeration. - Created I/O port constants for serial communication and keyboard interaction. - Developed AHCI driver for SATA devices, including port operations and command handling. - Implemented ATA PIO block device driver for reading sectors. - Added PS/2 keyboard driver with scancode handling and input buffering. - Created serial port driver for outputting data and formatted printing. - Developed VGA text mode driver for character display and screen management.
2026-02-15feat: Add various invocations for file system and I/O operationsBobby4-0/+102
- Implemented `viewstack` invocation to list contents of a stack. - Created `attach` invocation for opening attachments with device and unit handling. - Added `getkeychar` invocation to read a single character from the keyboard. - Developed `mark` invocation to write to attachments with color support. - Introduced `seal` invocation to close attachments. - Implemented `view` invocation to read from attachments. - Added `wipe` invocation to clear the terminal screen. - Created `exit` invocation to dissolve a Kata and seal attachments. - Implemented `postman` invocation for letter passing between parent and child Katas. - Added `spawn` invocation to create new Katas from executables. - Implemented `wait` invocation to wait for child Katas to dissolve. - Added `yield` invocation to voluntarily give up CPU time to Sensei. - Introduced utility functions for location resolution and path handling. - Added memory copy and slice utilities for efficient data manipulation. - Implemented random number generation utilities. - Added string comparison utilities for easier string handling. - Introduced integer and pointer conversion utilities for type safety. - Implemented result handling utilities for invocation results.