| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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.
|
| |
|
|
| |
logging to exec syscalls
|
| |
|
|
| |
Rewrote the README based on the actual project.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
please see the log for detail.
|
| | |
|
| |
|
|
| |
See dev log for detail
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(exit/wait/sleep)
|
| | |
|
| |
|
|
|
|
| |
architecture, providing interfaces for the rest of the kernel to operate CPU registers and manage memory
Copied from the xv-6 source code.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
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.
|