441 Commits

Author SHA1 Message Date
Hsy-Intel
ad6aa4960c Bump the project version 2025-05-12 22:01:05 +08:00
Zhang Junyang
02463ff161 Bump xmas-elf 2025-05-12 22:00:13 +08:00
Zhang Junyang
690f87f311 Add RcuDrop 2025-05-12 16:12:01 +08:00
Zhang Junyang
9cb28f8dd0 FrameRef for all types of frames 2025-05-11 15:42:46 +08:00
Zhang Junyang
773b965767 Allow specifying orderings when loading/storing AtomicCpuSets 2025-05-11 15:29:17 +08:00
Zhang Junyang
d3e4f175cd Fix the memory leak on large heap slot dealloc 2025-05-08 19:49:42 +08:00
Zhang Junyang
18df0f6ec9 Fix the linear mapping size if the IO range is high 2025-05-06 23:33:05 +08:00
Chen Chengjun
1da723c0de Replace the original XArray with RCU-based XArray 2025-04-30 20:59:15 +08:00
Yuke Peng
ef898e572c Move tdx_guest::unprotect_gpa_range into IoMem creation 2025-04-29 16:31:08 +08:00
Yuke Peng
04a8fccd2f Add Framebuffer region into filter in IoMemAllocatorBuilder 2025-04-29 14:49:58 +08:00
jiangjianfeng
9b4417e29a Pin the unwinding crate version to 0.2.5 2025-04-29 12:33:55 +08:00
Ruihan Li
bf4950965b Adjust unsafe blocks in syscall.rs 2025-04-22 20:52:15 +08:00
Ruihan Li
c9a7d501b2 Rewrite trap/idt.rs 2025-04-22 20:52:15 +08:00
Ruihan Li
8c30b4b942 Rewrite trap/gdt.rs 2025-04-22 20:52:15 +08:00
Ruihan Li
e06509e380 Make some unsafe blocks shorter 2025-04-22 20:52: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
Zejun Zhao
3aa1079ca6 Clarify the usage of ostd::arch 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
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
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
Zhang Junyang
50924d6693 Stop sharing kernel boot PDPTs and linear boot PDPTs 2025-04-14 16:20:35 +08:00
Fabing Li
784628e238 Add ktest cases for io interfaces 2025-04-10 15:36:58 +08:00
Chen Chengjun
6aba270a9b Enable RCU to support Weak 2025-04-10 14:42:51 +08:00
Chen Chengjun
a21e895102 Enable RCU to read reference to stored pointers 2025-04-10 14:42:51 +08:00
Zhe Tang
36f6f9bcd4 Fix the AVX initialization bugs on lower-end CPUs 2025-04-10 09:52:38 +08:00
Ruihan Li
5ed5647d42 Update outdated comments near switch_to_task 2025-04-06 09:49:23 +08:00
Zhang Junyang
d378dc51ff Enable IA32_EFER.NXE earlier in AP 2025-04-05 23:50:42 +08:00
Ruihan Li
396ead6fbd Fix safety reasoning about get_on_cpu 2025-04-03 10:50:22 +08:00
Ruihan Li
c17a3eaa0b Revise safety comments in single_instr.rs 2025-04-03 10:50:22 +08:00
Ruihan Li
5651b93af0 Turn GS.base validity into a global invariant 2025-04-03 10:50:22 +08:00