1185 Commits (9d8468457052ce562ae741eb262c0d08a3814556)
 

Author SHA1 Message Date
Jiajie Chen 781630e06d Implement sys_select and nc is working
6 years ago
Jiajie Chen 8b9aecca1c Fix a potential racing in park() and unpark(), fix sys_poll for a running telnet
6 years ago
WangRunji 9e6483f488 refactor driver: make (Net)Driver Sync. may help avoid deadlock?
6 years ago
WangRunji 1f2625e565 minor improvement of sys_poll
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 3e6860ae8a Fix lookup_inode for absolute path, and implement sys_accept for tcp
6 years ago
Jiajie Chen a51b9dbd90 Implement tls setup code(not working yet), tcp sys_bind and sys_connect
6 years ago
equation314 8bb1e65ba7 load kernel elf in bootloader
6 years ago
Jiajie Chen 82e273df58 Implement sys_read for tcp
6 years ago
Jiajie Chen 0cf57be9e5 Tftp client is working by implement udp in some syscalls
6 years ago
Jiajie Chen dcb1b51a5f Improve time-related syscall precision and add some comment for MSI
6 years ago
Jiajie Chen c6c89198cd Add cmos rtc driver for x86
6 years ago
Jiajie Chen 1a1e39c960 Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls
6 years ago
equation314 b94ba7759e add aarch64 bootloader framework
6 years ago
WangRunji 738554386b introduce VMError to simplify EFAULT error handling
6 years ago
Jiajie Chen 68167efd45 Merge remote-tracking branch 'origin/biscuit' into biscuit
6 years ago
Jiajie Chen 81176e5561 Implement raw socket for ping and add SocketWrapper struct
6 years ago
WangRunji 0fd24ff92e impl sys_f(data)sync, sys_(f)truncate, sys_(un)link
6 years ago
WangRunji 451fe6b192 impl sys_chdir, sys_rename, sys_mkdir
6 years ago
WangRunji 2a6c4554d1 Merge remote-tracking branch 'course/biscuit' into biscuit
6 years ago
Jiajie Chen 687caf804d Implement sys_getcwd
6 years ago
Jiajie Chen e543449836 Implement basic version of sys_munmap and sys_time
6 years ago
WangRunji a979b6b5ec impl sys_getppid. fix checking pointer for process syscalls
6 years ago
WangRunji 132bc629fa fix bad address error code to EFAULT
6 years ago
WangRunji 472dac5d09 fix sys_getdent64. pass ls in coreutils & busybox
6 years ago
WangRunji b66c8811d1 update bootloader to fix multi-core boot bug on x86_64
6 years ago
WangRunji 8ab991ebe1 remove global ActivePageTable, because it's CPU local
6 years ago
Jiajie Chen d8345e96c7 Fix typo
6 years ago
Jiajie Chen d9e05012f0 Implement socket sys_close
6 years ago
WangRunji 1b104029ce tiny refactor: convert 'get_file' & 'get_socket' to method
6 years ago
Jiajie Chen 6ea04c91b2 Fix line editing bug
6 years ago
Jiajie Chen 29865d7aaa Add line editing function to user shell and refactor net syscall
6 years ago
Jiajie Chen 6124cd60fc Add basic implementation for syscall: connect and write
6 years ago
Jiajie Chen 984df11971 Merge remote-tracking branch 'origin/biscuit' into biscuit
6 years ago
Jiajie Chen 71336aca5c Redesign NetDriver trait and update drivers
6 years ago
WangRunji 344a537684 fix SysError to match Linux error code
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 f76374000e fix x86_64 syscall register (r10)
6 years ago
equation314 7a278cd421 Merge branch 'master' into biscuit
6 years ago
equation314 50a8de35bc aarch64: save current TTBR1_EL1 in context switch
6 years ago
Jiajie Chen 671b7c7b54 Implement backtrace support for x86_64
6 years ago
Jiajie Chen 6f1953b977 Add document for e1000 driver
6 years ago
Jiajie Chen af9a978a9d Fix a bug in e1000 driver, run net thread and update Makefile
6 years ago
Jiajie Chen 7a3c66a923 Receiving from e1000 driver works
6 years ago
WangRunji 85ae4b1ba1 impl sys_stat, sys_readv, sys_writev. not tested yet
6 years ago
WangRunji 4e146ec491 impl sys_lseek
6 years ago
WangRunji 70a950bf40 fix struct stat to match Linux ABI
6 years ago
WangRunji cab19688d5 rename File to FileHandle. impl create for sys_open.
6 years ago