aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2026-03-30refactor: reorganize kernel structure and implement memory management zonesHEADmainBobby16-259/+660
2026-03-27refactor: streamline interrupt and exception handler implementationsBobby4-86/+102
2026-03-27Refactor and implement interrupt handling and PIT driverBobby48-92/+951
- 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-25refactor: Simplify installation step handling in build processBobby1-4/+1
2026-03-25Add AFS and FAT32 filesystem implementationsBobby62-1617/+2778
- 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.
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 functionalityBobby29-12/+558
2026-02-24fix: Correct version format in mirai.version fileBobby1-1/+1
2026-02-24Add AFS Writer and mkafsdisk main functionalityBobby4-0/+1151
2026-02-24feat: Implement Mirai kernel with boot parameter handling and framebuffer ↵Bobby2-0/+225
support
2026-02-24feat: Add Mirai Kernel Linker ScriptBobby1-0/+40
2026-02-24feat: Add Makefile and build configuration for AkibaOS with Docker supportBobby3-0/+270
2026-02-24fix: Simplify UEFI firmware detection logic in run scriptBobby1-12/+16
2026-02-24fix: Adjust buffer initialization in print function for correct type handlingBobby3-20/+23
2026-02-24feat: Update EFI protocols to use custom calling convention and refactor ↵Bobby13-100/+121
main entry point
2026-02-24fix: Correct boot parameters magic value for HikariBobby1-1/+1
2026-02-24Bunch of stuff moved as .old for new arch changeBobby243-3/+3
2026-02-24Implement Hikari Custom Boot LoaderBobby70-0/+5803
2026-02-24commit for arch changeBobby26-68/+491
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 512MBBobby2-5/+5
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 ↵Bobby24-170/+198
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.
2026-02-20feat: Remove deprecated system constants and limits modulesBobby3-401/+0
2026-02-20feat: Add used_clusters tracking in AFS and update disk info retrievalBobby7-44/+31
2026-02-20feat: Enhance diskinfo invocation with interrupt handling for safe disk ↵Bobby2-1/+6
reads and update version to v1.0.0
2026-02-20feat: Add sysinfo module for system information display and integrate ↵Bobby4-1/+279
datetime library
2026-02-20feat: Add datetime and OS information libraries with formatting and ↵Bobby15-58/+345
retrieval functions
2026-02-20feat: Implement CMOS/RTC and CPUID operations, add PIT driver, and enhance ↵Bobby13-11/+258
AFS with disk info retrieval
2026-02-20feat: Add OS information invocations for CPU, memory, disk, uptime, and timeBobby6-0/+184
2026-02-20refactor: Update resource management in Makefile and adjust font pathsBobby6-15/+14
2026-02-20feat: Enhance stack display with table formatting and color supportBobby3-58/+136
2026-02-20feat: Implement parameter parsing library and integrate into existing binariesBobby12-30/+353
2026-02-15Make all binaries use library imports. Remove akiba library.Bobby18-656/+138
2026-02-15refactor: Simplify dependency declarations in format, io, and kata librariesBobby3-8/+8
2026-02-15feat: Add core libraries for color, formatting, I/O, string manipulation, ↵Bobby27-0/+838
and memory utilities
2026-02-15refactor: Improve library dependency collection and management in build processBobby1-109/+115
2026-02-15refactor: Enhance library dependency management and build processBobby1-46/+132
2026-02-15refactor: Modularize memory management constants and improve structureBobby6-256/+147
2026-02-15refactor: Modularize IDT and PIC handling, improve structure and organizationBobby6-74/+107