Commit Graph

311 Commits

Author SHA1 Message Date
Yu Chen
b57f54c178 update CI autoest for make build BOARD=k210 2022-06-23 21:57:22 +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
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
Yu Chen
85d4d72a4d create_desktop in kernel can run correctly 2022-06-20 22:41:20 +08:00
Yu Chen
d575855a15 merge main 2022-06-18 18:11:31 +08:00
Yu Chen
64dc2ffc10 add/update gui user apps/libs 2022-06-18 17:57:54 +08:00
Yu Chen
e7e7d572ba can run virtio gpu/block 2022-06-18 17:50:50 +08:00
Yu Chen
efc35aee3b add gui in os 2022-06-18 15:23:16 +08:00
Yifan Wu
bb9b32be61 Fix #79. 2022-05-27 23:42:53 -07:00
Yifan Wu
0a02901c59
Merge pull request #79 from Direktor799/main
fix(BlockCache): Vec as aligned buf
2022-05-28 14:32:59 +08:00
Direktor799
c94782fb4f fix(BlockCache): Vec as aligned buf
use a Vec allocated from buddy system to make sure it's well aligned
2022-05-28 11:25:55 +08:00
Yu Chen
21bae8b034 add cargo fmt in Makefile, and exec make fmt 2022-05-20 08:59:11 +08:00
Yu Chen
5a362ba7cd add cargo fmt in Makefile, and exec make fmt 2022-05-20 08:40:09 +08:00
Yu Chen
a773a977e7 udpate README 2022-05-18 09:42:22 +08:00
Yu Chen
ae7160a51e udpate README 2022-05-18 09:41:25 +08:00
Yu Chen
543dc14b1c Merge branch 'main' into ch9 2022-05-16 14:35:54 +08:00
chyyuu
d52256baa9
Merge pull request #78 from CL8192/forktree-fix
wait child exit in forktree
2022-05-16 14:34:56 +08:00
cl8192
7c83dd49e7 wait child exit in forktree 2022-05-16 08:32:38 +08:00
Yu Chen
fc499b1bce remove .github/workflows/build-doc.yml 2022-05-16 08:29:43 +08:00
Yu Chen
5d9b946370 update .gitignore 2022-05-16 08:25:53 +08:00
Yu Chen
d58ec14719 merge from main 2022-05-16 08:23:47 +08:00
Yu Chen
9a95c7dcb4 update usr apps: usertests.rs cat.rs. now all apps in usertests can run correctly 2022-05-16 07:44:06 +08:00
chyyuu
cc10cd10eb
Merge pull request #77 from CL8192/dev
initiatively exit child in forktree
2022-05-16 07:05:15 +08:00
yuoo655
b732da242d initiatively exit child in forktree 2022-05-16 06:35:04 +08:00
Yu Chen
ca997784ab add comments for qemu-exit 2022-05-15 17:37:23 +08:00
Yu Chen
a85cb98743 add VIRT_TEST support for qemu exit with exit_code, for CI autotest 2022-05-15 17:34:24 +08:00
Yu Chen
31a2873a61 update rustsbi-qemu 'commit id:c1761f2' :: setup PMP addr[base:0x0010_0000, len: 0x0000_2000] for VIRT_TEST/RTC 2022-05-15 17:32:38 +08:00
Yu Chen
1371aab236 add more apps for test 2022-05-15 12:49:53 +08:00
chyyuu
e615ae4483
Merge pull request #45 from DeathWish5/main
Peterson algorithm and Eisenberg & McGuire algorithm
2022-05-15 12:28:58 +08:00
chyyuu
18d4a89ab7
Merge branch 'main' into main 2022-05-15 12:28:47 +08:00
Yu Chen
c234d1417b fix bug in sbi_shutdown 2022-05-15 12:18:39 +08:00
Yu Chen
cf00c3ae5d update github CI for autotest 2022-05-15 12:03:05 +08:00
chyyuu
87cd106b67
Merge pull request #75 from CL8192/main
add ci tests update usertests
2022-05-15 09:02:24 +08:00
chyyuu
3d5e9ed9e6
Merge branch 'main' into main 2022-05-15 08:49:12 +08:00
chyyuu
2bd092dd64
Merge pull request #74 from YdrMaster/main
CI: cache qemu
2022-05-15 08:47:15 +08:00
yuoo655
07675fcd00 add ci tests update usertests 2022-05-15 08:29:27 +08:00
YdrMaster
c9a288c110 ci: cache qemu
update: .gitignore, .vscode/settings.json
2022-05-14 23:59:04 +08:00
Yu Chen
8e73480c99 cargo fmt 2022-05-14 22:54:20 +08:00