Commit Graph

93 Commits

Author SHA1 Message Date
Yifan Wu
fcf104f124 buildtools: feat #135: Check the version of QEMU ahead 2024-07-14 21:04:15 +08:00
Yifan Wu
eeb8ac2352 mm: bugfix #133: MapArea::copy_data does not need &mut PageTable 2024-06-30 20:38:31 +08:00
Yifan Wu
b100bcb0ed toolchain: Bump Rust to 1.80.0-nightly 2024-05-02 12:33:04 +08:00
Yifan Wu
bbeff6350f config: use MEMORY_END from mod boards #136 2024-01-21 22:09:10 +08:00
Yifan Wu
c462545bfb Fix issue #123 2023-05-31 21:20:00 +08:00
Yifan Wu
8e663030cb Update os/Makefile: Added QEMU_ARGS 2023-04-30 01:14:05 +08:00
Yifan Wu
9831b9e7e9 fix ch6 2023-03-29 21:04:20 +08:00
Yifan Wu
2919b14ef3 fix ch5 2023-03-29 20:55:11 +08:00
Yifan Wu
954d70d56e Use error! instead of println! when panicking 2023-03-29 20:54:15 +08:00
Yifan Wu
5f68141543 Using sbi-rt instead of asm && update rustsbi-qemu to latest
rustsbi-qemu version: a4f0bbe44d9f2f1069a9e5becd09f291e542852c
2023-03-29 20:54:11 +08:00
KuangjuX
dafaa4d7fd fix memory end 2023-02-12 11:07:58 +08:00
Yifan Wu
2cd4b625c6 Remove K210 support. 2022-12-14 00:12:50 +08:00
Yifan Wu
66a93a40a7 Remove K210 support. 2022-12-13 23:09:09 +08:00
Yifan Wu
e4e6446cdf in entry.asm: boot_stack->boot_stack_lower_bound 2022-11-29 09:56:01 +08:00
Yifan Wu
7f5d00acf1 Lock virtio-drivers version at 4ee80e5 2022-09-05 02:30:55 -07:00
DeathWish5
066ec932c8 ch6:update virtio interface 2022-09-01 16:08:41 +08:00
Yu Chen
3f0d1abad2 udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36 2022-07-25 11:49:06 +08:00
Yu Chen
d6ed4dd134 using rustc edtion 2021 2022-06-24 02:32:24 +08:00
Yu Chen
39037a97ca add CI autotest, update README 2022-06-24 01:26:26 +08:00
Yu Chen
f79bb085a6 sbi spec uses a6, a7 as sbicall id, so we need to set a6 to 0 2022-06-21 23:47:40 +08:00
Yu Chen
3aa7fac88a add cargo fmt in Makefile, and exec make fmt 2022-05-20 08:50:52 +08:00
Yifan Wu
daf439cff4 Fix #69. 2022-05-13 01:01:28 -07:00
hypocrasy
2bd1e826fd Add comments in ch6 2022-04-30 17:12:02 +08:00
hypocrasy
f9346edad1 Add comments in ch6 2022-04-30 16:04:58 +08:00
Yifan Wu
cea2febe35 Bump Rust to nightly-2022-04-11 && support debugging in release mode 2022-04-16 15:50:49 -07:00
Yifan Wu
04bb890fb7 Add boards/ && cargo clippy 2022-01-24 17:50:49 -08:00
Yifan Wu
b96db03e48 cargo clippy & fmt 2022-01-21 14:56:19 -08:00
Yifan Wu
b1b26fd788 Remove os/src/loader.rs 2022-01-18 04:29:38 -08:00
Yifan Wu
e9597d901b Remove cmdargs and i/o redirection. 2022-01-18 04:19:05 -08:00
Yifan Wu
5389b7adca Remove pipe && Fix cat and huge_write. 2022-01-18 03:33:58 -08:00
Yifan Wu
57f7debbc6 Substituted to the original ch7 code. 2022-01-18 02:48:50 -08:00
Yifan Wu
4fdd55e2e8 Now PageTable::unmap calls PageTable::find_pte instead of PageTable::find_pte_create. 2022-01-13 17:13:42 -08:00
Yifan Wu
bbaad9a719 Kernel cannot dump now. 2022-01-03 19:39:20 -08:00
Yifan Wu
48109c34d0 Bump to rust nightly-2022-01-01, feature global_asm,asm->stable 2022-01-01 02:24:51 -08:00
Yifan Wu
68151ed6c5 Update os/Makefile, rm ... -f -> rm -f ... 2021-11-27 01:55:25 -08:00
Yifan Wu
1f86903267 Now construction of PA/VA only uses 56/39 bits. 2021-11-13 02:59:29 -08:00
Yifan Wu
9d6346ade7 rust->nightly-2021-10-15,cargo-binutils->0.3.3 2021-10-20 13:34:57 -07:00
Yifan Wu
6695610c63 Update rustc && rustsbi 2021-08-26 20:58:52 +08:00
Yifan Wu
3c9b6d7d14 spin::Mutex->UPSafeCell 2021-07-20 22:10:22 +08:00
Yifan Wu
c82861f205 Downgrade cargo-binutils to 0.2.0 2021-04-05 16:28:19 +08:00
Yifan Wu
0b33985d4b Link small sections in linker 2021-03-07 19:58:54 +08:00
Yifan Wu
0f6d02f18b Do not fetch tools when running on qemu. 2021-03-06 03:27:43 +08:00
Yifan Wu
291d5b210f Fix overflow bug when ceiling va 2021-02-24 03:50:00 +08:00
Yifan Wu
d6056ef07c Remove Any Trait of File 2021-02-19 00:34:02 +08:00
Yifan Wu
946b37a237 Fix lock uses in ch5 2021-02-16 20:50:03 +08:00
Yifan Wu
a15a76edb9 Mutex -> RefCell in Processor. 2021-02-15 16:42:51 +08:00
Yifan Wu
e769804090 Fix alignment in os/build.rs 2021-02-14 00:55:46 +08:00
Yifan Wu
66d7723c72 Update app loader. 2021-02-12 13:04:15 +08:00
Yifan Wu
fb8a24fbad Replace TCB.inner.block with TCB::acquire_inner_lock 2021-02-11 10:26:52 +08:00
Yifan Wu
0ecf88ade6 Move kflash.py out of proj. 2021-02-08 11:25:12 +08:00