Commit graph

33 commits

Author SHA1 Message Date
Yifan Wu
5b846fce6a Bump Rust version to nightly-2025-02-18(2024 Edition) 2025-02-26 22:49:56 +08:00
Yifan Wu
6699e80a30 logging: bugfix #137: Init log module to enable logging macros 2025-02-10 23:12:22 +08:00
Yifan Wu
66a93a40a7 Remove K210 support. 2022-12-13 23:09:09 +08:00
Yu Chen
3aa7fac88a add cargo fmt in Makefile, and exec make fmt 2022-05-20 08:50:52 +08: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
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
57f7debbc6 Substituted to the original ch7 code. 2022-01-18 02:48:50 -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
3c9b6d7d14 spin::Mutex->UPSafeCell 2021-07-20 22:10:22 +08:00
Yifan Wu
2e6734027d Rewrite Stdin/Stdout 2020-12-13 15:07:19 +08:00
Yifan Wu
7a1bc49eb3 Update rustsbi-k210 to enable lagacy console_putchar. Adjust alignment of links apps. Run matrix on K210! 2020-12-10 17:20:13 +08:00
Yifan Wu
3a2f89fc67 Avoid panicking when inputting error app name; List all apps when initializing. 2020-12-10 14:51:50 +08:00
Yifan Wu
3642f9c56d Implement many process syscalls. 2020-12-10 11:57:26 +08:00
Yifan Wu
1bc53c0b5f Split TaskManager and Processor. 2020-12-08 15:37:10 +08:00
Yifan Wu
8ee3671269 Split kernel/user trap handler && Fix user tests. 2020-12-07 18:57:23 +08:00
Yifan Wu
064f1cb5cb Fetching buffer arguments from user space. 2020-12-06 13:56:13 +08:00
Yifan Wu
3625b7578d Analyse ELF. 2020-12-04 17:53:14 +08:00
Yifan Wu
0011fe9477 Kernel remapped. 2020-12-04 17:23:35 +08:00
Yifan Wu
1256085d36 Frame Allocator OK. 2020-12-03 10:40:30 +08:00
Yifan Wu
2fd70b0ff4 Heap test passed on k210/qemu, heap size = 3M. 2020-12-02 10:32:26 +08:00
Yifan Wu
63aaa9d0a1 Chapter3: power2/3/5 & sleep test worked on k210/qemu based on timer. 2020-11-29 10:31:15 +08:00
Yifan Wu
91043b08cd Switch ok with debug mode apps, implement sys_exit correctly later. 2020-11-29 01:31:36 +08:00
Yifan Wu
3b920ac8f5 Run hello_world/power one by one in batch mode. 2020-11-20 01:18:25 +08:00
Yifan Wu
e9949e5bd4 Try batch but kernel panicked. 2020-11-19 18:01:16 +08:00
Yifan Wu
0d0c7255b6 Auto link multiple applications in kernel. 2020-11-19 04:33:06 +08:00
Yifan Wu
f613fa122c Working on app data auto linking. 2020-11-18 18:29:53 +08:00
Yifan Wu
c701cd00ce Chapter1: Update panic_handler. 2020-11-13 12:06:39 +08:00
Yifan Wu
49050aca3f Update linker & Hello k210/qemu(release mode). 2020-11-12 17:13:57 +08:00
Yifan Wu
406acaae2c Small update. 2020-11-11 23:40:00 +08:00
Yifan Wu
5370f725be Load kernel on qemu/k210. 2020-11-11 16:50:00 +08:00
Yifan Wu
29f4683ad8 Compiled on target platform. 2020-11-10 23:02:38 +08:00