Yifan Wu
|
db6a93e60d
|
Add MutexBlocking.
|
2021-10-07 14:33:44 -07:00 |
|
Yifan Wu
|
8974a29245
|
Add MutexSpin and several syscalls.
|
2021-10-07 12:40:47 -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
|
6d0c2ad00c
|
Fix k210 alignment issue when push cmdargs when sys_exec
|
2021-02-28 08:50:45 +08:00 |
|
Yifan Wu
|
c8d851fc2b
|
Support cmdline_args when sys_exec.
|
2021-02-26 12:06:55 +08:00 |
|
Yifan Wu
|
973797f10e
|
Fix lock uses in ch5
|
2021-02-16 20:50:24 +08:00 |
|
Yifan Wu
|
2cfb42d1f6
|
Mutex -> RefCell in Processor.
|
2021-02-15 16:43:35 +08:00 |
|
Yifan Wu
|
170c458555
|
Replace TCB.inner.block with TCB::acquire_inner_lock
|
2021-02-11 10:27:19 +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
|
b121689d08
|
Simple filetest passed on qemu/k210.
|
2020-12-20 13:52:38 +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
|
2d34cab989
|
Pipe OK.
|
2020-12-14 16:18:33 +08:00 |
|
Yifan Wu
|
e93a4a0b76
|
Rewrite Stdin/Stdout
|
2020-12-13 15:07:19 +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 |
|