Commit Graph

36 Commits

Author SHA1 Message Date
Yifan Wu
19c6265ed5 RefCell->UPSafeCell 2021-07-08 18:15:52 +08:00
Yifan Wu
579e83899a Update rustsbi to latest version & fix 02power 2021-07-08 16:21:44 +08:00
Yifan Wu
77f8e89306 Merge ch1 updates 2021-07-08 16:17:21 +08:00
Yifan Wu
85f7beae74 Downgrade cargo-binutils to 0.2.0 2021-04-05 16:20:38 +08:00
Yifan Wu
5369766b96 Bump rustsbi to 0.2.0-alpha.1[81d53d8] 2021-03-09 16:02:13 +08:00
Yifan Wu
d71a18ad63 Link small sections in linker 2021-03-07 19:52:58 +08:00
Yifan Wu
0305a62a76 Do not fetch tools when running on qemu. 2021-03-06 03:19:46 +08:00
Yifan Wu
17edea929b Add Ubuntu18.04 docker 2021-02-28 06:31:39 +08:00
Yifan Wu
2bccb014b4 Fix alignment in os/build.rs 2021-02-14 01:00:23 +08:00
Yifan Wu
75a9b0a80d Move kflash.py out of proj. 2021-02-08 11:27:43 +08:00
Yifan Wu
e9717e1052 Bump rustsbi to 0.1.1 && make config of qemu/k210 different 2021-02-07 17:28:26 +08:00
Yifan Wu
721abe99c4 Update os/Makefile && Update rust to 2021-01-30 2021-02-02 16:28:34 +08:00
Yifan Wu
9438782996 Fix os/Makefile: Support macOS 2021-01-21 00:12:48 +08:00
Yifan Wu
cfed8cb75c xstate -> exit_code 2021-01-18 21:32:15 +08:00
Yu Chen
9c50d7b2e2 rust-toochain --> nightly 2021-01-16 19:28:40 +08:00
Yifan Wu
335027f00b Wrap syscalls in user_lib & change xstate to exit_code. 2021-01-05 17:37:20 +08:00
Yifan Wu
df70bd8dcb Update format of link_user.S 2021-01-02 10:15:59 +08:00
Yifan Wu
ee1a063d42 Add env 2021-01-02 10:01:36 +08:00
Yifan Wu
f53f5e4b98 Chapter2: Clear .bss inside application. 2020-11-22 13:05:16 +08:00
Yifan Wu
5e5ed05399 Update rustsbi-qemu && batch worked on qemu/k210. 2020-11-20 11:10:38 +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
d1fcf2fc9f Removed unused cache. 2020-11-18 14:53:47 +08:00
Yifan Wu
7577c4f637 Update .gitignore 2020-11-18 14:51:12 +08:00
Yifan Wu
db8fbdc512 Update user/.gitignore. 2020-11-18 14:49:38 +08:00
Yifan Wu
db0c174f52 Add first user program hello_world.rs 2020-11-18 14:48:13 +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
721d0e5ecf Debug using gdb on qemu. 2020-11-11 16:59:44 +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
Yifan Wu
278bae2391 Update .gitignore. 2020-11-06 15:30:19 +08:00
Yifan Wu
7fa3dd33f2
Initial commit 2020-10-29 15:21:09 +08:00