aboutsummaryrefslogtreecommitdiff
path: root/mirai/memory
AgeCommit message (Collapse)AuthorFilesLines
2026-03-30refactor: reorganize kernel structure and implement memory management zonesHEADmainBobby9-0/+466
2026-02-24Bunch of stuff moved as .old for new arch changeBobby3-859/+0
2026-02-24commit for arch changeBobby2-5/+155
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-20feat: Implement CMOS/RTC and CPUID operations, add PIT driver, and enhance ↵Bobby1-0/+12
AFS with disk info retrieval
2026-02-15refactor: Modularize memory management constants and improve structureBobby3-256/+116
2026-02-15Refactor Multiboot Integration and Enhance Terminal FunctionalityBobby1-1/+1
- 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 importsBobby2-2/+2
- 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-01-29refactor: Standardize memory import naming and replace inline memory access ↵Bobby2-18/+6
with function calls
2026-01-28refactor: Replace inline assembly with CPU and I/O functions across multiple ↵Bobby3-13/+8
modules
2026-01-27feat: Dynamically calculate kernel end address using linker symbolBobby1-3/+0
2026-01-27Refactor memory management and system constantsBobby4-52/+17
- 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 ↵Bobby3-19/+140
management
2026-01-23feat: Add centralized memory constants for layout and stack configurationBobby1-0/+18
2026-01-23refactor: Reorder and organize import statements across multiple files for ↵Bobby2-2/+2
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-28implement heap allocator and `alloc()` and `free()`Bobby1-0/+294
2025-11-28impl page table manager and physical memory manager for kernel; main is back ↵Bobby2-0/+256
to serial only