Commit graph

42 commits

Author SHA1 Message Date
Yifan Wu
2dc89534a4 Merge branch 'main' into fix/kstack-leak 2023-02-08 11:08:27 +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
yufeng
680f7fed26 use frame_alloc_more in VirtioHal 2023-02-06 19:15:46 +08:00
Yifan Wu
f0cecc4940 Decode input events in inputdev_event.rs 2023-01-12 00:21:57 -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
2dfd195841 clean os/user codes for graph show 2023-01-07 19:14:20 +08:00
Yu Chen
e71bbcbc8d 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
6d1960ecd9 explicitly UART.init() in rust_main 2023-01-03 09:32:36 +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
Yifan Wu
28a2bd68cc Merged PR #87 2022-09-02 02:58:26 -07:00
Yifan Wu
25a398adc2 Merged PR #87 2022-09-02 02:54:55 -07:00
Yu Chen
e7d6406f45 make build BOARD=k210 sucessfully 2022-06-23 22:23:49 +08:00
Yu Chen
7c2d1efee3 in gui app, can recv keyboard and mouse info 2022-06-20 23:57:11 +08:00
Yu Chen
a6c8f4de34 cargo fmt 2022-06-20 23:32:27 +08:00
Yu Chen
093db48d04 can run virtio gpu/block 2022-06-18 17:50:50 +08:00
Yu Chen
07029a2e5f add gui in os 2022-06-18 15:23:16 +08:00
Yu Chen
4e2436f757 cargo fmt 2022-05-14 22:54:20 +08:00
cuishuang
564212b685 fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-04-22 21:01:53 +08:00
Yu Chen
12ff9896e7 Merge branch 'ch9' into main 2022-03-20 20:36:12 +08:00
Yifan Wu
fb196d35a9 use exclusive_session to eliminate some explicit drops. 2022-03-10 16:41:06 -08:00
Yifan Wu
ba611a1458 We should disable sie before trapping back to user. 2022-03-10 16:27:05 -08:00
Yifan Wu
26f44233f6 Still a lot of bugs :( 2022-03-04 09:02:32 -08:00
Yifan Wu
704eae3bb0 Add ns16550a 2022-02-18 13:09:03 -08:00
Yifan Wu
fef12c79f1 Use latest virtio-drivers && add huge_write_mt but it cannot work now 2022-02-08 10:53:21 -08:00
Yifan Wu
c6db34e2c7 IRQ-based VirtIOBlk Access. Plz wait for the virtio-drivers crate to be updated. 2022-02-07 14:13:30 -08:00
Yifan Wu
e1ae9b6236 Merge recent updates from ch8 2022-01-26 01:53:39 -08:00
Yifan Wu
60143939d4 Add boards/ && clippy 2022-01-24 23:23:03 -08:00
Yifan Wu
ae3ba9c26f Small Fix && cargo fmt 2022-01-22 12:40:54 -08:00
Yu Chen
fbacac0585 Merge branch 'ch8' into main 2021-11-20 15:01:58 +08:00
Yifan Wu
5d2d508e25 Update rustsbi; huge_write writes 1MiB 2021-08-26 19:04:40 +08:00
Felix Yan
0ffc62f7c8 Correct typos in drivers/block/sdcard.rs 2021-08-08 17:46:41 +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
08bc677d3b Remove some warnings. 2020-12-20 23:49:35 +08:00
Yifan Wu
b68278f22e Fix virtio_phys_to_virt. Now we can load app from disk on qemu/k210! 2020-12-20 08:46:27 +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
15bc00732c Remove block device test. 2020-12-16 17:44:09 +08:00
Yifan Wu
c5cf3aa83e Add sdcard driver based on k210-rust crates && adjust clock freq. 2020-12-16 15:19:29 +08:00
Yifan Wu
eca5ee2eb7 virtio-blk worked. 2020-12-16 10:18:38 +08:00