Commit Graph

41 Commits

Author SHA1 Message Date
Yifan Wu
9fa4fd6daa
Merge pull request #15 from buhe/ch3-coop
use python script instead of system exe
2021-04-07 16:42:52 +08:00
Yifan Wu
cc62871b92 Bump rustsbi to 0.2.0-alpha.1[81d53d8] 2021-04-07 16:42:19 +08:00
Yifan Wu
eb61923207 Apply lost patches. 2021-04-07 16:39:45 +08:00
buhe
5bcb009ac3 revert code 2021-04-07 15:15:46 +08:00
buhe
c039c286db use python script instead of system exe 2021-04-07 15:13:47 +08:00
buhe
2394022aac change to my setting 2021-04-07 14:59:22 +08:00
Yifan Wu
dbb3d6c561 Downgrade cargo-binutils to 0.2.0 2021-04-05 16:27:09 +08:00
Yifan Wu
62e02b8fa3 Flush git cache. 2021-02-28 19:21:17 +08:00
Yifan Wu
db2bb39981 Add recent updates from ch3 2021-02-28 19:20:21 +08:00
Yifan Wu
e73735e5e4 Bump rustsbi to 0.1.1 && make config of qemu/k210 different 2021-02-07 18:11:39 +08:00
Yifan Wu
cf11c789d1 Declare _unused explicitly when running first task. 2021-01-30 01:24:58 +08:00
Yu Chen
7fd17b6f65 rust-toochain --> nightly 2021-01-16 19:28:14 +08:00
Yifan Wu
5e7a10477c Update task public APIs. 2021-01-06 11:44:21 +08:00
Yifan Wu
a80f71ac4c Remove unused sys_get_time 2021-01-06 00:05:21 +08:00
Yifan Wu
81de8ea415 Fix xstate. 2021-01-06 00:03:33 +08:00
Yifan Wu
17dafb9000 Wrap syscalls in user_lib && change xstate to exit_code 2021-01-05 23:39:23 +08:00
Yifan Wu
ad70d96155 Move some variable name to task_cx to task_cx_ptr2. 2021-01-04 16:00:19 +08:00
Yifan Wu
cec9b5aee9 Add env && Update link_user.S format. 2021-01-02 10:19:14 +08:00
Yifan Wu
5d6c7548fc Release mode applications worked on ch3-coop. 2020-11-30 10:33:01 +08:00
Yifan Wu
efff1c0db6 Small Update. 2020-11-30 09:56:35 +08:00
Yifan Wu
4590f233b5 sys_yield tests worked on qemu. 2020-11-29 04:01:38 +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
e552f3cfca Add sys_yield tests and compile them to different location. 2020-11-28 16:22:29 +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