Yifan Wu
dc1f9c9585
bugfix #144 : Do not free kstack when the main thread exits
2024-03-03 22:34:51 +08:00
Yifan Wu
35948f351c
config: use MEMORY_END from mod boards #136
2024-01-21 22:21:54 +08:00
Yifan Wu
fa676157da
codecheck: Fix warnings
2024-01-20 23:54:54 +08:00
n9wx
a8de24e578
fix: backtrace
2023-12-29 16:21:02 +08:00
Yifan Wu
827bb05b2e
fix issue #130
2023-11-13 23:37:13 +08:00
Yifan Wu
8ac0534091
Fix issue #123
2023-05-31 21:33:45 +08:00
Yifan Wu
fbd74f8a96
Update os/Makefile: Added QEMU_ARGS
2023-04-30 01:32:36 +08:00
Yifan Wu
45ab29ae1b
cargo fmt && use rustsbi as the bootl
2023-03-30 22:53:41 +08:00
yufeng
1896ddf509
fix warnnings
2023-03-30 22:20:01 +08:00
yufeng
5a63d8e1fe
add tcp support and tcp_simplehttp app
2023-03-30 22:19:57 +08:00
Yifan Wu
9832bafb44
fix CE
2023-03-29 23:17:34 +08:00
Yifan Wu
cd2e97b840
fix ch9 && remove some warnings
2023-03-29 22:47:44 +08:00
Yifan Wu
1a71b071f4
fix ch8
2023-03-29 22:47:43 +08:00
Yifan Wu
e48a85dd4b
fix ch5
2023-03-29 22:47:42 +08:00
Yifan Wu
8a9228d1fe
Use error! instead of println! when panicking
2023-03-29 22:47:42 +08:00
Yifan Wu
7cbefedc23
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
9ba3bea9db
Fix Compilation Error
2023-02-08 11:15:20 +08:00
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
yufeng
e80b7057a4
add alloc_more
2023-02-06 19:12:45 +08:00
Yifan Wu
9d9d3f496b
update condvar-related testcases.
2023-02-01 20:46:07 +08:00
Yifan Wu
24e40f3722
add_task->wakeup_task
2023-01-20 01:54:13 +08:00
Yifan Wu
274a7c0eb2
TaskStatus::Blocking->Blocked
2023-01-19 13:55:17 +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
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
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
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
Yifan Wu
4e5f16cb23
Fix pipe impl
2022-12-23 11:23:54 +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
775755cf12
Remove K210 support.
2022-12-13 23:52:27 +08:00
Yifan Wu
f6214968c8
in entry.asm: boot_stack->boot_stack_lower_bound
2022-11-29 10:33:55 +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
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