Commit Graph

1676 Commits

Author SHA1 Message Date
02912e19cb Add documentations for the page table cursors' validity 2024-07-03 17:42:31 +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
9932ea0797 Remove PDPE's global bit of boot page table 2024-07-03 14:56:33 +08:00
ece62cf806 Add missing TLB flushes for coherent DMA mappings 2024-07-02 16:16:54 +08:00
8cd8cf3938 Add missing TLB flushes for the kernel stack guard pages 2024-07-02 16:16:54 +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
63d91d1805 Add guidelines for suppressing lints 2024-06-29 12:38:23 +08:00
74239781c9 Update Cargo.lock 2024-06-29 12:38:23 +08:00
f51e002bb2 Bump version to 0.6.0 v0.6.0 2024-06-28 21:20:08 +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
b7a3f1a540 Use volatile copy in VmReader/VmWriter 2024-06-28 20:23:24 +08:00
72e726295f Include the 100 lines kernel in CI 2024-06-28 20:22:12 +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
994427c71a Add function memcpy_fallible 2024-06-28 15:36:21 +08:00
5f7cf245ac Enable exception table mechanism 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
e8a3e00dec Update the names of Github workflows for consistency 2024-06-27 21:56:55 +08:00
2746650944 Update the badges in README 2024-06-27 21:33:31 +08:00
d3c172013a Fix unused warning of UtimeExt 2024-06-27 21:22:46 +08:00
d538c740ee Update the number of supported Linux system calls 2024-06-27 16:03:05 +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
fb59fa7a55 Use matrix to simplify osdk test 2024-06-27 15:44:29 +08:00
6b17cceacc Replace the futex hash buckects with Once to fix the leak 2024-06-26 21:00:44 +08:00
36841c50d4 Add benchmark CI for sysbench and getpid 2024-06-26 20:58:12 +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
4700ab71bc Bumped Asterinas & OSDK version to 0.5.1 v0.5.1 2024-06-26 19:12:17 +08:00
18b11ec193 Fix debug target path in OSDK 2024-06-26 19:09:46 +08:00
5d9868964b Prefer into_raw() than paddr() + forget() in PT 2024-06-26 16:46:16 +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
4afac4d5ac Fix the cache coherent field as dead code 2024-06-25 12:20:18 +08:00
d520360512 Make tracked the metadata and kernel mappings 2024-06-25 12:20:18 +08:00
cab348349e Introduce DynPage and make page table map it 2024-06-25 12:20:18 +08:00
40c32b5ff5 Refactor allocation APIs for pages and frames 2024-06-25 12:20:18 +08:00