Commit Graph

99 Commits

Author SHA1 Message Date
6e332b3233 add syscall clone 2022-10-28 14:10:29 +08:00
4287391e59 refactor error handling 2022-10-27 17:21:02 +08:00
db880f274e refactor the code to load elf 2022-10-27 15:18:24 +08:00
7ee9c9e74c add syscall execve 2022-10-27 13:13:05 +08:00
6662705ff5 add procedural macro require 2022-10-24 16:38:46 +08:00
dd1e21b97c add procedural macro typeflags 2022-10-19 15:07:09 +08:00
6e56458e52 add derive procedural macro for pod 2022-10-10 10:28:14 +08:00
895e5c340b add syscall futex 2022-10-09 14:44:10 +08:00
e29bb58d45 add syscall wait4 and waitid 2022-10-09 14:24:50 +08:00
21290f1cff refactor the implementation of fork 2022-10-09 14:23:20 +08:00
7ce1938a00 add syscall sched_yield 2022-10-09 14:23:20 +08:00
8be747afc5 move virtio block device out of kxos frame 2022-10-05 21:56:06 -07:00
d7848877ae add glibc support 2022-09-26 19:59:14 +08:00
a611ac416f add init stack 2022-09-26 19:45:01 +08:00
73f66d54b9 add hello_c support 2022-09-26 19:45:01 +08:00
6fba62fdfa finish pci virtio block device driver 2022-09-20 21:26:11 -07:00
964a7413cd add qemu pci virtio-blk device and trap registers 2022-09-14 22:27:03 -07:00
9ebbbe5133 add a simple log level filter 2022-09-13 15:15:29 +08:00
87cdf6acd6 add fork support 2022-09-13 15:09:45 +08:00
893613146f Merge pull request #23 from sdww0/main
no graphic support and fix task spawn bug
2022-09-08 09:54:49 +08:00
33f4bd86ed no graphic support and fix task spawn bug 2022-09-06 05:20:43 -07:00
71b8659001 add user-mode fork test codes with git lfs 2022-09-06 11:57:38 +08:00
775025ef5e add guard page for user stack 2022-09-06 11:57:30 +08:00
6e11ee39da fix the logic to start the first process 2022-09-06 11:41:08 +08:00
128ffa0bff Format Rust code 2022-09-05 15:27:44 -07:00
bce4e9ffd5 extend kernel stack to 64KB 2022-09-04 23:41:15 -07:00
f1f20f5b61 add tests and hide some pub functions 2022-08-31 23:25:26 -07:00
8bebe380ba replace nasm assembly with gcc/clang assembly; add hello_world binary with git lfs 2022-08-30 18:50:04 +08:00
2e28cf5fcb Add RCU 2022-08-29 16:43:19 -07:00
17bd704722 Add AtomicBits 2022-08-29 16:36:45 -07:00
5ffd93d8bb Add AlignExt 2022-08-29 16:36:45 -07:00
d31d5f0bde fix some bugs 2022-08-28 19:53:14 -07:00
5359879499 Merge branch 'occlum:main' into main 2022-08-29 10:26:46 +08:00
c9b5a6a14a finish user mode execute 2022-08-26 08:59:20 -07:00
2caa3d9df5 finish trap and execute user mode program 2022-08-25 19:44:58 -07:00
e6f7901477 set correct permission bits for elf segment; fix several subtle bugs 2022-08-24 15:40:02 +08:00
2d7b00f9ba Update top-level Makefile 2022-08-23 15:38:13 -07:00
cecf2dac98 finish virtual memory and part of task 2022-08-23 02:50:07 -07:00
e6569edbe2 add user-mode hello_world; support syscall exit 2022-08-18 11:39:38 +08:00
40f5b81252 load elf file content; init first process 2022-08-17 14:48:01 +08:00
b1d5d49564 delete unused 2022-08-15 19:43:34 -07:00
f0f4ca1aa6 boot and irq 2022-08-15 19:41:25 -07:00
bfd7497b25 Fix Rust format and lint issues 2022-08-08 16:02:55 -07:00
8e8fc95ede Fix a tiny format issue 2022-08-08 14:48:40 -07:00
0ed8839eff Make the codebase a Rust workspace 2022-08-08 13:34:16 -07:00
320a9ab70b Add README for src/ 2022-08-08 13:33:34 -07:00
b2ad9dc05e Add kxos and kxos-std crate 2022-08-08 12:44:53 -07:00
16976d1fcf Fix a failure in UserMode's rust-doc 2022-08-08 12:43:41 -07:00
92d29e2030 Add kxos-frame crate 2022-08-07 18:01:42 -07:00