aboutsummaryrefslogtreecommitdiff
path: root/mirai/memory/pmm.zig
AgeCommit message (Collapse)AuthorFilesLines
2026-02-24Bunch of stuff moved as .old for new arch changeBobby1-229/+0
2026-02-24commit for arch changeBobby1-5/+48
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 structureBobby1-85/+43
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 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-01-29refactor: Standardize memory import naming and replace inline memory access ↵Bobby1-6/+2
with function calls
2026-01-28refactor: Replace inline assembly with CPU and I/O functions across multiple ↵Bobby1-4/+3
modules
2026-01-27feat: Dynamically calculate kernel end address using linker symbolBobby1-3/+0
2026-01-27Refactor memory management and system constantsBobby1-3/+6
- 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-3/+61
management
2025-11-28impl page table manager and physical memory manager for kernel; main is back ↵Bobby1-0/+163
to serial only