Commit Graph

179 Commits

Author SHA1 Message Date
Yifan Wu
e0c0ec8764 Using sbi-rt instead of asm && update rustsbi-qemu to latest
rustsbi-qemu version: a4f0bbe44d9f2f1069a9e5becd09f291e542852c
2023-03-29 21:06:22 +08:00
Yifan Wu
ae65a57069 Remove unnecessary output. 2023-02-01 21:16:25 +08:00
Yifan Wu
1aa2d8c185 bug fix: now a0 will not be overwritten after sys_sigreturn 2023-01-21 06:58:54 +08:00
Yu Chen
e5daa738c5 fix for rust-analyzer warning 2022-12-31 11:01:10 +08:00
Yifan Wu
8d857c5a53 user add fp support 2022-12-21 21:18:51 +08:00
Yifan Wu
f29ef86798 Workflow: Remove k210 support. 2022-12-14 00:39:00 +08:00
Yifan Wu
861ee7acf5 Modify run_pipe_test. 2022-12-14 00:19:25 +08:00
Yifan Wu
95ae533972 Remove K210 support. 2022-12-14 00:15:23 +08:00
Yifan Wu
3db650a17b Remove K210 support. 2022-12-13 23:17:42 +08:00
Yifan Wu
a45c8baf51
Update doc-and-test.yml 2022-12-13 19:31:22 +08:00
Yifan Wu
f4417890eb
Update doc-and-test.yml 2022-12-13 19:14:46 +08:00
Yifan Wu
62dd4a267a
Update doc-and-test.yml 2022-12-13 17:13:26 +08:00
Yifan Wu
d11ee19733 Fix a typo: sys_sigreturn 2022-12-09 23:12:23 +08:00
Yifan Wu
938568ead8 Do not cover task_inner.signal_mask in user_signal_handler 2022-12-09 22:05:45 +08:00
Yifan Wu
b764b070d4 Simplify handle_signals and check_pending_signals 2022-12-09 20:02:16 +08:00
Yifan Wu
d1ae57cf19 Fix pipe impl && simplify sig_tests 2022-12-09 00:10:18 +08:00
Yifan Wu
71c73c16c4 Fix sigaction api and impl && stdio do not handle ctrl-c 2022-12-08 22:07:52 +08:00
root
e8bb2e3afa Remove Ctrl-C in stdio && remove sig_ctrlc(will be back in ch9) 2022-12-03 00:04:02 +08:00
root
a0e2bf4c58 Fix signal tests 2022-12-02 10:44:41 +08:00
Yifan Wu
fe0200e27a Update stack_overflow 2022-11-29 11:14:10 +08:00
Yifan Wu
535d9cd1ed in entry.asm: boot_stack->boot_stack_lower_bound 2022-11-29 10:13:22 +08:00
YdrMaster
44c444dd03 build: update toolchain
Signed-off-by: YdrMaster <ydrml@hotmail.com>
2022-10-20 11:49:04 +08:00
Yifan Wu
cf481352d7 Bump rustsbi-qemu to 701e891 2022-10-09 05:40:38 +08:00
Yifan Wu
2075c26ae7 Update Docker 2022-10-01 22:19:22 +08:00
Yifan Wu
82d82fe0ed Lock virtio-drivers version at 4ee80e5 2022-09-05 02:32:28 -07:00
Yifan Wu
9cebc2a1f8 Merged PR #87 2022-09-02 02:19:12 -07:00
Yu Chen
bca4146cb3 udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36 2022-07-25 11:48:48 +08:00
Yu Chen
b917571477 update Dockerfile: ubuntu 18.04-->20.04, QEMU-5.0-->7.0 2022-07-18 11:25:05 +08:00
Yu Chen
fa29461e36 support rust-analyzer for board_qemu features 2022-07-14 09:56:34 +08:00
Yu Chen
55eaf529a9 using rustc edtion 2021 2022-06-24 02:30:41 +08:00
Yu Chen
e9118c56e0 add CI autotest, update README 2022-06-24 01:55:16 +08:00
Yu Chen
a447f1bea0 sbi spec uses a6, a7 as sbicall id, so we need to set a6 to 0 2022-06-21 23:48:53 +08:00
Yu Chen
03e8c8ccc2 update rustsbi commit-id 74c103bc0f0c1931074c6edcd65a83fdff3cec33 in git@github.com:YdrMaster/rustsbi-qemu.git 2022-06-21 23:48:43 +08:00
Yifan Wu
4c049f6274 Fix #79. 2022-05-27 23:36:43 -07:00
Yu Chen
6906508d6c add cargo fmt in Makefile, and exec make fmt 2022-05-20 08:50:01 +08:00
Yifan Wu
8b8e48fd6d Fix #69. 2022-05-13 01:01:57 -07:00
Yu Chen
855dc0d393 add kernel print info for default sig action 2022-05-08 22:20:34 +08:00
Yu Chen
aa91ba8a9e clean comments in kernel, and fix typo in usr app:sig_ctrlc 2022-05-07 13:35:47 +08:00
Yu Chen
ce7e6bc668 default signal for ctrl_c can work now. p.s. add more debug info 2022-05-07 13:30:19 +08:00
Yu Chen
2ba356050d add ctrl-c response in fs/stdio.rs::read. But the default sig action for SIGINT is still wrong 2022-05-07 11:38:17 +08:00
Yu Chen
32098d61d3 add usr app: sig_ctrlc for sig testing 2022-05-07 11:36:26 +08:00
Yu Chen
40c84071c0 add usr app: getchar 2022-05-07 11:36:06 +08:00
Yu Chen
6a6dd5e948 fix little bug on SIGDEF 2022-04-26 17:18:41 +08:00
Yu Chen
ad28f5f627 update signal impl and apps 2022-04-26 12:26:54 +08:00
liusm18
a6b278fe10 Fix coding style & add one more test 2022-04-22 15:05:06 +08:00
liusm18
ae1a50673d Remove sigret.S 2022-04-22 14:54:50 +08:00
liusm18
7a97faee6c Add signal user lib 2022-04-22 14:31:28 +08:00
liusm18
1d7b8141f0 Add sigret and finish signal handling 2022-04-20 20:17:57 +08:00
liusm18
fae8641f36 Add sigaction struct and sys_call 2022-04-19 11:28:44 +08:00
liusm18
598d8d4538 Add sigprocmask 2022-04-19 00:21:47 +08:00