summaryrefslogtreecommitdiff
path: root/src/kernel/trap/trap.S
Commit message (Collapse)AuthorAgeFilesLines
* refactor: promote new architecture to repository rootRichard Qin2026-07-101-90/+0
| | | | Archive the deprecated implementation under lume-legacy, make the new kernel the default root-level build, and update repository entry points without changing kernel behavior.
* Important: License changed from MIT to GPL.Richard Qin2026-01-051-0/+3
| | | | Rewrote the README based on the actual project.
* feat: Implement the first user program of the lume OSRichard Qin2025-12-271-5/+5
|
* feat: Add initial Supervisor Mode Trap HandlerRichard Qin2025-12-101-0/+87
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.