aboutsummaryrefslogtreecommitdiff
path: root/mirai
AgeCommit message (Collapse)AuthorFilesLines
11 hoursDrop auxiliary verbs from all messages and use the real copyright sign in ↵Bobby3-5/+5
the splash footer
11 hoursRender the splash with real TrueType text: outline-based graphics text and ↵Bobby1-8/+10
console, Sarasa wordmark, vignette panel; PSF path and hand-drawn geometry removed
12 hoursAdd Akiba boot splash: shared graphics and splash modules, clean user-facing ↵Bobby17-156/+145
messages, trail continues into Mirai without clearing the screen
14 hoursExtract utils module (bits/math/text/crc/format/address/path) and fix kernel ↵Bobby30-278/+120
entry stack misalignment
14 hoursImport overhaul: all relative imports replaced with module self-alias ↵Bobby128-328/+328
imports; boots verified
15 hoursConverge: full build green after standardization; zig fmt; boots to Akiba is ↵Bobby1-1/+1
ready
15 hoursStandardize mirai/kernel (entry to depth-2, shared.boot BootParams, ↵Bobby7-194/+80
duplicate boot.zig removed) + mirai.zig root
15 hoursStandardize mirai/boot (flatten to depth-2, Phase to types, CAPS constants, ↵Bobby60-916/+826
shared.boot conversion, new subsystem APIs)
15 hoursStandardize mirai/crimson (enums to types, strings extracted, dispatch into ↵Bobby92-1676/+1729
entry, PascalCase/camelCase, asm API updated)
15 hoursFix truncate result type in interrupts setupBobby1-1/+1
15 hoursStandardize mirai/interrupts (idt.zig to setup/, comptime stub tables, PIC ↵Bobby23-372/+327
constants via common, camelCase)
15 hoursStandardize mirai/drivers (camelCase, CAPS constants, serial format ↵Bobby22-189/+184
extracted, VECTOR_OFFSET to common)
15 hoursStandardize mirai/memory (zone+stack flattened to depth-2, errors dedup to ↵Bobby31-591/+561
common AllocationError, kalloc sizes extracted)
15 hoursStandardize mirai/kagami (index extractors recreated, depth-2 state, ↵Bobby23-492/+462
camelCase, asm API updated, stale allocate removed)
16 hoursStandardize mirai/pmm (depth-2 state, camelCase, PascalCase fields, CAPS via ↵Bobby19-299/+280
common, statistics into state)
2026-07-12Reorg: consolidate special dirs to module level across ↵Bobby88-64/+107
boot/drivers/memory/crimson (constants/types/strings hold per-subsystem subfolders; subfolders are logic-only)
2026-07-12Reorg: bubble interrupts/pic constants up to interrupts/constants/pic ↵Bobby8-4/+8
(special dirs at module level, subsystem subfolders inside)
2026-07-12Reorg: capitalize all string constants (UPPER_CASE_WITH_UNDERSCORES) across ↵Bobby27-203/+203
strings modules and references
2026-07-12Reorg: move assembly to root asm/ (wired as build module), delete stray ↵Bobby42-699/+26
hikari/build.zig, keep single root build.zig
2026-07-12Build interrupts: route CPU exceptions to Crimson collapse screen (full ↵Bobby21-64/+177
register dump), enable timer + keyboard IRQs with EOI in dispatch, fix asm stub newline joins and IDTR bit-size assert; PMM bitmap now sized from usable RAM only
2026-07-12Sweep: consolidate all crimson exception/panic strings into crimson/strings ↵Bobby17-27/+61
module, extract remaining word-bearing literals
2026-07-12Sweep: extract crimson/render strings, move pure-constant files into ↵Bobby24-63/+139
constants/ subfolders, strip explanatory comments and multi-line headers tree-wide, zig fmt
2026-07-12Sweep: extract kalloc zone names into strings/ moduleBobby3-10/+26
2026-07-12Sweep: extract boot sequence message and banner strings into strings/ moduleBobby7-23/+60
2026-07-12Sweep: rename all multi-word filenames to single words (efi protocols, fs ↵Bobby7-4/+4
adapters, boot types) and update imports
2026-07-12Wire boot sequence into kernel entry: UEFI memory-map region conversion, run ↵Bobby9-97/+147
cpu+memory phases with guard-page stack provisioning; boots to 'Akiba is ready' (IDT phase deferred: origin interrupts subsystem has a create_exception API mismatch with crimson)
2026-07-12Port fixes onto kernel structure: GDT TSS align(8), mirai/hikari layout ↵Bobby19-6/+350
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 ↵Bobby19-28/+170
BootParams, wire common/shared modules, kagami activate, TSS align(4), fix union default and get_l4_address
2026-03-30refactor: reorganize kernel structure and implement memory management zonesBobby14-225/+613
2026-03-27refactor: streamline interrupt and exception handler implementationsBobby4-86/+102
2026-03-27Refactor and implement interrupt handling and PIT driverBobby45-85/+946
- 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-20Implement exception handling framework with hardware, software, and resource ↵Bobby78-0/+2719
exception raising - Added `hardware.zig` for raising hardware exceptions from vectors and interrupts. - Introduced `raise.zig` to consolidate exception raising functions. - Created `resource.zig` for raising resource-related exceptions (memory, CPU, file limits). - Developed `software.zig` for raising software exceptions (assertions, aborts, user-defined). - Implemented `actions.zig` for parsing and encoding reply actions. - Added `catch.zig` for handling received exceptions. - Created `reply.zig` for constructing and sending exception replies. - Developed `recover` module for managing recovery operations (resume, skip, terminate). - Implemented rendering modules for displaying exception and context information. - Established global state management in `state.zig` for tracking exceptions. - Defined various types (context, exception, frame, identity, port) in `types` directory.
2026-02-25Add Global Descriptor Table (GDT) and Task State Segment (TSS) implementationBobby46-49/+1301
- Introduced GDT constants, including selectors, access rights, and flags. - Created GDT entry structures for kernel and user segments, along with TSS descriptors. - Implemented GDT initialization and loading functions. - Developed boot sequence phases for CPU and memory initialization. - Added boot information structure to manage memory regions and kernel details. - Implemented TSS management, including core-specific TSS setup and stack allocation. - Established state management for boot sequence phases and TSS.
2026-02-25feat: Implement Kagami page table abstraction with allocation, mapping, and ↵Bobby19-0/+866
protection functionalities
2026-02-25feat: Implement Physical Memory Manager with allocation and deallocation ↵Bobby18-0/+582
functionality
2026-02-25feat: Add common constants, errors, and serial driver functionalityBobby12-2/+333
2026-02-24feat: Implement Mirai kernel with boot parameter handling and framebuffer ↵Bobby2-0/+225
support
2026-02-24Bunch of stuff moved as .old for new arch changeBobby155-9074/+0
2026-02-24commit for arch changeBobby16-55/+418
2026-02-23feat: Enhance Kata state management with new states and deferred cleanup for ↵Bobby10-34/+124
page tables
2026-02-23fix: Prevent crash by skipping destruction of current kata's page table in ↵Bobby2-8/+27
cleanup
2026-02-23feat: Enhance Kata memory management with stack growth support and ↵Bobby8-13/+78
additional user stack properties
2026-02-23refactor: dynamic allocation for letter data in Kata invocationsBobby4-9/+38
2026-02-23fix: dynamic attachments in kataBobby11-39/+82
2026-02-23fix: Update MAX_LOCATION_LENGTH to 128 and adjust limits for Katas and ↵Bobby2-11/+8
Attachments
2026-02-23refactor: Simplify memory cleanup logic in Kata managementBobby3-30/+1
2026-02-23feat: Implement memory cleanup for dissolved Katas and enhance page table ↵Bobby3-0/+101
destruction logic
2026-02-20fix: Update memory section start address in linker script to 512MBBobby1-4/+4
2026-02-20fix: Correct KERNEL_MAP_END value and update MAX_LOCATION_LENGTH documentationBobby3-9/+9
2026-02-20feat: Refactor path handling to use location utilities and update related ↵Bobby17-129/+157
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.