summaryrefslogtreecommitdiff
path: root/include/kernel
Commit message (Collapse)AuthorAgeFilesLines
* feat: add preemptive scheduling, SBI timer support and FDT parser.Richard Qin2025-12-131-0/+7
|
* feat:Cooperative MultitaskingRichard Qin2025-12-112-0/+62
|
* feat: Add initial Supervisor Mode Trap HandlerRichard Qin2025-12-101-0/+50
| | | | | | | | | | Implement the initial mechanism for handling traps and exceptions in Supervisor Mode. Set up the stvec Control and Status Register (CSR) to direct all S-Mode Traps (Interrupts and Exceptions) to a unified assembly entry point. Implemented assembly code for saving and restoring the Trap Context (register state). Provides the foundational framework necessary for future Timer Interrupts and System Calls.
* feat: Initial PMM implementationRichard Qin2025-12-092-0/+34
Introduce the foundational Physical Memory Manager (PMM) and restructure the project for modularity. Implemented basic PMM and related memory management headers (mm/pmm.h, mm/vm.h). Updated Makefile and build process to support new modular structure.