Commit Graph

24 Commits

Author SHA1 Message Date
Yu Chen
6b0d8e3fce support rust-analyzer for board_qemu features 2022-07-14 10:16:20 +08:00
Direktor799
c94782fb4f fix(BlockCache): Vec as aligned buf
use a Vec allocated from buddy system to make sure it's well aligned
2022-05-28 11:25:55 +08:00
Yifan Wu
ca1d7a07b8 Bump Rust to nightly-2022-04-11 && support debugging in release mode 2022-04-16 15:59:10 -07:00
Yifan Wu
6ef566faac IRQ-based VirtIOBlk Access. Plz wait for the virtio-drivers crate to be updated. 2022-02-07 14:13:30 -08:00
Yifan Wu
1c55663478 Small Fix && cargo fmt 2022-01-22 12:40:54 -08:00
Yifan Wu
740730e7f7 Merge recent update from ch7 && cargo clippy 2022-01-22 12:32:36 -08:00
Yifan Wu
315e61da1a Rm spin::Mutex except for easy-fs & add new test huge_write & flush cache to disk after a write transaction 2021-07-21 19:10:04 +08:00
Yifan Wu
01098eb113 Fixed a bug that the efs lock was not be held correctly 2021-04-15 12:09:22 +08:00
Yifan Wu
230e4442d0 Remove unused code. 2021-03-04 08:42:47 +08:00
Yifan Wu
a589179adc Remove DirentBytes 2021-03-04 03:27:11 +08:00
Yifan Wu
3e47a0dbee Remove unused code. 2021-03-02 21:10:01 +08:00
Yifan Wu
a7346c96b4 DiskInode sz->128bytes && user heap -> 32KiB 2021-02-27 07:43:28 +08:00
Yifan Wu
01280fc833 Support indirect2 in easy-fs::layout::DiskInode 2021-02-27 06:40:52 +08:00
Yifan Wu
920d077a66 Refactor easy-fs. 2021-02-24 03:34:59 +08:00
Yifan Wu
606abbe6a1 Simple filetest passed on qemu/k210. 2020-12-20 13:52:38 +08:00
Yifan Wu
ae9eecf97b Load app from sdcard on K210, but panicked on qemu. 2020-12-20 00:52:14 +08:00
Yifan Wu
ea515323d3 Import easy-fs in os && change easy-fs to no_std mode. 2020-12-19 21:18:57 +08:00
Yifan Wu
ecccea65a0 Change single file limit from 70KiB to 94KiB & pack apps and list them. 2020-12-19 21:12:09 +08:00
Yifan Wu
d13380603b Large/small file I/O test passed. 2020-12-19 19:14:31 +08:00
Yifan Wu
dbaa7c8c6c Write Hello, world! to a file and read it! 2020-12-19 18:32:01 +08:00
Yifan Wu
5ea07840ce Eliminate unuseful block reads/writes. 2020-12-19 16:34:18 +08:00
Yifan Wu
c351635e2f Create two files and list them. 2020-12-19 15:28:42 +08:00
Yifan Wu
459efec595 We need BlockCache. 2020-12-19 13:04:36 +08:00
Yifan Wu
af02e68d19 create & open efs. 2020-12-18 15:56:11 +08:00