Commit Graph

96 Commits (e8a0682cf8d2f533711cf2fe99f015ce6462ac4e)
 

Author SHA1 Message Date
Yifan Wu e8a0682cf8 Refactor easy-fs
4 years ago
Yifan Wu c6a262d215 Close all pipes in pipetest.
4 years ago
Yifan Wu 87743bac4d Merge branch 'ch7' into dev
4 years ago
Yifan Wu 04114ad949 Remove Any Trait of File
4 years ago
Yifan Wu 1b6f2c4c1e Fix lock uses in ch5
4 years ago
Yifan Wu 9b65abcfa8 Fix lock uses in ch5
4 years ago
Yifan Wu caac1beb0a Mutex -> RefCell in Processor.
4 years ago
Yifan Wu fd75ac027a Mutex -> RefCell in Processor.
4 years ago
Yifan Wu d97b0a20ab Replace TCB.inner.block with TCB::acquire_inner_lock
4 years ago
Yifan Wu e04394af56 Replace TCB.inner.block with TCB::acquire_inner_lock
4 years ago
Yifan Wu b28d94b226 Fix other usertests: xstate -> exit_code
4 years ago
Yifan Wu b6626d534b Fix other usertests: xstate -> exit_code
4 years ago
Yifan Wu b659f10d22 Fix user_shell
4 years ago
Yifan Wu b8240fac5a Fix user_shell
4 years ago
Yifan Wu 1cc75ded25 Move kflash.py out of proj.
4 years ago
Yifan Wu dddd04b683 Move kflash.py out of proj.
4 years ago
Yifan Wu eb5ef8e956 Bump rustsbi to 0.1.1 && make config of qemu/k210 different
4 years ago
Yifan Wu 33373aa20d Bump rustsbi to 0.1.1 && make config of qemu/k210 different
4 years ago
Yifan Wu 07467287da Fix exit_code in user
4 years ago
Yifan Wu a6c7b52283 Fix exit_code in user
4 years ago
Yifan Wu 18da8a3879 Update os/Makefile && Update rust to 2021-01-30
4 years ago
Yifan Wu 4f7db8b92e Update os/Makefile && Update rust to 2021-01-30
4 years ago
Yifan Wu 6267c5d922 Do not clone KERNEL_SPACE in mm::init
4 years ago
Yifan Wu 9d7882a73d Do not clone KERNEL_SPACE in mm::init
4 years ago
Yifan Wu 9772373743 Fix os/Makefile: Support macOS
4 years ago
Yifan Wu e588d40d70 Fix os/Makefile: Support macOS
4 years ago
Yu Chen c65ce846ce rust-toochain --> nightly
4 years ago
Yu Chen 3b8b42ec4c rust-toochain --> nightly
4 years ago
Yifan Wu 05d34106ce Update wyfcyx/rustsbi fb6af33f.
4 years ago
Yifan Wu 1a7261d86d Move some variable name to task_cx to task_cx_ptr2(ch5 ver).
4 years ago
Yifan Wu dbe56c1362 Move some variable name to task_cx to task_cx_ptr2(ch5 ver).
4 years ago
Yifan Wu 12747d71b4 Remove meaningless sstatus::set_sie() when initializing.
4 years ago
Yifan Wu fd638d5388 Remove meaningless sstatus::set_sie() when initializing.
4 years ago
Yifan Wu 208b827b5c Add env.
4 years ago
Yifan Wu b674fd5a77 Remove fs.img.
4 years ago
Yifan Wu fdab87d2ed Update Rust environment initialization.
4 years ago
Yifan Wu 7c0d66c58f Remove some warnings.
4 years ago
Yifan Wu 606abbe6a1 Simple filetest passed on qemu/k210.
4 years ago
Yifan Wu 1bafe9615f Fix virtio_phys_to_virt. Now we can load app from disk on qemu/k210!
4 years ago
Yifan Wu ae9eecf97b Load app from sdcard on K210, but panicked on qemu.
4 years ago
Yifan Wu ea515323d3 Import easy-fs in os && change easy-fs to no_std mode.
4 years ago
Yifan Wu ecccea65a0 Change single file limit from 70KiB to 94KiB & pack apps and list them.
4 years ago
Yifan Wu d13380603b Large/small file I/O test passed.
4 years ago
Yifan Wu dbaa7c8c6c Write Hello, world! to a file and read it!
4 years ago
Yifan Wu 5ea07840ce Eliminate unuseful block reads/writes.
4 years ago
Yifan Wu c351635e2f Create two files and list them.
4 years ago
Yifan Wu 459efec595 We need BlockCache.
4 years ago
Yifan Wu af02e68d19 create & open efs.
4 years ago
Yifan Wu 84900e8b94 Remove block device test.
4 years ago
Yifan Wu 63bccc4e8f Now sleep test sleeps 5secs.
4 years ago