46 Commits (fcfe677bcc7e4c7431346c9daf7a27272415f0e6)

Author SHA1 Message Date
Jiajie Chen fcfe677bcc Fix makefile and loader NULL character stripping
6 years ago
WangRunji 6923efd250 fix last commit. improve process code.
6 years ago
Jiajie Chen e3fb47a03e Remove m-mode and k210 support.
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 547baa9ecd Implement symlink following
6 years ago
Jiajie Chen 1444fb4c42 Respect INTERP loader command in ELF and load the interpreter instead
6 years ago
WangRunji 5ddd5ece8d rename, simplify
6 years ago
Jiajie Chen 960ef2e1f8 Implement PCI driver detach and merge NetDriver trait into Driver
6 years ago
Jiajie Chen 5d601c3ea4 Move socket to global, move and merge functions to net/structs.rs
6 years ago
WangRunji 17e644e54e unimportant changes
6 years ago
equation314 18626a2a19 Merge branch 'bootloader' into biscuit
6 years ago
Jiajie Chen 755f820c41 Enable interrupt throttling, use spin before wait in sys_read and fix sys_bind, sys_poll for udp
6 years ago
Jiajie Chen 8860f1e4a3 Implement mapping from riscv to x86_64 syscall numbering
6 years ago
Jiajie Chen a4c1d1231b Use rust user shell instead of kernel shell and fix sys_exec
6 years ago
Jiajie Chen af63d937d6 Add udp remote endpoint state
6 years ago
Jiajie Chen 17c08ce26c Fix sys_exit/sys_exit_group deadlock
6 years ago
WangRunji 98b3b12c96 continue refactoring process
6 years ago
Jiajie Chen 8cb11b7aa8 Implement tid/pid/ppid separation
6 years ago
Jiajie Chen cb0a51d28d Use union to implement sockaddr, and eliminate many warnings
6 years ago
Jiajie Chen 6697861860 Add is_listening to TcpSocketState, support sys_poll for listen
6 years ago
Jiajie Chen d0d05acfd0 Implement Clone for SocketWrapper
6 years ago
equation314 279f983786 aarch64: put the kernel in the top VA range
6 years ago
WangRunji 84c12ae6e1 rename functions. ignore readonly in mmap to avoid page fault.
6 years ago
WangRunji 491353acfd impl sys_futex. fix clear_child_tid for thread exit
6 years ago
WangRunji dc55238989 fix sys_clone newtls
6 years ago
WangRunji d51c52902d minimal impl sys_clone
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 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 c5aa5922bd Fix forking and sys_dup2, implement sys_getsockopt and update sys_exec
6 years ago
WangRunji 9e6483f488 refactor driver: make (Net)Driver Sync. may help avoid deadlock?
6 years ago
Jiajie Chen 42b02453a0 Implement basic version of sys_poll supporting stdin and socket, fix some deadlocks and introduce some others
6 years ago
Jiajie Chen 2683314c38 Allocate pages eagerly for Delay when forking. Implement sys_getsockname.
6 years ago
Jiajie Chen a51b9dbd90 Implement tls setup code(not working yet), tcp sys_bind and sys_connect
6 years ago
Jiajie Chen 1a1e39c960 Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls
6 years ago
Jiajie Chen 81176e5561 Implement raw socket for ping and add SocketWrapper struct
6 years ago
Jiajie Chen 687caf804d Implement sys_getcwd
6 years ago
Jiajie Chen 6124cd60fc Add basic implementation for syscall: connect and write
6 years ago
Jiajie Chen 71336aca5c Redesign NetDriver trait and update drivers
6 years ago
Jiajie Chen 36292e6fcd Add dummy implementations for more syscalls
6 years ago
WangRunji c7f9921e06 support TLS for musl. partial impl sys_exit_group.
6 years ago
WangRunji cab19688d5 rename File to FileHandle. impl create for sys_open.
6 years ago
WangRunji 08c8d89974 update SFS to new rcore-fs
6 years ago
WangRunji 2cf7e7bd87 fix File in Process
6 years ago
WangRunji 7927c7c168 Merge branch 'thread' into biscuit
6 years ago
WangRunji 0ec5ad8056 split Process and Thread
6 years ago