aboutsummaryrefslogtreecommitdiff
path: root/shared
AgeCommit message (Collapse)AuthorFilesLines
98 min.Extract utils module (bits/math/text/crc/format/address/path) and fix kernel ↵HEADmainBobby7-140/+20
entry stack misalignment
3 hoursImport overhaul: all relative imports replaced with module self-alias ↵Bobby19-38/+38
imports; boots verified
2026-07-12Standardize hikari/asm (dead code removed) and extract shared/boot (unified ↵Bobby10-0/+156
BootParams)
2026-07-12Standardize FAT32 (split constants, PascalCase fields, extract errors)Bobby20-409/+385
2026-07-12Standardize AFS logic and extract error sets to errors/ dirBobby21-380/+355
2026-07-12Standardize AFS constants and types (CAPS, PascalCase fields, submodule-only ↵Bobby11-273/+225
roots)
2026-07-12Standardize build/asm/common and restructure shared to depth-2Bobby48-109/+90
2026-07-12Sweep: extract crimson/render strings, move pure-constant files into ↵Bobby28-145/+11
constants/ subfolders, strip explanatory comments and multi-line headers tree-wide, zig fmt
2026-07-12Port fixes onto kernel structure: GDT TSS align(8), mirai/hikari layout ↵Bobby3-22/+22
constants agreement, PMM bitmap slice, AFS B-tree 8-byte key + offset table + align(1) reads, FAT32 ESP min-cluster, stack allocator + framebuffer drivers, serial panic handler
2026-07-12Make kernel structure compile: interrupts re-export root, restore kernel ↵Bobby1-2/+2
BootParams, wire common/shared modules, kagami activate, TSS align(4), fix union default and get_l4_address
2026-03-27Refactor and implement interrupt handling and PIT driverBobby1-3/+3
- Refactored CPU context structure for better readability. - Enhanced corpse and exception structures with clearer formatting. - Improved frame structure for consistency. - Added interrupt flag operations for enabling and disabling interrupts. - Implemented IDT (Interrupt Descriptor Table) operations including loading and setting gates. - Created PIC (Programmable Interrupt Controller) initialization and masking functions. - Developed PIT (Programmable Interval Timer) driver with initialization and handler functions. - Established common interrupt handler structure and exception handling stubs. - Added hardware IRQ handling for IRQs 0-15. - Introduced IDT entry and gate descriptor types for better organization. - Ensured proper handling of interrupt and exception vectors.
2026-03-25Add AFS and FAT32 filesystem implementationsBobby41-0/+2109
- Introduced AFS allocation operations with bitmap management in `allocate.zig`. - Implemented stack write operations for AFS in `stack.zig`, including record creation functions. - Added unit write operations for AFS in `unit.zig`, enabling data writing to spans. - Created a unified write interface for AFS in `write.zig` to streamline write operations. - Established FAT32 constants and types in `constants.zig` and `types.zig`, respectively. - Developed FAT32 filesystem structure in `fat32.zig`, including re-exports for common types. - Implemented cluster operations for FAT32 in `cluster.zig`, handling cluster validation and reading. - Added read operations for FAT32 in `read.zig`, integrating cluster and stack functionalities. - Created entry types for FAT32 in `entry.zig`, supporting standard and long identity entries. - Developed boot sector creation and initialization functions in `boot.zig` for FAT32. - Implemented entry creation functions in `entry.zig` for FAT32, supporting short and long names. - Introduced shared filesystem libraries in `fs.zig` and `shared.zig` for better modularity. - Added mkafsdisk AFS adapter in `toolchain/mkafsdisk/afs/afs.zig` for host file I/O operations.