Merged
不让内核死机 requested to merge
feature/ext4 into
main
Summary
- Parse EXT4 superblock and group descriptors
- Load arbitrary inode across block groups
- Parse extent header
- Traverse root, glibc, and musl directories
- Locate *_testcode.sh
- Read regular file contents from extents
- Preview /glibc/basic_testcode.sh and /musl/basic_testcode.sh
Verified
- cargo check
- make kernel-rv
- QEMU boot success
- /glibc/basic_testcode.sh readable
- /musl/basic_testcode.sh readable
Key Logs
- name = basic_testcode.sh
- name = busybox_testcode.sh
- file content preview = ./busybox echo "#### OS COMP TEST GROUP START basic-glibc ####"
- file content preview = ./busybox echo "#### OS COMP TEST GROUP START basic-musl ####"
Risk
- EXT4 support is read-only
- Only extent depth = 0 is verified
- No syscall/openat integration yet
Next
- Stabilize ext4_read_file(path)
- Connect runner to EXT4 script loading
- Support syscall openat/read integration