Commit graph

37 commits

Author SHA1 Message Date
Yifan Wu
45ab29ae1b cargo fmt && use rustsbi as the bootl 2023-03-30 22:53:41 +08:00
Yifan Wu
cd2e97b840 fix ch9 && remove some warnings 2023-03-29 22:47:44 +08:00
Yifan Wu
1a71b071f4 fix ch8 2023-03-29 22:47:43 +08:00
Yifan Wu
e48a85dd4b fix ch5 2023-03-29 22:47:42 +08:00
Yifan Wu
c12e3b733d add_task->wakeup_task 2023-01-20 01:59:37 +08:00
Yifan Wu
4ccf22f581 TaskStatus::Blocking->Blocked 2023-01-19 13:59:06 +08:00
Yifan Wu
775755cf12 Remove K210 support. 2022-12-13 23:52:27 +08:00
Yu Chen
e7d6406f45 make build BOARD=k210 sucessfully 2022-06-23 22:23:49 +08:00
Yu Chen
f25fe0431c add VIRT_TEST support for qemu exit with exit_code, for CI autotest 2022-05-15 17:34:24 +08:00
Yu Chen
80503e80ee update github CI for autotest 2022-05-15 12:03:05 +08:00
Yu Chen
4e2436f757 cargo fmt 2022-05-14 22:54:20 +08:00
DeathWish5
040bba5f40 feat: CI run tests 2022-05-14 22:50:17 +08:00
Yifan Wu
8d6a1bcc79 Fix #71. 2022-05-12 23:14:42 -07:00
Yifan Wu
26f44233f6 Still a lot of bugs :( 2022-03-04 09:02:32 -08:00
Yifan Wu
60143939d4 Add boards/ && clippy 2022-01-24 23:23:03 -08:00
Yifan Wu
26bc01f3bc Support signal mechanism for ch8(only works on signal-thread apps) 2022-01-23 13:14:56 -08:00
Yifan Wu
ae3ba9c26f Small Fix && cargo fmt 2022-01-22 12:40:54 -08:00
Yifan Wu
db6a93e60d Add MutexBlocking. 2021-10-07 14:33:44 -07:00
Yifan Wu
a341b338c8 Stage2: multiple user threads based on uniprocessor, see new added test race_adder and threads. 2021-10-02 16:18:05 -07:00
Yifan Wu
4fa4e9cab4 Stage1 clear! All applications work but now they are based on threads. 2021-09-30 14:36:33 -07:00
Yifan Wu
ad0a7bcaa1 Debugging sys_exec :( 2021-09-30 10:09:21 -07:00
Yifan Wu
cb1d46c8ee Working on ch8 2021-09-28 01:21:59 +08:00
Yifan Wu
b8a14182cd 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
973797f10e Fix lock uses in ch5 2021-02-16 20:50:24 +08:00
Yifan Wu
09c3be9d6f Move some variable name to task_cx to task_cx_ptr2(ch5 ver). 2021-01-04 16:20:09 +08:00
Yifan Wu
a3802a4b91 Load app from sdcard on K210, but panicked on qemu. 2020-12-20 00:52:14 +08:00
Yifan Wu
a3496698b3 forktree worked with depth=3 on k210 platform. 2020-12-11 16:14:14 +08:00
Yifan Wu
48a11e53ff Handle backspace for k210/qemu platform && Add lots of user tests. 2020-12-11 01:44:07 +08:00
Yifan Wu
8fbadfc951 Implement many process syscalls. 2020-12-10 11:57:26 +08:00
Yifan Wu
58dbb3ffa5 Implement sys_read && allocate pid and kernel stack dynamically. 2020-12-08 17:17:28 +08:00
Yifan Wu
a9066d75e5 Split TaskManager and Processor. 2020-12-08 15:37:10 +08:00
Yifan Wu
9e861c2819 ch4 ok on qemu/k210 && Remove some comments. 2020-12-08 01:35:08 +08:00
Yifan Wu
485db04a2b Split kernel/user trap handler && Fix user tests. 2020-12-07 18:57:23 +08:00
Yifan Wu
9366099b28 Fetching buffer arguments from user space. 2020-12-06 13:56:13 +08:00
Yifan Wu
1cef77eac7 Chapter3: power2/3/5 & sleep test worked on k210/qemu based on timer. 2020-11-29 10:31:15 +08:00
Yifan Wu
adbe671fe1 sys_yield tests worked on qemu. 2020-11-29 04:01:38 +08:00
Yifan Wu
3f3e6b2b99 Switch ok with debug mode apps, implement sys_exit correctly later. 2020-11-29 01:31:36 +08:00