Commit Graph

831 Commits

Author SHA1 Message Date
3d2a0c33af Clean up the virtio console IRQ handler a bit 2024-07-14 16:43:23 +08:00
a465ec1346 Work around a QEMU bug in virtio console pasting 2024-07-14 16:43:23 +08:00
ceb0ef67e1 Make Pauser work in raw tasks 2024-07-14 16:42:08 +08:00
8f64a1cb90 Make Pauser work in kernel threads 2024-07-14 16:42:08 +08:00
9e5f3123e1 Log messages to the serial atomically and rename arch::serial
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-09 21:56:03 +08:00
b73412c2ff Fix known TDX issues 2024-07-09 19:43:55 +08:00
d43fbd88ba Add documentation to bus 2024-07-09 19:42:15 +08:00
0970adb37b Add documentation to x86/device 2024-07-09 19:42:15 +08:00
76f9193882 Add timestamp support for ramfs 2024-07-08 22:31:30 +08:00
8726d858f2 Add pselect6 syscall 2024-07-08 18:21:08 +08:00
623f4c9177 [Quick Fix] update ctime for utimes syscalls 2024-07-04 14:59:41 +08:00
9377a43f8f Add timestamp support for ext2 2024-07-04 14:42:54 +08:00
edc1412cc8 Add /proc/sys/kernel/cap_last_cap support 2024-07-04 10:47:30 +08:00
12b355b701 Fix issue about pathname and redefine the Filetype.
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-07-03 21:59:25 +08:00
d8389da797 Add syscall mknod
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-07-03 21:59:25 +08:00
0f8d8da372 Refactor code related to CPU local memory
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-03 17:40:53 +08:00
98619f3482 Init RNG with rdrand directly (without getrandom) 2024-07-03 14:56:33 +08:00
57ecfa2fec Add #[must_use] to all guard types 2024-07-02 12:41:52 +08:00
9e4775d9e2 Remove dead code from UtimeExt 2024-06-29 12:38:23 +08:00
f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00
5eefd600cc Avoid unused variables in the network module 2024-06-28 20:24:27 +08:00
94e043ac8d Update nonblocking flags of UNIX sockets correctly 2024-06-28 20:24:27 +08:00
fa584bd8f5 Set the TX buffer length of UDP sockets correctly 2024-06-28 20:24:27 +08:00
cd2b305fa8 Modify the userspace read/write usage location 2024-06-28 15:36:21 +08:00
af908c29cf Refactor the read/write operations to userspace 2024-06-28 15:36:21 +08:00
09b6153d29 Refactor VmReader/Writer to support both kernel space and user space 2024-06-28 15:36:21 +08:00
5b9dd2fee8 Clear the robust list during do_execve 2024-06-28 15:36:21 +08:00
12db7ec55d Add and refactor read-write syscalls 2024-06-27 23:16:14 +08:00
d3c172013a Fix unused warning of UtimeExt 2024-06-27 21:22:46 +08:00
d33f90eaeb Add sys_access and sys_faccessat 2024-06-27 15:56:04 +08:00
212dd562a0 Add sys_fdatasync and sync_data 2024-06-27 15:55:16 +08:00
5edc110f9d Reconstruct utime-like syscalls and fix filetime implementations 2024-06-27 15:54:04 +08:00
3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
6b17cceacc Replace the futex hash buckects with Once to fix the leak 2024-06-26 21:00:44 +08:00
1b22267a87 Add readahead for pagecache 2024-06-26 20:22:20 +08:00
053f8d416e Add syscall getdents 2024-06-26 19:16:31 +08:00
2beeedf7ed Allow overwriting PTEs in shared memory regions 2024-06-25 16:18:34 +08:00
cb5b996274 Add syscall sendmsg and recvmsg 2024-06-25 13:40:58 +08:00
c5d0099dfd Refactor Monitor 2024-06-25 13:39:27 +08:00
89ce1f4df9 Add schedule after WorkItem enqueue 2024-06-25 13:39:27 +08:00
a2060039c2 Add TDX get report function 2024-06-25 11:51:01 +08:00
68aebe4175 Fix the potential deadlock issue of Ext2 2024-06-24 22:36:19 +08:00
eaf51ccb24 Fix multiple dead code problems 2024-06-21 10:57:08 +08:00
05533d7afd Fix multiple documentation issues concerned by clippy 2024-06-21 10:57:08 +08:00
18a0490e23 Respond to the cargo metadata package ID change in comp-sys 2024-06-21 10:57:08 +08:00
952fbacaf1 Fix multiple deprecation problems 2024-06-21 10:57:08 +08:00
cda8ffa7da Fix the usage of underscores in Cargo manifest keys 2024-06-21 10:57:08 +08:00
d6714c4b47 Fix multiple Default implementation caveats 2024-06-21 10:57:08 +08:00