Commit Graph

385 Commits

Author SHA1 Message Date
Yifan Wu
b89c12c348 codecheck: Remove UB of ch8 usertests #140 2024-01-21 15:50:14 +08:00
Yifan Wu
a4aebfea1e Merge pull request #134 from cndoit18/add-devcontainer
feat: support devcontainer
2024-01-21 01:22:30 +08:00
Yifan Wu
d7b59b43dc codecheck: Fix warnings 2024-01-20 23:53:56 +08:00
Yifan Wu
4cb4051d93 Bump rust to version 1.77.0-nightly 2024-01-20 22:50:54 +08:00
Yifan Wu
676fd7aeb5 fix issue #130 2023-11-13 23:38:26 +08:00
Yifan Wu
c054af00a6
Update doc-and-test.yml 2023-10-15 15:28:42 +08:00
Yifan Wu
518252623d Expand user-img size from 16MiB to 32MiB 2023-10-14 00:34:50 +08:00
Yifan Wu
76accdf04e Bump rust to version 1.75.0-nightly 2023-10-10 22:57:10 +08:00
Yifan Wu
77b3569d14 Fix issue #123 2023-05-31 21:29:02 +08:00
Yifan Wu
e76bd3a768 Update os/Makefile: Added QEMU_ARGS 2023-04-30 01:32:05 +08:00
Yifan Wu
36b1d763f1 cargo fmt 2023-03-30 23:01:12 +08:00
Yifan Wu
214898ccfd fix ch9 && remove some warnings 2023-03-29 22:45:49 +08:00
Yifan Wu
013e4e5c46 fix ch8 2023-03-29 22:36:53 +08:00
Yifan Wu
dccfc54f61 fix ch5 2023-03-29 22:36:49 +08:00
Yifan Wu
c4e734610c Use error! instead of println! when panicking 2023-03-29 22:35:52 +08:00
Yifan Wu
0f866c4ee6 Using sbi-rt instead of asm && update rustsbi-qemu to latest
rustsbi-qemu version: a4f0bbe44d9f2f1069a9e5becd09f291e542852c
2023-03-29 22:35:49 +08:00
chyyuu
938b0dd85a
Merge pull request #111 from yfblock/ch9
Add the TCP support
2023-03-06 09:05:23 +08:00
yfblock
76721188dc
Update tcp_simplehttp.rs 2023-03-03 19:00:02 +08:00
yfblock
e30d357cf7
fix hexdump print 2023-03-03 17:38:57 +08:00
yfblock
8d967a5e79
Update tcp_simplehttp.rs
edit title
2023-03-03 17:30:47 +08:00
yufeng
96b32a68fd fix warnnings 2023-03-03 17:14:24 +08:00
yufeng
b962f94619 add tcp support and tcp_simplehttp app 2023-03-03 16:58:07 +08:00
Yifan Wu
c1e30a1bf6 Fix a warning. 2023-02-08 11:38:00 +08:00
Yifan Wu
ada05c3323 Fix issue #92 2023-02-08 11:33:21 +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
Yifan Wu
294386e7a5 Remove unnecessary output. 2023-02-01 21:17:43 +08:00
Yifan Wu
314c92a5ec update usertests 2023-02-01 21:00:34 +08:00
Yifan Wu
948ccff15d update condvar-related testcases. 2023-02-01 20:46:07 +08:00
Yifan Wu
2437bf0bce update mpsc_sem 2023-01-27 16:57:40 +08:00
Yifan Wu
59480f5d0d Added condvar examples. 2023-01-25 10:32:03 +08:00
Yifan Wu
8c09e0537e add_task->wakeup_task 2023-01-20 01:54:13 +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
dcfcfbf030 updates from ch8 2023-01-13 09:54:54 +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