118 Commits

Author SHA1 Message Date
Jianfeng Jiang
e29bb58d45 add syscall wait4 and waitid 2022-10-09 14:24:50 +08:00
Jianfeng Jiang
21290f1cff refactor the implementation of fork 2022-10-09 14:23:20 +08:00
Jianfeng Jiang
7ce1938a00 add syscall sched_yield 2022-10-09 14:23:20 +08:00
Tate, Hongliang Tian
9e8e9e62b2 Merge pull request #30 from sdww0/main
move virtio block device out of kxos frame
2022-10-06 02:08:01 -07:00
Tate, Hongliang Tian
6699bc6e09 Add the doc of zero-cost capabilities 2022-10-06 02:03:31 -07:00
Yuke Peng
8be747afc5 move virtio block device out of kxos frame 2022-10-05 21:56:06 -07:00
Tate, Hongliang Tian
16e85d7d0b Merge pull request #27 from StevenJiang1110/hello_c
Support running hello_c compiled with gnu libc
2022-09-26 18:18:51 -07:00
Jianfeng Jiang
d7848877ae add glibc support 2022-09-26 19:59:14 +08:00
Jianfeng Jiang
a611ac416f add init stack 2022-09-26 19:45:01 +08:00
Jianfeng Jiang
73f66d54b9 add hello_c support 2022-09-26 19:45:01 +08:00
Tate, Hongliang Tian
f5f03d6bca Merge pull request #26 from sdww0/main
finish pci virtio block device driver
2022-09-22 19:08:12 -07:00
Yuke Peng
6fba62fdfa finish pci virtio block device driver 2022-09-20 21:26:11 -07:00
Tate, Hongliang Tian
8679f42284 Merge pull request #25 from sdww0/main
add qemu pci virtio-blk device and trap registers
2022-09-19 17:15:40 -07:00
Yuke Peng
964a7413cd add qemu pci virtio-blk device and trap registers 2022-09-14 22:27:03 -07:00
Tate, Hongliang Tian
528888e632 Merge pull request #24 from StevenJiang1110/fork
Add fork and getpid; Add a simple log level filter
2022-09-13 22:27:52 -07:00
jiangjianfeng
9ebbbe5133 add a simple log level filter 2022-09-13 15:15:29 +08:00
jiangjianfeng
87cdf6acd6 add fork support 2022-09-13 15:09:45 +08:00
Tate, Hongliang Tian
893613146f Merge pull request #23 from sdww0/main
no graphic support and fix task spawn bug
2022-09-08 09:54:49 +08:00
Tate, Hongliang Tian
ee407809a6 Merge pull request #21 from StevenJiang1110/main
Bug fix; Add user-mode fork test codes
2022-09-08 09:54:18 +08:00
Yuke Peng
33f4bd86ed no graphic support and fix task spawn bug 2022-09-06 05:20:43 -07:00
jiangjianfeng
71b8659001 add user-mode fork test codes with git lfs 2022-09-06 11:57:38 +08:00
jiangjianfeng
775025ef5e add guard page for user stack 2022-09-06 11:57:30 +08:00
jiangjianfeng
6e11ee39da fix the logic to start the first process 2022-09-06 11:41:08 +08:00
Tate, Hongliang Tian
128ffa0bff Format Rust code 2022-09-05 15:27:44 -07:00
Tate, Hongliang Tian
fd50d184fa Enable make test 2022-09-05 15:22:29 -07:00
Tate, Hongliang Tian
435d0a165e Merge pull request #19 from sdww0/main
extend kernel stack to 64KB
2022-09-05 15:02:39 -07:00
Yuke Peng
bce4e9ffd5 extend kernel stack to 64KB 2022-09-04 23:41:15 -07:00
Tate, Hongliang Tian
f706699cf1 Merge pull request #18 from sdww0/main
add tests and hide some public functions
2022-09-01 00:47:26 -07:00
Yuke Peng
f1f20f5b61 add tests and hide some pub functions 2022-08-31 23:25:26 -07:00
Tate, Hongliang Tian
7e733a83eb Merge pull request #17 from StevenJiang1110/main
Add hello_world binary with git lfs
2022-08-31 16:12:57 -07:00
jiangjianfeng
e9d1cd7356 add install git-lfs command in readme 2022-08-31 15:10:40 +08:00
jiangjianfeng
8bebe380ba replace nasm assembly with gcc/clang assembly; add hello_world binary with git lfs 2022-08-30 18:50:04 +08:00
Tate, Hongliang Tian
2e28cf5fcb Add RCU 2022-08-29 16:43:19 -07:00
Tate, Hongliang Tian
17bd704722 Add AtomicBits 2022-08-29 16:36:45 -07:00
Tate, Hongliang Tian
5ffd93d8bb Add AlignExt 2022-08-29 16:36:45 -07:00
Tate, Hongliang Tian
0315301e48 Merge pull request #14 from sdww0/main
Finish User Mode execute
2022-08-28 22:26:28 -07:00
Yuke Peng
d31d5f0bde fix some bugs 2022-08-28 19:53:14 -07:00
Yuke Peng
5359879499 Merge branch 'occlum:main' into main 2022-08-29 10:26:46 +08:00
Tate, Hongliang Tian
8cf5a596fd Merge pull request #12 from StevenJiang1110/main
set correct permission bits for elf segment; fix several subtle bugs
2022-08-28 17:02:42 -07:00
Yuke Peng
c9b5a6a14a finish user mode execute 2022-08-26 08:59:20 -07:00
Yuke Peng
2caa3d9df5 finish trap and execute user mode program 2022-08-25 19:44:58 -07:00
jiangjianfeng
e6f7901477 set correct permission bits for elf segment; fix several subtle bugs 2022-08-24 15:40:02 +08:00
Tate, Hongliang Tian
c8d405adeb Update docs 2022-08-23 15:38:13 -07:00
Tate, Hongliang Tian
2d7b00f9ba Update top-level Makefile 2022-08-23 15:38:13 -07:00
Tate, Hongliang Tian
1c8dc08c51 Merge pull request #11 from sdww0/main
finish virtual memory and part of task
2022-08-23 15:35:44 -07:00
Yuke Peng
cecf2dac98 finish virtual memory and part of task 2022-08-23 02:50:07 -07:00
Tate, Hongliang Tian
2f9dd04259 Merge pull request #8 from StevenJiang1110/main
spawns the first task from elf
2022-08-18 14:12:59 -07:00
jiang jianfeng
e6569edbe2 add user-mode hello_world; support syscall exit 2022-08-18 11:39:38 +08:00
jiang jianfeng
40f5b81252 load elf file content; init first process 2022-08-17 14:48:01 +08:00
Tate, Hongliang Tian
2142d69a60 Merge pull request #5 from sdww0/main
boot and irq
2022-08-16 19:16:42 -07:00