summaryrefslogtreecommitdiff
path: root/build/user/sh.asm
Commit message (Collapse)AuthorAgeFilesLines
* dev(shell): implement basic shell toolsRichard Qin2026-01-041-12619/+0
| | | | fixed(file-system): fixed read and write bugs
* feat(file-system): implement read and write FAT32 File System and basic shellRichard Qin2026-01-041-8614/+8575
|
* Fix: critical malloc size calculation bugRichard Qin2026-01-031-7290/+7328
| | | | | | | | | | 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-021-0/+12620
please see the log for detail.