Commit Graph

213 Commits

Author SHA1 Message Date
luojia65 7bae22b118 Change design of sleeping state 2021-04-25 14:32:47 +08:00
luojia65 4d583f52a2 Merge branch 'reformat-user-library' into main 2021-04-25 13:31:04 +08:00
luojia65 a7dab8de22 Use syscall instead of SBI call in shared scheduler 2021-04-25 13:30:11 +08:00
Chunchi Che f7f19f3c5d
Merge pull request #30 from HUST-OS/clean_up_the_code
Clean up the code
2021-04-25 01:06:48 +08:00
SKTT1Ryze 951f4ec3b3 small fix 2021-04-25 01:06:22 +08:00
Chunchi Che 114857add4
Merge pull request #29 from HUST-OS/main
merge main to clean_up_the_code
2021-04-25 00:05:39 +08:00
Luo Jia a06a473d13
Merge pull request #28 from HUST-OS/reformat-user-library
重新整理用户层标准库
2021-04-24 10:21:13 -05:00
luojia65 0a05ae056d Spawn primitive 2021-04-24 23:19:38 +08:00
luojia65 7b305f171b Bug fix 2021-04-24 23:14:54 +08:00
Luo Jia 369a55aa15
Merge branch 'main' into reformat-user-library 2021-04-24 10:13:41 -05:00
luojia65 d79a28c05f Code clean-up 2021-04-24 23:09:42 +08:00
luojia65 5008882915 Bug fix: LLVM seems to link function with name 'entry' to program entry 2021-04-24 23:07:19 +08:00
luojia65 1d110c86fb Reformat user library 2021-04-24 22:15:24 +08:00
Chunchi Che a61ae2929b
Merge pull request #27 from HUST-OS/clean_up_the_code
change user excutor
2021-04-24 21:40:20 +08:00
SKTT1Ryze 12dd406c1a change user excutor 2021-04-24 19:10:35 +08:00
Chunchi Che 53967e523c
Merge pull request #26 from HUST-OS/clean_up_the_code
support print and println in user mode
2021-04-24 17:14:05 +08:00
SKTT1Ryze 1a43dbbb49 support print and println in user mode 2021-04-24 17:12:57 +08:00
Chunchi Che 480081b1b9
Merge pull request #25 from HUST-OS/clean_up_the_code
Clean up the code
2021-04-24 15:25:38 +08:00
SKTT1Ryze 1efb4ba75d fix user excutor 2021-04-24 15:16:24 +08:00
SKTT1Ryze 1ba3622aa6 rerange user syscall 2021-04-24 14:41:48 +08:00
Chunchi Che 035f4024b2
Merge pull request #24 from HUST-OS/clean_up_the_code
Clean up the code
2021-04-24 11:08:14 +08:00
SKTT1Ryze b9a6dba099 add some comment and remove excutor.rs in user 2021-04-24 11:05:16 +08:00
Chunchi Che b394e12ad6
Merge pull request #23 from HUST-OS/main
merge from main
2021-04-24 01:21:54 +08:00
Chunchi Che f566e8ecc5
Merge pull request #22 from HUST-OS/unified-sleep
修改调度算法定义
2021-04-24 01:15:18 +08:00
luojia65 10db28bced Fix task representation, remove Arc 2021-04-24 00:42:42 +08:00
luojia65 a873416449 Move task state into shared task handle 2021-04-24 00:38:39 +08:00
luojia65 f607542369 Change task pointer definition in shared scheduler 2021-04-23 21:54:05 +08:00
luojia65 f698ad0aaf Add comments to shared scheduler 2021-04-21 22:39:30 +08:00
luojia65 00d8d2c31e Initialize shared scheduler 2021-04-21 22:18:45 +08:00
luojia65 384db73bbc Rename shared scheduler raw table 2021-04-21 21:23:05 +08:00
luojia65 f3677761ac Code clean-up 2021-04-21 21:14:12 +08:00
luojia65 5178a499db Code cleanup for trap (step 1) 2021-04-21 20:43:33 +08:00
luojia65 89a2d73ff8 Remove shared text and data section in kernel 2021-04-21 16:58:01 +08:00
luojia65 bf9e4be7b6 Code cleanup 2021-04-21 12:54:30 +08:00
luojia65 844cec74d0 Small fix for payload address offset 2021-04-21 12:42:59 +08:00
luojia65 44d0b6634c Fix user-level use of shared scheduler 2021-04-21 12:39:11 +08:00
luojia65 75d51862bd Read shared scheduler raw table from offset 2021-04-21 12:33:31 +08:00
luojia65 38d325cdf2 Code clean-up for shared scheduler 2021-04-21 11:28:44 +08:00
luojia65 314c5485ad Fix linker script and build script 2021-04-21 11:23:52 +08:00
luojia65 c21124d20f Rearrange code in shared scheduler 2021-04-21 11:10:44 +08:00
luojia65 774fabf237 FFI-safe shared function table 2021-04-21 11:07:44 +08:00
SKTT1Ryze 9b3c53395c fix small 2021-04-19 23:20:49 +08:00
Chunchi Che 327a1bde1f
Merge pull request #21 from HUST-OS/clean_up_the_code
Clean up the code
2021-04-19 17:51:47 +08:00
SKTT1Ryze 71f98c832f fix small 2021-04-19 17:50:50 +08:00
SKTT1Ryze 3d90e8b14a remove some code 2021-04-19 17:38:11 +08:00
Chunchi Che e77bb6429a
Merge pull request #20 from HUST-OS/clean_up_the_code
Clean up the code  
整理代码
2021-04-19 00:41:49 +08:00
SKTT1Ryze eb706ff97e rename SharedRawTable to SharedLoad 2021-04-19 00:38:11 +08:00
SKTT1Ryze 8d903ae95c add shared_raw_table 2021-04-19 00:05:39 +08:00
SKTT1Ryze 0dc04cbfd5 remove some unused code 2021-04-18 20:19:39 +08:00
SKTT1Ryze 9e2cd977ae change shared-scheduler return type 2021-04-18 20:13:11 +08:00