25 Commits (2d047c67be486f83d46cc45d1803590a9b117102)

Author SHA1 Message Date
WangRunji a25c8132fe delay mapping file
6 years ago
Jiajie Chen e5894b652c Format code
6 years ago
chyyuu 734e01cc46 fix bug: sys_mmap didn't zero clean the anonymous memory
6 years ago
Yuhao Zhou dc90cb5a8d Fix pgfault, fstat syscall convention. biscuit/ls works!
6 years ago
WangRunji b836b11792 reformat code using `cargo fmt`
6 years ago
Jiajie Chen 48ebf98f11 Fix pop_with_split, check file existence in sys_access
6 years ago
Jiajie Chen 0edfc07939 Allow page fault handler to bypass process lock and fix thread pool wakeup for exited process
6 years ago
Jiajie Chen 08ba9261aa Fix sys_mprotect with page alignment, dynamic loading seems working
6 years ago
WangRunji 638a2215b2 impl eager mmap file
6 years ago
WangRunji 5ddd5ece8d rename, simplify
6 years ago
Jiajie Chen cb0a51d28d Use union to implement sockaddr, and eliminate many warnings
6 years ago
WangRunji 84c12ae6e1 rename functions. ignore readonly in mmap to avoid page fault.
6 years ago
Jiajie Chen 1645451749 Implement memory_set splitting for munmap, add sys_sysinfo
6 years ago
WangRunji d51c52902d minimal impl sys_clone
6 years ago
WangRunji c3563192b5 fix SysResult::Ok(isize -> usize)
6 years ago
Jiajie Chen 35dad6853f Enable SSE and save FP registers in trapframe, implement sys_pread, sys_uname and sys_sched_getaffinity, support FIXED in mmap
6 years ago
WangRunji f7f740a021 remove TLS setup code. fix check writable memory
6 years ago
Jiajie Chen 84e07a6d83 Implement sys_mprotect and move attr setting from page_fault_handler to map in Delay
6 years ago
Jiajie Chen 6e7dc9e349 Minor fixes around thread pool, writev, fs and implement gettid
6 years ago
Jiajie Chen 2d77b89476 Infer phdr from elf loading address, skip the first page in sys_mmap and update user to musl-enabled biscuit programs
6 years ago
Jiajie Chen e543449836 Implement basic version of sys_munmap and sys_time
6 years ago
WangRunji 344a537684 fix SysError to match Linux error code
6 years ago
WangRunji c7f9921e06 support TLS for musl. partial impl sys_exit_group.
6 years ago
WangRunji 6d78206f77 impl finding free area for mmap
6 years ago
WangRunji fc98719559 impl sys_mmap for annonymous
6 years ago