2320 Commits

Author SHA1 Message Date
Ruihan Li
e06509e380 Make some unsafe blocks shorter 2025-04-22 20:52:15 +08:00
jiangjianfeng
13287c752e Make TDX accept the same virtio-net parameters as the normal setting 2025-04-21 12:17:10 +08:00
Fabing Li
e9c85ff158 Only pack benchmark utils while running benchmarks 2025-04-21 11:22:46 +08:00
jiangjianfeng
8815ca384f Add syscall ppoll 2025-04-21 11:19:48 +08:00
Chen Chengjun
1fe0fef410 Add ktests for the XArray 2025-04-19 16:48:15 +08:00
Chen Chengjun
c3dd607777 Introduce RCU-based XArray 2025-04-19 16:48:15 +08:00
Fabing Li
6c0827b681 Add ktest cases for vmspace 2025-04-19 14:00:21 +08:00
Fabing Li
52e0776591 Add more page table cases 2025-04-19 13:59:43 +08:00
Ruihan Li
81b79dacc6 Remove read*_to_end methods 2025-04-18 14:17:37 +08:00
Zejun Zhao
1c881d30f6 Add RISC-V build CI 2025-04-18 13:26:16 +08:00
Zejun Zhao
3aa1079ca6 Clarify the usage of ostd::arch 2025-04-18 13:26:16 +08:00
Zejun Zhao
4baff8e17b Fallback to BIOS when using legacy boot protocols 2025-04-18 13:26:16 +08:00
Zejun Zhao
5630fa8b36 Disable RISC-V FPU by default 2025-04-18 13:26:16 +08:00
Zejun Zhao
14b8c48859 Adjust RISC-V's implementation for recent changes 2025-04-18 13:26:16 +08:00
Zejun Zhao
b097060c5e Clean up RISC-V-specific boot code 2025-04-18 13:26:16 +08:00
Zejun Zhao
d39ab61d68 Remove unnecessary usage of cfg_if macro 2025-04-18 13:26:16 +08:00
Zejun Zhao
47ee012e6b Make IoPort x86-specific 2025-04-18 13:26:16 +08:00
Zejun Zhao
e4aa261c48 Make if_tdx_enabled macro x86-specific 2025-04-18 13:26:16 +08:00
Zejun Zhao
dd67a9a175 Clean up code 2025-04-18 13:26:16 +08:00
Zhenchen Wang
7ac4fa9519 Add syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-18 09:36:50 +08:00
Yuke Peng
1130933546 Remove unused device.rs file in mmio 2025-04-17 19:11:27 +08:00
Ruihan Li
d6e40933b8 Move the log lock to a better location 2025-04-16 21:59:24 +08:00
Ruihan Li
67e5e5a651 Remove the unused serial input 2025-04-16 21:59:24 +08:00
Yuke Peng
74ffe72cad Refactor the initialization of IoPortAllocator 2025-04-16 10:09:19 +08:00
Yuke Peng
a2caedafda Remove the system device's IO port access 2025-04-16 10:09:19 +08:00
Yuke Peng
92b7961df1 Introduce macros that allow system device driver to remove sensitive ports
test

test
2025-04-16 10:09:19 +08:00
Yuke Peng
a038b8401b Rename allocator.rs to io.rs 2025-04-16 10:09:19 +08:00
Yuke Peng
d359cc44d6 Implement IoPortAllocator 2025-04-16 10:09:19 +08:00
Yuke Peng
f89b248f3b Change IoPort to architecture-independent 2025-04-16 10:09:19 +08:00
Zhang Junyang
85d4cdbbb0 Avoid excessive heap allocations in sys_futex 2025-04-15 21:56:15 +08:00
jiangjianfeng
5d84ac7775 Generate kernel response to user request 2025-04-15 17:20:12 +08:00
jiangjianfeng
3e66732889 Parse netlink message 2025-04-15 17:20:12 +08:00
jiangjianfeng
ac42e83387 Add basic structure for netlink route socket 2025-04-15 17:20:12 +08:00
jiangjianfeng
2c41055470 Expose more methods on bigtcp iface 2025-04-15 17:20:12 +08:00
jiangjianfeng
5e9f537222 Add netlink regression test and gVisor test 2025-04-15 17:20:12 +08:00
jiangjianfeng
7d24e63216 Move network polling code to bottom half 2025-04-15 14:54:51 +08:00
jiangjianfeng
9804f053f2 Add guard which disables bottom half 2025-04-15 14:54:51 +08:00
Ruihan Li
e0bda4677c Remove Send trait bound from NonNullPtr 2025-04-15 10:10:42 +08:00
Ruihan Li
de69fd6c31 Add support for Rcu to store an Either 2025-04-15 10:10:42 +08:00
Ruihan Li
a1f81df263 Remove ostd/src/mm/offset.rs 2025-04-15 09:15:22 +08:00
Ruihan Li
1a1d9bfb60 Split ostd/util.rs 2025-04-15 09:15:22 +08:00
Ruihan Li
f8429b2735 Add a regression test 2025-04-14 21:13:11 +08:00
Ruihan Li
8600278a5f Drop files at the correct time 2025-04-14 21:13:11 +08:00
Ruihan Li
7e1abc1fbb Rename ProcessVmarGuard::get to unwrap 2025-04-14 21:13:11 +08:00
Ruihan Li
293f1ff4c9 Do release_range_locks in Drop 2025-04-14 21:13:11 +08:00
Zhang Junyang
50924d6693 Stop sharing kernel boot PDPTs and linear boot PDPTs 2025-04-14 16:20:35 +08:00
Fabian LI
6ef74345bb Remove Benchmark Intel TDX badge temporarily 2025-04-13 17:11:14 +08:00
Fabian LI
e9c2886a84 Fix platform definition 2025-04-10 17:08:57 +08:00
Fabing Li
784628e238 Add ktest cases for io interfaces 2025-04-10 15:36:58 +08:00
Fabian LI
e4e27647c2 Update href in documents 2025-04-10 14:46:01 +08:00