Yifan Wu
4e84c5767e
updates from ch8
2023-01-13 09:54:54 +08:00
Yifan Wu
3183b81f87
updates from ch9
2023-01-13 08:55:42 +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
Yifan Wu
4022cc3ed7
Split user_lib into modules && provide Display in user_lib
2023-01-11 09:02:54 -08:00
Yu Chen
73fcb72cbb
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
2cbd237260
Add snake gui app and update os/usr parts. Now snake can run!
2023-01-08 22:41:41 +08:00
Yu Chen
b40120f8ff
udpate gui apps, uart and gpu can work together
2023-01-07 23:36:05 +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
f2635c2dba
fix compiling err in usr/src/bin/embed_graph.rs
2023-01-07 18:53:48 +08:00
Yu Chen
e0eb517517
add embedded-graphics crate, but compiling error
2023-01-07 18:17:43 +08:00
Yu Chen
beaef1f304
simple gui app can run now!
2023-01-07 16:11:41 +08:00
Yu Chen
944f114cf8
update move_rect Fn
2023-01-03 18:34:45 +08:00
Yu Chen
4aaa7f9206
update code, now '-bios none' can get the same result as ch9
2023-01-03 10:05:40 +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
Yu Chen
b1c5751546
temp stage2:add pmpaddr0/pmpcfg0 setup
2023-01-03 08:45:00 +08:00
Yu Chen
2e57ec432a
temp stage
2023-01-02 20:06:03 +08:00
Yu Chen
58bf26222f
run in qemu -bios none ENV
2023-01-02 11:28:06 +08:00
Yu Chen
8947b7e4c3
Merge branch 'ch9' into ch9-dev
2023-01-02 10:16:41 +08:00
Yu Chen
01856f5243
fix rust-analyzer warning
2022-12-31 10:36:35 +08:00
Yifan Wu
4e5f16cb23
Fix pipe impl
2022-12-23 11:23:54 +08:00
Yifan Wu
3144455b55
user add fp support
2022-12-21 21:27:17 +08:00
Yifan Wu
b45dd60594
Add coroutine examples
2022-12-21 11:11:50 +08:00
Yifan Wu
728b6e5819
Remove a dependency
2022-12-19 04:48:45 -08:00
Yifan Wu
932ae94711
feat: simple drawing board GUI
2022-12-19 03:55:58 -08:00
Yifan Wu
206c09fe86
Workflow: Remove k210 support.
2022-12-14 00:41:59 +08:00
Yifan Wu
b1173161fc
Modify run_pipe_test.
2022-12-14 00:20:45 +08:00
Yifan Wu
775755cf12
Remove K210 support.
2022-12-13 23:52:27 +08:00
Yifan Wu
3fba081487
Update stack_overflow
2022-11-29 11:14:51 +08:00
Yifan Wu
f6214968c8
in entry.asm: boot_stack->boot_stack_lower_bound
2022-11-29 10:33:55 +08:00
YdrMaster
bcdb63187b
build: update toolchain
...
Signed-off-by: YdrMaster <ydrml@hotmail.com>
2022-10-20 11:47:37 +08:00
Xuewei Niu
1df9c1a98d
fix(os): fix kstack leak issues
...
The kstack_id is not recycled when KernelStack is dropped, which leads to kstack
leak issue. Ch8 branch, and branches after that, are also affected by this
issue.
Signed-off-by: Xuewei Niu <justxuewei@apache.org>
2022-10-19 17:30:49 +08:00
Yifan Wu
7a74f84073
Bump rustsbi-qemu to 701e891
2022-10-09 05:41:44 +08:00
Yifan Wu
6bcb91a7d0
Bump rustsbi-qemu to 701e891
2022-10-09 05:41:25 +08:00
Yifan Wu
a8355d6c35
Update Docker
2022-10-01 22:21:18 +08:00
Yifan Wu
21287b2f8f
Update Docker
2022-10-01 22:20:43 +08:00
Yifan Wu
300c7efb14
Lock virtio-drivers version at 4ee80e5
2022-09-05 02:33:59 -07:00
Yifan Wu
9fee963ade
Lock virtio-drivers version at 4ee80e5
2022-09-05 02:33:37 -07: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
25f4e37168
udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36
2022-07-25 11:48:01 +08:00
Yu Chen
5a62191294
udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36
2022-07-25 11:47:07 +08:00
Yu Chen
836849e09b
update Dockerfile: ubuntu 18.04-->20.04, QEMU-5.0-->7.0
2022-07-18 11:24:38 +08:00
Yu Chen
03fed62db1
update Dockerfile: ubuntu 18.04-->20.04, QEMU-5.0-->7.0
2022-07-18 11:23:20 +08:00
Yu Chen
d28f40d7ec
support rust-analyzer for board_qemu features
2022-07-14 10:16:20 +08:00
Yu Chen
6d435500f4
update .gitignore
2022-07-14 09:44:20 +08:00
Yu Chen
637cb41d46
support rust-analyzer for board_qemu features
2022-07-14 09:37:06 +08:00
Yifan Wu
d3cc2b05c0
Upload logo.
2022-07-06 15:17:14 +01:00