Commit graph

38 commits

Author SHA1 Message Date
yufeng
5a63d8e1fe add tcp support and tcp_simplehttp app 2023-03-30 22:19:57 +08:00
yufeng
55d9cfa1cd Merge ch9 2023-02-06 19:51:24 +08:00
yufeng
9355acf903 add net support 2023-02-06 19:21:43 +08:00
Yifan Wu
9d9d3f496b update condvar-related testcases. 2023-02-01 20:46:07 +08:00
Yifan Wu
4430e86d5a Added MapType::Linear for framebuffer mapping & cargo fmt 2023-01-11 19:37:36 -08:00
Yu Chen
2cbd237260 Add snake gui app and update os/usr parts. Now snake can run! 2023-01-08 22:41:41 +08:00
Yu Chen
a67f3f0d2f add get input_dev events in user app, but still have some problems 2023-01-07 23:35:11 +08:00
Yu Chen
beaef1f304 simple gui app can run now! 2023-01-07 16:11:41 +08:00
Yifan Wu
932ae94711 feat: simple drawing board GUI 2022-12-19 03:55:58 -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
a6c8f4de34 cargo fmt 2022-06-20 23:32:27 +08:00
Yu Chen
c348cbdbfa create_desktop in kernel can run correctly 2022-06-20 22:41:20 +08:00
Yu Chen
07029a2e5f add gui in os 2022-06-18 15:23:16 +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
Yu Chen
b3bce3bef2 add condvar in kernel and app 2021-12-13 15:30:27 +08:00
Yu Chen
7171f92972 fix typo of sys_semaphore_create 2021-12-11 21:11:10 +08:00
Yifan Wu
45c33f2ce2 Implement mpsc using semaphores. 2021-10-10 17:20:53 -07:00
Yifan Wu
5b56961b8c Create threads with a argument. See bin/threads_arg.rs 2021-10-08 13:50:36 -07:00
Yifan Wu
c951c1781e Implement sleep using blocking & BinaryHeap. 2021-10-08 12:55:39 -07:00
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
685ca2c1ea Add sys_dup && support input/output redirection in user_shell 2021-02-27 22:27:08 +08:00
Yifan Wu
c8d851fc2b Support cmdline_args when sys_exec. 2021-02-26 12:06:55 +08:00
Yifan Wu
b121689d08 Simple filetest passed on qemu/k210. 2020-12-20 13:52:38 +08:00
Yifan Wu
2d34cab989 Pipe OK. 2020-12-14 16:18:33 +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
9e861c2819 ch4 ok on qemu/k210 && Remove some comments. 2020-12-08 01:35:08 +08:00
Yifan Wu
1008d92c35 Fetch buffer in user space as a Vec. 2020-12-07 18:07:19 +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
3f3e6b2b99 Switch ok with debug mode apps, implement sys_exit correctly later. 2020-11-29 01:31:36 +08:00
Yifan Wu
4e8059e222 Add sys_yield tests and compile them to different location. 2020-11-28 16:22:29 +08:00
Yifan Wu
2ce04bf19f Run hello_world/power one by one in batch mode. 2020-11-20 01:18:25 +08:00
Yifan Wu
1943a50d0d Working on app data auto linking. 2020-11-18 18:29:53 +08:00