| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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)
|
| | |
|
| | |
|
| | |
|
|
|
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.
|