Commit Graph

36 Commits (ae7160a51ecbb748819649ce6d3b659456c81bed)

Author SHA1 Message Date
Yifan Wu 6ef566faac IRQ-based VirtIOBlk Access. Plz wait for the virtio-drivers crate to be updated.
3 years ago
Yifan Wu 61152471b7 Add boards/ && clippy
3 years ago
Yifan Wu 6f09af2c0f Support signal mechanism for ch8(only works on signal-thread apps)
3 years ago
Yifan Wu 1c55663478 Small Fix && cargo fmt
4 years ago
Yu Chen 713e78ea91 add condvar in kernel and app
4 years ago
Yu Chen 90796450fe fix typo of sys_semaphore_create
4 years ago
Yifan Wu 4ad64e83f6 MutexBlocking works correctly.
4 years ago
Yifan Wu 5753a09366 Implement mpsc using semaphores.
4 years ago
Yifan Wu b851f8d743 Create threads with a argument. See bin/threads_arg.rs
4 years ago
Yifan Wu 8adfc90db9 Implement sleep using blocking & BinaryHeap.
4 years ago
Yifan Wu 7225254d8a Add MutexBlocking.
4 years ago
Yifan Wu b0fad5aca3 Add MutexSpin and several syscalls.
4 years ago
Yifan Wu 24b3c82b8a Stage2: multiple user threads based on uniprocessor, see new added test race_adder and threads.
4 years ago
Yifan Wu c599a31dd0 Debugging sys_exec :(
4 years ago
Yifan Wu 315e61da1a Rm spin::Mutex except for easy-fs & add new test huge_write & flush cache to disk after a write transaction
4 years ago
Yifan Wu 3e1c12b6a1 Add sys_dup && support input/output redirection in user_shell
4 years ago
Yifan Wu 90d351bfe8 Support cmdline_args when sys_exec.
4 years ago
Yifan Wu 7c0d66c58f Remove some warnings.
5 years ago
Yifan Wu 606abbe6a1 Simple filetest passed on qemu/k210.
5 years ago
Yifan Wu ae9eecf97b Load app from sdcard on K210, but panicked on qemu.
5 years ago
Yifan Wu 8e178c0080 Pipe OK.
5 years ago
Yifan Wu 2e6734027d Rewrite Stdin/Stdout
5 years ago
Yifan Wu 84b10893d4 forktree worked with depth=3 on k210 platform.
5 years ago
Yifan Wu 244c0ee84d Handle backspace for k210/qemu platform && Add lots of user tests.
5 years ago
Yifan Wu 3a2f89fc67 Avoid panicking when inputting error app name; List all apps when initializing.
5 years ago
Yifan Wu 3642f9c56d Implement many process syscalls.
5 years ago
Yifan Wu eddbc8954c Implement sys_read && allocate pid and kernel stack dynamically.
5 years ago
Yifan Wu 949f2095bb ch4 ok on qemu/k210 && Remove some comments.
5 years ago
Yifan Wu f54573ae15 Fetch buffer in user space as a Vec.
5 years ago
Yifan Wu 064f1cb5cb Fetching buffer arguments from user space.
5 years ago
Yifan Wu 63aaa9d0a1 Chapter3: power2/3/5 & sleep test worked on k210/qemu based on timer.
5 years ago
Yifan Wu 4590f233b5 sys_yield tests worked on qemu.
5 years ago
Yifan Wu 91043b08cd Switch ok with debug mode apps, implement sys_exit correctly later.
5 years ago
Yifan Wu e552f3cfca Add sys_yield tests and compile them to different location.
5 years ago
Yifan Wu 3b920ac8f5 Run hello_world/power one by one in batch mode.
5 years ago
Yifan Wu f613fa122c Working on app data auto linking.
5 years ago