Commit Graph

410 Commits

Author SHA1 Message Date
Yifan Wu
dd02ef7f6e fix ch5 2023-03-29 22:47:42 +08:00
Yifan Wu
a0e8c673a5 Use error! instead of println! when panicking 2023-03-29 22:47:42 +08:00
Yifan Wu
02fb65711e Using sbi-rt instead of asm && update rustsbi-qemu to latest
rustsbi-qemu version: a4f0bbe44d9f2f1069a9e5becd09f291e542852c
2023-03-29 22:47:39 +08:00
Yifan Wu
5fe234d2d2 Fix Compilation Error 2023-02-08 11:15:20 +08:00
Yifan Wu
4b0cbe1684
Merge pull request #92 from justxuewei/fix/kstack-leak 2023-02-08 11:08:51 +08:00
Yifan Wu
abc19f593d
Merge branch 'main' into fix/kstack-leak 2023-02-08 11:08:27 +08:00
Yu Chen
725a7baf2e remove connect fun in usr/src/task.rs 2023-02-08 00:15:59 +08:00
Yu Chen
22178ba9b8 Merge branch 'ch9' into main 2023-02-08 00:12:41 +08:00
Yu Chen
532b24478c fix net support for user net app 2023-02-08 00:04:50 +08:00
yufeng
bc3858bdb5 Add a udp program and a ping test script 2023-02-07 23:58:30 +08:00
yufeng
586bad3fac add net support, fix merge error 2023-02-07 23:58:01 +08:00
yufeng
c1bda3516b use frame_alloc_more in VirtioHal 2023-02-07 23:43:52 +08:00
yufeng
a8b675486f add alloc_more 2023-02-07 23:43:37 +08:00
Yu Chen
4a62741c46 Merge branch 'ch9-net-dev' of github.com:yfblock/rCore-Tutorial-v3 into main 2023-02-07 23:27:30 +08:00
yufeng
fc173e5344 Merge ch9 2023-02-06 19:51:24 +08:00
yufeng
9057ed71dc Add a udp program and a ping test script 2023-02-06 19:22:44 +08:00
yufeng
44bf23ee88 add net support 2023-02-06 19:21:43 +08:00
yufeng
fa2d574c3b use frame_alloc_more in VirtioHal 2023-02-06 19:15:46 +08:00
yufeng
31b1ba428a add alloc_more 2023-02-06 19:12:45 +08:00
Yifan Wu
7f9eac566d Remove unnecessary output. 2023-02-01 21:18:27 +08:00
Yifan Wu
294386e7a5 Remove unnecessary output. 2023-02-01 21:17:43 +08:00
Yifan Wu
05f932a05d update usertests 2023-02-01 21:03:07 +08:00
Yifan Wu
314c92a5ec update usertests 2023-02-01 21:00:34 +08:00
Yifan Wu
938c8ed400 update condvar-related testcases. 2023-02-01 20:50:53 +08:00
Yifan Wu
948ccff15d update condvar-related testcases. 2023-02-01 20:46:07 +08:00
Yifan Wu
b860c9579c update mpsc_sem 2023-01-27 16:58:18 +08:00
Yifan Wu
2437bf0bce update mpsc_sem 2023-01-27 16:57:40 +08:00
Yu Chen
9672ca495a fix conflict with ch9 2023-01-27 11:03:22 +08:00
Yifan Wu
f259b88a27 Added condvar examples. 2023-01-25 10:38:05 +08:00
Yifan Wu
59480f5d0d Added condvar examples. 2023-01-25 10:32:03 +08:00
Yifan Wu
62b796e8d3 add_task->wakeup_task 2023-01-20 01:59:37 +08:00
Yifan Wu
8c09e0537e add_task->wakeup_task 2023-01-20 01:54:13 +08:00
Yifan Wu
afcb0d9269 TaskStatus::Blocking->Blocked 2023-01-19 13:59:06 +08:00
Yifan Wu
29585b7982 TaskStatus::Blocking->Blocked 2023-01-19 13:55:17 +08:00
Yu Chen
794ba8f7a6 update usr app gui_ret for more graph outputs 2023-01-17 13:28:31 +08:00
Yifan Wu
be77eecc2e updates from ch8 2023-01-13 09:59:46 +08:00
Yifan Wu
dcfcfbf030 updates from ch8 2023-01-13 09:54:54 +08:00
Yifan Wu
1c4d488a2e updates from ch9 2023-01-13 08:55:42 +08:00
Yifan Wu
f4b856741b Decode input events in inputdev_event.rs 2023-01-12 00:21:57 -08:00
Yifan Wu
b77f2d6999 Added MapType::Linear for framebuffer mapping & cargo fmt 2023-01-11 19:37:36 -08:00
Yifan Wu
7f04d674ca Split user_lib into modules && provide Display in user_lib 2023-01-11 09:02:54 -08:00
Yu Chen
b262781203 fix bug in impl Drop for FrameTracker, for the correctly mapping/unmapping display buffer in app 2023-01-10 16:29:36 +08:00
Yu Chen
fbb592369b Add snake gui app and update os/usr parts. Now snake can run! 2023-01-08 22:41:41 +08:00
Yu Chen
af05b65e7f udpate gui apps, uart and gpu can work together 2023-01-07 23:36:05 +08:00
Yu Chen
c3ce372404 add get input_dev events in user app, but still have some problems 2023-01-07 23:35:11 +08:00
Yu Chen
9d59a8271f clean os/user codes for graph show 2023-01-07 19:14:20 +08:00
Yu Chen
7522d056ba fix compiling err in usr/src/bin/embed_graph.rs 2023-01-07 18:53:48 +08:00
Yu Chen
6e8fc39ad7 add embedded-graphics crate, but compiling error 2023-01-07 18:17:43 +08:00
Yu Chen
737d07db13 simple gui app can run now! 2023-01-07 16:11:41 +08:00
Yu Chen
d56c5d1229 update move_rect Fn 2023-01-03 18:34:45 +08:00