Commit Graph

123 Commits

Author SHA1 Message Date
Yifan Wu
dc81bd1a1f buildtools: feat #135: Check the version of QEMU ahead 2024-07-14 21:04:50 +08:00
Yifan Wu
a2641c2dd2 mm: bugfix #133: MapArea::copy_data does not need &mut PageTable 2024-06-30 20:38:47 +08:00
Yifan Wu
37a73e448b toolchain: Bump Rust to 1.80.0-nightly 2024-05-10 22:00:34 +08:00
Yifan Wu
49c982d9c7 bugfix #144: Do not free kstack when the main thread exits 2024-03-03 22:09:17 +08:00
Yifan Wu
bcce8a35e0 config: use MEMORY_END from mod boards #136 2024-01-21 22:14:39 +08:00
Yifan Wu
2ce5e52166 codecheck: Fix warnings 2024-01-21 15:51:09 +08:00
Yifan Wu
7a73d4e302 Fix issue #123 2023-05-31 21:25:19 +08:00
Yifan Wu
173f4012cb Update os/Makefile: Added QEMU_ARGS 2023-04-30 01:17:01 +08:00
Yifan Wu
9f0288dc8b cargo fmt 2023-03-30 23:00:11 +08:00
Yifan Wu
753aa8e9ab fix ch8 2023-03-29 21:16:34 +08:00
Yifan Wu
9b5ddf22b2 fix ch5 2023-03-29 21:12:52 +08:00
Yifan Wu
aa2db574e5 Use error! instead of println! when panicking 2023-03-29 21:10:10 +08:00
Yifan Wu
a16b6651b1 Using sbi-rt instead of asm && update rustsbi-qemu to latest
rustsbi-qemu version: a4f0bbe44d9f2f1069a9e5becd09f291e542852c
2023-03-29 21:10:08 +08:00
Yifan Wu
0c4e8f1fd6 Fix issue #92 2023-02-08 11:32:15 +08:00
Yifan Wu
bf5b5f7d07 update condvar-related testcases. 2023-02-01 20:37:17 +08:00
Yifan Wu
d6362da0ac add_task->wakeup_task 2023-01-20 01:45:20 +08:00
Yifan Wu
1f5b1cc4d6 TaskStatus::Blocking->Blocked 2023-01-19 13:50:00 +08:00
Yu Chen
e707679c13 fix for rust analyzer warning 2022-12-31 10:46:57 +08:00
Yifan Wu
ea15a26f22 Fix pipe impl 2022-12-23 11:23:22 +08:00
Yifan Wu
5bd974a87e Remove K210 support. 2022-12-13 23:31:24 +08:00
Yifan Wu
d2a6cd23e0 in entry.asm: boot_stack->boot_stack_lower_bound 2022-11-29 10:24:48 +08:00
Yifan Wu
c581aac08b Lock virtio-drivers version at 4ee80e5 2022-09-05 02:33:12 -07:00
Yifan Wu
be4de8bf1d Merged PR #87 2022-09-02 02:20:27 -07:00
Yu Chen
31aa8b57f2 udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36 2022-07-25 11:48:26 +08:00
Yu Chen
ba804fc841 using rustc edtion 2021 2022-06-24 02:29:03 +08:00
Yu Chen
6b51c34c43 add CI autotest, update README 2022-06-24 02:25:30 +08:00
Yu Chen
03a7e2f0b9 sbi spec uses a6, a7 as sbicall id, so we need to set a6 to 0 2022-06-21 23:50:08 +08:00
Yifan Wu
82c2eca278 Issue #60: added some comments about mutex/semaphore. 2022-05-21 16:03:42 -07:00
Yifan Wu
fcfd5b6db7 Add early_exit2 & Fix issue #60. 2022-05-21 15:58:25 -07:00
Yu Chen
5729debb09 add cargo fmt in Makefile, and exec make fmt 2022-05-20 08:49:16 +08:00
Yifan Wu
fdeaca9bb0 Fix #69. 2022-05-13 01:02:12 -07:00
youyuyang
2e6da60a27 FIX: Avoid double-borrow when thread early exits 2022-05-13 10:40:37 +08:00
Yifan Wu
cc1e55c958 Bump Rust to nightly-2022-04-11 && support debugging in release mode 2022-04-16 15:56:41 -07:00
Yifan Wu
61152471b7 Add boards/ && clippy 2022-01-24 23:23:03 -08:00
Yifan Wu
6f09af2c0f Support signal mechanism for ch8(only works on signal-thread apps) 2022-01-23 13:14:56 -08:00
Yifan Wu
1c55663478 Small Fix && cargo fmt 2022-01-22 12:40:54 -08:00
Yifan Wu
740730e7f7 Merge recent update from ch7 && cargo clippy 2022-01-22 12:32:36 -08:00
Yifan Wu
2ac621972c Merge recent updates from ch7. 2022-01-18 04:40:07 -08:00
Yifan Wu
72d6b38fca Now PageTable::unmap calls PageTable::find_pte instead of PageTable::find_pte_create. 2022-01-13 17:24:19 -08:00
Yifan Wu
cf6d905ac4 Kernel cannot dump now. 2022-01-03 19:40:30 -08:00
Yifan Wu
abd9d361e4 Bump to rust nightly-2022-01-01, feature global_asm,asm->stable 2022-01-01 03:07:09 -08:00
Yu Chen
713e78ea91 add condvar in kernel and app 2021-12-13 15:30:27 +08:00
Yu Chen
90796450fe fix typo of sys_semaphore_create 2021-12-11 21:11:10 +08:00
Yifan Wu
4ad64e83f6 MutexBlocking works correctly. 2021-12-09 08:46:08 -08:00
Yifan Wu
b77b108a28 Update os/Makefile, rm ... -f -> rm -f ... 2021-11-27 01:57:11 -08:00
Yifan Wu
2041a7c0d4 Now construction of PA/VA only uses 56/39 bits. 2021-11-13 03:06:44 -08:00
Yifan Wu
cd6754a7df rust->nightly-2021-10-15,cargo-binutils->0.3.3 2021-10-20 13:49:12 -07:00
Yifan Wu
5753a09366 Implement mpsc using semaphores. 2021-10-10 17:20:53 -07:00
Yifan Wu
b851f8d743 Create threads with a argument. See bin/threads_arg.rs 2021-10-08 13:50:36 -07:00
Yifan Wu
8adfc90db9 Implement sleep using blocking & BinaryHeap. 2021-10-08 12:55:39 -07:00