Commit Graph

446 Commits

Author SHA1 Message Date
Yifan Wu
cc3ed1aa2b Modify run_pipe_test. 2022-12-14 00:20:45 +08:00
Yifan Wu
d7e5d2f630 Remove K210 support. 2022-12-13 23:52:27 +08:00
Yifan Wu
3042f74611 Update stack_overflow 2022-11-29 11:14:51 +08:00
Yifan Wu
414dbb3a09 in entry.asm: boot_stack->boot_stack_lower_bound 2022-11-29 10:33:55 +08:00
YdrMaster
2d92cd428c build: update toolchain
Signed-off-by: YdrMaster <ydrml@hotmail.com>
2022-10-20 11:47:37 +08:00
Xuewei Niu
d7ccea8f18 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
d0daf8f4a4 Bump rustsbi-qemu to 701e891 2022-10-09 05:41:44 +08:00
Yifan Wu
dd9ef8c9c5 Bump rustsbi-qemu to 701e891 2022-10-09 05:41:25 +08:00
Yifan Wu
ae75d3e6cf Update Docker 2022-10-01 22:21:18 +08:00
Yifan Wu
00d1d1bf3a Update Docker 2022-10-01 22:20:43 +08:00
Yifan Wu
c6b262fc86 Lock virtio-drivers version at 4ee80e5 2022-09-05 02:33:59 -07:00
Yifan Wu
648907524e Lock virtio-drivers version at 4ee80e5 2022-09-05 02:33:37 -07:00
Yifan Wu
53289a6d75 Merged PR #87 2022-09-02 02:58:26 -07:00
Yifan Wu
453a08fc0c Merged PR #87 2022-09-02 02:54:55 -07:00
Yu Chen
022b5bab6b udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36 2022-07-25 11:48:01 +08:00
Yu Chen
a2f3dc34f7 udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36 2022-07-25 11:47:07 +08:00
Yu Chen
1b72573dcd update Dockerfile: ubuntu 18.04-->20.04, QEMU-5.0-->7.0 2022-07-18 11:24:38 +08:00
Yu Chen
da13d0932c update Dockerfile: ubuntu 18.04-->20.04, QEMU-5.0-->7.0 2022-07-18 11:23:20 +08:00
Yu Chen
6b0d8e3fce support rust-analyzer for board_qemu features 2022-07-14 10:16:20 +08:00
Yu Chen
96b02e3b72 update .gitignore 2022-07-14 09:44:20 +08:00
Yu Chen
67915087a2 support rust-analyzer for board_qemu features 2022-07-14 09:37:06 +08:00
Yifan Wu
6a506a52e3 Upload logo. 2022-07-06 15:17:14 +01:00
Yifan Wu
cfc06e5554
Update README.md 2022-07-01 23:32:04 +01:00
chyyuu
902c4a253e
Update README.md 2022-06-30 19:58:21 +08:00
chyyuu
f6e7354163
Update README.md 2022-06-30 19:57:52 +08:00
Yu Chen
7f4b0d38dc update README 2022-06-23 22:41:51 +08:00
Yu Chen
3a3eba4f6e update README 2022-06-23 22:41:20 +08:00
Yu Chen
ae56d06854 update README 2022-06-23 22:40:22 +08:00
Yu Chen
ba145e0dc9 Merge branch 'ch9' into main 2022-06-23 22:31:38 +08:00
Yu Chen
2d28a0e597 updte CI script for cargo doc 2022-06-23 22:30:29 +08:00
Yu Chen
4bf40e76d9 Merge branch 'ch9' into main 2022-06-23 22:24:53 +08:00
Yu Chen
aee2000f15 make build BOARD=k210 sucessfully 2022-06-23 22:23:49 +08:00
Yu Chen
b57f54c178 update CI autoest for make build BOARD=k210 2022-06-23 21:57:22 +08:00
Yu Chen
410ee6c6c1 Merge branch 'ch9' into main 2022-06-23 00:21:42 +08:00
Yu Chen
23bd5df121 Merge branch 'ch9-dev' into ch9 2022-06-23 00:20:52 +08:00
Yu Chen
a72e2e4c41 update Makefile for CI autotest 2022-06-23 00:11:44 +08:00
Yu Chen
d5ccc3d700 add const VIRTGPU_XRES, VIRTGPU_YRES in boards/qemu.rs for X*Y resolution in virtio_gpu 2022-06-22 23:55:15 +08:00
Yu Chen
136d475bc5 change virtio-gpu resolution from 1024x768(qemu-5.2 default res) to 1280x800(qemu-7.0 default res) 2022-06-22 23:39:25 +08:00
Yu Chen
16264df503 sbi spec uses a6, a7 as sbicall id, so we need to set a6 to 0 2022-06-22 00:47:42 +08:00
Yu Chen
93730f40d9 update rustsbi commit-id 74c103bc0f0c1931074c6edcd65a83fdff3cec33 in git@github.com:YdrMaster/rustsbi-qemu.git 2022-06-22 00:47:21 +08:00
Yu Chen
a30ec73d55 make gui ; make gui TEST=1 (for autotest) can work correctly. But the os kernel has a little bug on drawing screen for gui app 2022-06-22 00:40:32 +08:00
Yu Chen
bc2aec9764 add VIRT_TEST MMIO range (0x0010_0000, 0x00_2000) 2022-06-22 00:23:33 +08:00
Yu Chen
6c0e13bb70 sbi spec uses a6, a7 as sbicall id, so we need to set a6 to 0 2022-06-22 00:17:50 +08:00
Yu Chen
b640c450f6 update rustsbi commit-id 74c103bc0f0c1931074c6edcd65a83fdff3cec33 in git@github.com:YdrMaster/rustsbi-qemu.git 2022-06-21 23:59:32 +08:00
Yu Chen
e87fb6a4cb sbi spec uses a6, a7 as sbicall id, so we need to set a6 to 0 2022-06-21 23:57:33 +08:00
Yu Chen
6730b82eed update rustsbi commit-id 74c103bc0f0c1931074c6edcd65a83fdff3cec33 in git@github.com:YdrMaster/rustsbi-qemu.git 2022-06-21 23:54:20 +08:00
Yu Chen
6d10d3e3a3 in gui app, can recv keyboard and mouse info 2022-06-20 23:57:11 +08:00
Yu Chen
39ba7253b0 get the device tree in qemu 2022-06-20 23:32:50 +08:00
Yu Chen
58096b08d6 cargo fmt 2022-06-20 23:32:27 +08:00
Yu Chen
f4a7714fe0 set correct virtio-blk irq num --> 8, now exec syscall can read file correctly, and shell can work again 2022-06-20 23:32:16 +08:00