Commit Graph

1022 Commits

Author SHA1 Message Date
Zhang Junyang ece62cf806 Add missing TLB flushes for coherent DMA mappings 2024-07-02 16:16:54 +08:00
Zhang Junyang 8cd8cf3938 Add missing TLB flushes for the kernel stack guard pages 2024-07-02 16:16:54 +08:00
Ruihan Li 57ecfa2fec Add `#[must_use]` to all guard types 2024-07-02 12:41:52 +08:00
Ruihan Li 9e4775d9e2 Remove dead code from `UtimeExt` 2024-06-29 12:38:23 +08:00
Ruihan Li 63d91d1805 Add guidelines for suppressing lints 2024-06-29 12:38:23 +08:00
Ruihan Li 74239781c9 Update `Cargo.lock` 2024-06-29 12:38:23 +08:00
Jianfeng Jiang f51e002bb2 Bump version to 0.6.0 2024-06-28 21:20:08 +08:00
Fabing Li f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00
Ruihan Li 5eefd600cc Avoid unused variables in the network module 2024-06-28 20:24:27 +08:00
Ruihan Li 94e043ac8d Update nonblocking flags of UNIX sockets correctly 2024-06-28 20:24:27 +08:00
Ruihan Li fa584bd8f5 Set the TX buffer length of UDP sockets correctly 2024-06-28 20:24:27 +08:00
Chen Chengjun b7a3f1a540 Use volatile copy in VmReader/VmWriter 2024-06-28 20:23:24 +08:00
Jianfeng Jiang 72e726295f Include the 100 lines kernel in CI 2024-06-28 20:22:12 +08:00
Chen Chengjun cd2b305fa8 Modify the userspace read/write usage location 2024-06-28 15:36:21 +08:00
Chen Chengjun af908c29cf Refactor the read/write operations to userspace 2024-06-28 15:36:21 +08:00
Chen Chengjun 09b6153d29 Refactor VmReader/Writer to support both kernel space and user space 2024-06-28 15:36:21 +08:00
Chen Chengjun 994427c71a Add function memcpy_fallible 2024-06-28 15:36:21 +08:00
Chen Chengjun 5f7cf245ac Enable exception table mechanism 2024-06-28 15:36:21 +08:00
Chen Chengjun 5b9dd2fee8 Clear the robust list during do_execve 2024-06-28 15:36:21 +08:00
Fabing Li 12db7ec55d Add and refactor read-write syscalls 2024-06-27 23:16:14 +08:00
Tate, Hongliang Tian e8a3e00dec Update the names of Github workflows for consistency 2024-06-27 21:56:55 +08:00
Tate, Hongliang Tian 2746650944 Update the badges in README 2024-06-27 21:33:31 +08:00
Fabing Li d3c172013a Fix unused warning of `UtimeExt` 2024-06-27 21:22:46 +08:00
Tate, Hongliang Tian d538c740ee Update the number of supported Linux system calls 2024-06-27 16:03:05 +08:00
Fabing Li d33f90eaeb Add sys_access and sys_faccessat 2024-06-27 15:56:04 +08:00
Fabing Li 212dd562a0 Add sys_fdatasync and sync_data 2024-06-27 15:55:16 +08:00
Fabing Li 5edc110f9d Reconstruct utime-like syscalls and fix filetime implementations 2024-06-27 15:54:04 +08:00
Jianfeng Jiang 3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
Jianfeng Jiang fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
Jianfeng Jiang 59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
Jianfeng Jiang fb59fa7a55 Use matrix to simplify osdk test 2024-06-27 15:44:29 +08:00
Zhang Junyang 6b17cceacc Replace the futex hash buckects with `Once` to fix the leak 2024-06-26 21:00:44 +08:00
Fabing Li 36841c50d4 Add benchmark CI for sysbench and getpid 2024-06-26 20:58:12 +08:00
Shaocong Sun 1b22267a87 Add readahead for pagecache 2024-06-26 20:22:20 +08:00
Fabing Li 053f8d416e Add syscall getdents 2024-06-26 19:16:31 +08:00
Fabing Li 4700ab71bc Bumped Asterinas & OSDK version to 0.5.1 2024-06-26 19:12:17 +08:00
fgh1999 18b11ec193 Fix debug target path in OSDK 2024-06-26 19:09:46 +08:00
Zhang Junyang 5d9868964b Prefer `into_raw()` than `paddr()` + `forget()` in PT 2024-06-26 16:46:16 +08:00
Ruihan Li 2beeedf7ed Allow overwriting PTEs in shared memory regions 2024-06-25 16:18:34 +08:00
Jianfeng Jiang cb5b996274 Add syscall sendmsg and recvmsg 2024-06-25 13:40:58 +08:00
Yuke Peng c5d0099dfd Refactor Monitor 2024-06-25 13:39:27 +08:00
Yuke Peng 89ce1f4df9 Add schedule after WorkItem enqueue 2024-06-25 13:39:27 +08:00
Zhang Junyang 4afac4d5ac Fix the cache coherent field as dead code 2024-06-25 12:20:18 +08:00
Zhang Junyang d520360512 Make tracked the metadata and kernel mappings 2024-06-25 12:20:18 +08:00
Zhang Junyang cab348349e Introduce `DynPage` and make page table map it 2024-06-25 12:20:18 +08:00
Zhang Junyang 40c32b5ff5 Refactor allocation APIs for pages and frames 2024-06-25 12:20:18 +08:00
Hsy-Intel a2060039c2 Add TDX get report function 2024-06-25 11:51:01 +08:00
Jianfeng Jiang 9647e09863 Add CI to tag main branch when VERSION changes 2024-06-25 11:49:49 +08:00
LI Qing 68aebe4175 Fix the potential deadlock issue of Ext2 2024-06-24 22:36:19 +08:00
Ruihan Li a1f36979d7 Replace `in_untracked_range` by `in_tracked_range` 2024-06-24 22:31:11 +08:00