230 Commits (3b9e7e0216a5e0b49cd89e149a000cd276166172)

Author SHA1 Message Date
Jiajie Chen c5acdb67e6 Fix compilation for merge and update vga buffer address
6 years ago
Jiajie Chen 53bb55b971 Merge remote-tracking branch 'origin/dev' into dev
6 years ago
Jiajie Chen f410aef5bc Merge branch 'mipsel' into dev
6 years ago
Jiajie Chen 51868e1616 Eliminate some warnings
6 years ago
Jiajie Chen d1d7fe44a7 Fix condvar race(maybe)
6 years ago
PanQL 9740983b2d
Merge branch 'mgba' into dev
6 years ago
PanQL a6f211cef5 fix mmap for framebuffer
6 years ago
WangRunji 9dec0bbda5 simplify copy_from_user
6 years ago
Harry Chen 3658e265a8 Update device tree file and add stub for SYS_RT_SIGQUEUE
6 years ago
PanQL f8c88baeea nonblock stdin for mgba keyboard support
6 years ago
PanQL f9734b6134 mmap support for mgba's partical redraw
6 years ago
Jiajie Chen 41da379593 Use new check_and_clone_cstr{,array}
6 years ago
Jiajie Chen 92a9674f66 Implement efault detection by fixup
6 years ago
PanQL 9e4a3f9662 create virtual vga file, now can draw fb on user state
6 years ago
WangRunji cd22273ef9 refactor to linear mapping for x86_64
6 years ago
WangRunji 6e5b3e2515 fix broken pipe status. rustc works now!
6 years ago
WangRunji ba8d08d733 fix Process dropping by making `proc.parent` a weak reference
6 years ago
Jiajie Chen 2adbc4dcd9 Format code and use rust/sh for rocket chip shell
6 years ago
Jiajie Chen e3595dd0f5 Implement sys_copy_file_range and use it for sendfile
6 years ago
chyyuu d9d21a3db1 fix bug: sys_futex should not check timeout parameter for musl libc 1.1.22
6 years ago
chyyuu 2fa3338b4f add unimplemented syscall SYS_MEMNARRIER from musl-1.1.22 with pthread OPs
6 years ago
chyyuu 537eecaf5e fix bug: the values of CloneFlags
6 years ago
Jiajie Chen 073108e0f8 Fix compilation on mipsel
6 years ago
WangRunji 3af0cf7e16 fix warnings
6 years ago
WangRunji b2de8dc9e6 fix page table racing on multi-thread
6 years ago
WangRunji da58486be5 refactor syscall: move all context and functions to struct Syscall
6 years ago
WangRunji 08d10522ff impl sys_set_tid_address. ignore invalid 'clear_child_tid' on exit
6 years ago
WangRunji 98a99e33c6 fix '/proc/self/fd' panic
6 years ago
Jiajie Chen 7331404fc7 Fix /proc/self/fd not found panic
6 years ago
chyyuu 19200e40d0 impl pseudo INode '/proc/self/fd/FD_NUM' for rustc app
6 years ago
Jiajie Chen feae733bb9 Implement poll for pipes
6 years ago
Jiajie Chen 64b383b69c Save path even in release mode
6 years ago
Jiajie Chen ad2f02388c Fix compilation on mipsel
6 years ago
Jiajie Chen 81fde731d0 Save and log file paths on sys_open and sys_close
6 years ago
WangRunji 6c988c4bfd note potential lost wakeup problem in Condvar. fix some use case.
6 years ago
Jiajie Chen 8651f09b31 Automatically enlarge heap when kernel heap is about to run out
6 years ago
Jiajie Chen 2f6f8ef9bc Add syscall timing using rdtsc
6 years ago
WangRunji c885ea6d77 impl pseudo INode '/proc/self/exe'
6 years ago
Jiajie Chen bd158e4e74 Do not panic when exec file is invalid
6 years ago
WangRunji a25c8132fe delay mapping file
6 years ago
Jiajie Chen e5894b652c Format code
6 years ago
WangRunji 5bc6395b23 fix sys_exec
6 years ago
WangRunji 27f5c7b2e4 detach thread to auto recycle tid. fix #25
6 years ago
Jiajie Chen fc60d2cea2 Do not poll unrelated files in sys_select
6 years ago
WangRunji 58271c7c8a convert user ptr to reference on check
6 years ago
chyyuu c853eda9b3 disable so many wait4 LOG info
6 years ago
chyyuu 1974cc5853 add syscall: sys_getrandom for python3, etc.
6 years ago
WangRunji ab62d542fd allocate pid independently from tid. fix sys_fork return value.
6 years ago
chyyuu aaf9d49fba Merge branch 'dev' of github.com:rcore-os/rCore into dev
6 years ago
chyyuu 0d790f2dc5 add LOG info in sys_exec and new_user, add env var in run_user_shell
6 years ago