Commit Graph

24 Commits (abd9d361e4da0035e87b76a093400cf9627b713f)

Author SHA1 Message Date
Yifan Wu abd9d361e4 Bump to rust nightly-2022-01-01, feature global_asm,asm->stable
4 years ago
Yu Chen 713e78ea91 add condvar in kernel and app
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 1493ec9459 Stage1 clear! All applications work but now they are based on threads.
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 a7346c96b4 DiskInode sz->128bytes && user heap -> 32KiB
4 years ago
Yifan Wu 90d351bfe8 Support cmdline_args when sys_exec.
4 years ago
Yifan Wu 606abbe6a1 Simple filetest passed on qemu/k210.
5 years ago
Yifan Wu 8e178c0080 Pipe OK.
5 years ago
Yifan Wu 244c0ee84d Handle backspace for k210/qemu platform && Add lots of user tests.
5 years ago
Yifan Wu 7a1bc49eb3 Update rustsbi-k210 to enable lagacy console_putchar. Adjust alignment of links apps. Run matrix on K210!
5 years ago
Yifan Wu 3642f9c56d Implement many process syscalls.
5 years ago
Yifan Wu 81bef97f09 Add user program initproc/user_shell, allow user programs allocate data on heap.
5 years ago
Yifan Wu 4b01ff7cc4 Build application at 0x0 in release mode.
5 years ago
Yifan Wu e552f3cfca Add sys_yield tests and compile them to different location.
5 years ago
Yifan Wu f53f5e4b98 Chapter2: Clear .bss inside application.
5 years ago
Yifan Wu e9949e5bd4 Try batch but kernel panicked.
5 years ago
Yifan Wu db0c174f52 Add first user program hello_world.rs
5 years ago