aboutsummaryrefslogtreecommitdiff
path: root/mirai/kata/shift.zig
AgeCommit message (Collapse)AuthorFilesLines
2026-02-24Bunch of stuff moved as .old for new arch changeBobby1-53/+0
2026-02-24commit for arch changeBobby1-4/+8
2026-02-23feat: Enhance Kata state management with new states and deferred cleanup for ↵Bobby1-0/+5
page tables
2026-02-15Refactor Kata Memory Management and SchedulerBobby1-63/+30
- 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 Multiboot Integration and Enhance Terminal FunctionalityBobby1-2/+2
- 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 I/O operations and update driver importsBobby1-1/+1
- Renamed I/O port functions for clarity: `write_port_byte` to `out_byte`, `read_port_byte` to `in_byte`, `write_port_word` to `out_word`, `read_port_word` to `in_word`, `write_port_long` to `out_long`, and `read_port_long` to `in_long`. - Updated import paths for serial, ahci, ata, gpt, keyboard, terminal, and other drivers to reflect new directory structure. - Replaced instances of `read_file_by_path` with `view_unit_at` in various files for consistency. - Added new utility functions for AHCI FIS setup and defined types for AHCI and PCI. - Introduced string copy utilities for handling strings from Kata pointers.
2026-02-13Refactor interrupt handling and syscall entryBobby1-84/+32
- Moved ISR and IRQ handler definitions to a new assembly file (isr.zig). - Simplified IDT setup by using ISR and IRQ handlers from isr.zig. - Replaced inline assembly for IRQ handlers with calls to new ISR functions. - Introduced a new context switching mechanism in context.zig for Kata execution. - Updated syscall entry handling in entry.zig to streamline context saving and restoring. - Removed redundant context structures and functions from shift.zig. - Improved clarity and organization of syscall and interrupt handling code.
2026-01-23feat: Integrate memory constants across modules for improved configuration ↵Bobby1-2/+0
management
2026-01-23refactor: Reorder and organize import statements across multiple files for ↵Bobby1-2/+2
improved readability
2026-01-23feat: Remove debug print statements across various modules to clean up outputBobby1-19/+0
2026-01-23feat: Remove debug print statements across various invocations and the schedulerBobby1-16/+1
2025-12-30feat: improve panic diagnostics, memory paging, and system task loadingBobby1-16/+57
2025-12-11updated interrupts, invocations, kata, and paging to switch to Layer 3Bobby1-62/+38
2025-12-09kata (processes) and sensei (scheduler) using CFS lite systemBobby1-0/+148