Commit Graph

446 Commits

Author SHA1 Message Date
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
Yu Chen
772d532563 update code, now '-bios none' can get the same result as ch9 2023-01-03 10:05:40 +08:00
Yu Chen
7c9a58192a in gdb mode, OK. For the safety of TIMER_SCRATCH, put clear_bss Fn in rust_start. and explicitly UART.init in rust_main. 2023-01-03 09:50:56 +08:00
Yu Chen
cd2e2307d2 explicitly UART.init() in rust_main 2023-01-03 09:32:36 +08:00
Yu Chen
a92ded6e1f temp stage2:add pmpaddr0/pmpcfg0 setup 2023-01-03 08:45:00 +08:00
Yu Chen
a33a235acf temp stage 2023-01-02 20:06:03 +08:00
Yu Chen
1722d0d4d7 run in qemu -bios none ENV 2023-01-02 11:28:06 +08:00
Yu Chen
683a4fdc55 Merge branch 'ch9' into ch9-dev 2023-01-02 10:16:41 +08:00
Yu Chen
e0e201a131 fix rust-analyzer warning 2022-12-31 10:36:35 +08:00
Yifan Wu
95d853d8d2 Fix pipe impl 2022-12-23 11:23:54 +08:00
Yifan Wu
bcfdcf33e3 user add fp support 2022-12-21 21:27:17 +08:00
Yifan Wu
3d69c6053e Add coroutine examples 2022-12-21 11:11:50 +08:00
Yifan Wu
fd0db55621 Remove a dependency 2022-12-19 04:48:45 -08:00
Yifan Wu
20d4f5fe08 feat: simple drawing board GUI 2022-12-19 03:55:58 -08:00
Yifan Wu
2ca2132df2 Workflow: Remove k210 support. 2022-12-14 00:41:59 +08:00