summaryrefslogtreecommitdiff
path: root/include/kernel
Commit message (Collapse)AuthorAgeFilesLines
* refactor: promote new architecture to repository rootRichard Qin2026-07-1019-1101/+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.
* feat: implement FDT-based memory discovery and add comprehensive debug ↵Richard Qin2026-04-144-33/+132
| | | | logging to exec syscalls
* Important: License changed from MIT to GPL.Richard Qin2026-01-0517-0/+85
| | | | Rewrote the README based on the actual project.
* feat(file-system): implement read and write FAT32 File System and basic shellRichard Qin2026-01-045-24/+57
|
* Fix: critical malloc size calculation bugRichard Qin2026-01-032-1/+6
| | | | | | | | | | Summary: - Fixed an integer arithmetic error in malloc() where 'nunits' was initialized to 0, causing incorrect heap sizing. - This bug caused malloc to return pointers pointing to unmapped memory pages, leading to Store Page Fault (scause 15) at process boundaries. - Switched memory allocator logic to use byte-based size calculation instead of K&R style units to prevent off-by-one errors. Improvements: - Shell now starts successfully without segfaults.
* dev(sell): add simple libc and implement shellRichard Qin2026-01-022-0/+3
| | | | please see the log for detail.
* dev(file-system): establish VFS and Read-only FAT32 File SystemRichard Qin2026-01-025-0/+89
|
* dev(device): implement VirtIORichard Qin2026-01-012-0/+3
| | | | See dev log for detail
* dev:Refactor Memory Management and Process ManagementRichard Qin2025-12-3111-86/+162
|
* dev(spinlock): refactoring the implementation of locksRichard Qin2025-12-302-15/+61
|
* dev(pmm.h): refactor header fileRichard Qin2025-12-301-4/+44
|
* feat(user): add user-space build system and init process to test fork/waitRichard Qin2025-12-281-1/+3
|
* feat(syscall): Implement syscall dispatch and process lifecycle ↵Richard Qin2025-12-283-2/+56
| | | | (exit/wait/sleep)
* feat: Implement the first user program of the lume OSRichard Qin2025-12-274-15/+28
|
* feat: Encapsulates the low-level hardware details of the RISC-V ↵Richard Qin2025-12-251-0/+400
| | | | | | architecture, providing interfaces for the rest of the kernel to operate CPU registers and manage memory Copied from the xv-6 source code.
* 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.