Commit Graph

2284 Commits

Author SHA1 Message Date
f38f476c3b Add support for mounting OverlayFS 2025-04-24 20:07:06 +08:00
914237e9ca Add basic OverlayFS implementation 2025-04-24 20:07:06 +08:00
63831dc2df Add ktest cases 2025-04-24 20:03:54 +08:00
79b0866259 Add sysfs implementation 2025-04-24 20:03:54 +08:00
3a5f270ee9 Made some minor improvements to syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-23 20:39:54 +08:00
9e729593e8 Add syscall faccessat2
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-23 20:39:54 +08:00
17e5108c17 Add regression tests 2025-04-23 20:37:40 +08:00
26253829bb Use datagram_common in netlink 2025-04-23 20:37:40 +08:00
c9f939bcc4 Create datagram_common and use it in UDP 2025-04-23 20:37:40 +08:00
96e62b8fa5 Reorder socket locks 2025-04-23 20:37:40 +08:00
961ad73847 Poll the correct iface in irq handler 2025-04-23 00:32:37 +08:00
bf4950965b Adjust unsafe blocks in syscall.rs 2025-04-22 20:52:15 +08:00
c9a7d501b2 Rewrite trap/idt.rs 2025-04-22 20:52:15 +08:00
8c30b4b942 Rewrite trap/gdt.rs 2025-04-22 20:52:15 +08:00
e06509e380 Make some unsafe blocks shorter 2025-04-22 20:52:15 +08:00
13287c752e Make TDX accept the same virtio-net parameters as the normal setting 2025-04-21 12:17:10 +08:00
e9c85ff158 Only pack benchmark utils while running benchmarks 2025-04-21 11:22:46 +08:00
8815ca384f Add syscall ppoll 2025-04-21 11:19:48 +08:00
1fe0fef410 Add ktests for the XArray 2025-04-19 16:48:15 +08:00
c3dd607777 Introduce RCU-based XArray 2025-04-19 16:48:15 +08:00
6c0827b681 Add ktest cases for vmspace 2025-04-19 14:00:21 +08:00
52e0776591 Add more page table cases 2025-04-19 13:59:43 +08:00
81b79dacc6 Remove read*_to_end methods 2025-04-18 14:17:37 +08:00
1c881d30f6 Add RISC-V build CI 2025-04-18 13:26:16 +08:00
3aa1079ca6 Clarify the usage of ostd::arch 2025-04-18 13:26:16 +08:00
4baff8e17b Fallback to BIOS when using legacy boot protocols 2025-04-18 13:26:16 +08:00
5630fa8b36 Disable RISC-V FPU by default 2025-04-18 13:26:16 +08:00
14b8c48859 Adjust RISC-V's implementation for recent changes 2025-04-18 13:26:16 +08:00
b097060c5e Clean up RISC-V-specific boot code 2025-04-18 13:26:16 +08:00
d39ab61d68 Remove unnecessary usage of cfg_if macro 2025-04-18 13:26:16 +08:00
47ee012e6b Make IoPort x86-specific 2025-04-18 13:26:16 +08:00
e4aa261c48 Make if_tdx_enabled macro x86-specific 2025-04-18 13:26:16 +08:00
dd67a9a175 Clean up code 2025-04-18 13:26:16 +08:00
7ac4fa9519 Add syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-18 09:36:50 +08:00
1130933546 Remove unused device.rs file in mmio 2025-04-17 19:11:27 +08:00
d6e40933b8 Move the log lock to a better location 2025-04-16 21:59:24 +08:00
67e5e5a651 Remove the unused serial input 2025-04-16 21:59:24 +08:00
74ffe72cad Refactor the initialization of IoPortAllocator 2025-04-16 10:09:19 +08:00
a2caedafda Remove the system device's IO port access 2025-04-16 10:09:19 +08:00
92b7961df1 Introduce macros that allow system device driver to remove sensitive ports
test

test
2025-04-16 10:09:19 +08:00
a038b8401b Rename allocator.rs to io.rs 2025-04-16 10:09:19 +08:00
d359cc44d6 Implement IoPortAllocator 2025-04-16 10:09:19 +08:00
f89b248f3b Change IoPort to architecture-independent 2025-04-16 10:09:19 +08:00
85d4cdbbb0 Avoid excessive heap allocations in sys_futex 2025-04-15 21:56:15 +08:00
5d84ac7775 Generate kernel response to user request 2025-04-15 17:20:12 +08:00
3e66732889 Parse netlink message 2025-04-15 17:20:12 +08:00
ac42e83387 Add basic structure for netlink route socket 2025-04-15 17:20:12 +08:00
2c41055470 Expose more methods on bigtcp iface 2025-04-15 17:20:12 +08:00
5e9f537222 Add netlink regression test and gVisor test 2025-04-15 17:20:12 +08:00
7d24e63216 Move network polling code to bottom half 2025-04-15 14:54:51 +08:00