Commit graph

16 commits

Author SHA1 Message Date
hypocrasy
f9346edad1 Add comments in ch6 2022-04-30 16:04:58 +08:00
Yifan Wu
b96db03e48 cargo clippy & fmt 2022-01-21 14:56:19 -08:00
Yifan Wu
e9597d901b Remove cmdargs and i/o redirection. 2022-01-18 04:19:05 -08:00
Yifan Wu
57f7debbc6 Substituted to the original ch7 code. 2022-01-18 02:48:50 -08:00
Yifan Wu
3c9b6d7d14 spin::Mutex->UPSafeCell 2021-07-20 22:10:22 +08:00
Yifan Wu
946b37a237 Fix lock uses in ch5 2021-02-16 20:50:03 +08:00
Yifan Wu
fb8a24fbad Replace TCB.inner.block with TCB::acquire_inner_lock 2021-02-11 10:26:52 +08:00
Yifan Wu
8e178c0080 Pipe OK. 2020-12-14 16:18:33 +08:00
Yifan Wu
2e6734027d Rewrite Stdin/Stdout 2020-12-13 15:07:19 +08:00
Yifan Wu
3642f9c56d Implement many process syscalls. 2020-12-10 11:57:26 +08:00
Yifan Wu
eddbc8954c Implement sys_read && allocate pid and kernel stack dynamically. 2020-12-08 17:17:28 +08:00
Yifan Wu
1bc53c0b5f Split TaskManager and Processor. 2020-12-08 15:37:10 +08:00
Yifan Wu
949f2095bb ch4 ok on qemu/k210 && Remove some comments. 2020-12-08 01:35:08 +08:00
Yifan Wu
8ee3671269 Split kernel/user trap handler && Fix user tests. 2020-12-07 18:57:23 +08:00
Yifan Wu
064f1cb5cb Fetching buffer arguments from user space. 2020-12-06 13:56:13 +08:00
Yifan Wu
4590f233b5 sys_yield tests worked on qemu. 2020-11-29 04:01:38 +08:00