Commit Graph

3102 Commits

Author SHA1 Message Date
Cautreoxit 44768021a1 Add i8042 mouse 2025-11-28 11:25:58 +08:00
Cautreoxit aa6f248d03 Remove magic numbers in i8042 component 2025-11-28 11:25:58 +08:00
Qingsong Chen f15106aed8 Fix ext2 directory entry iteration 2025-11-28 11:22:56 +08:00
Qingsong Chen d08d82cd0b Fix ext2 DeviceRangeReader to prevent reading invalid blocks 2025-11-28 11:22:56 +08:00
Qingsong Chen f026bf38d8 Fix bio request end sector calculation 2025-11-28 11:22:56 +08:00
jiangjianfeng 188b20eb99 Support SO_BROADCAST for UDP sockets 2025-11-28 10:34:26 +08:00
jiangjianfeng 66b3dcc388 Add regression test for UDP broadcast 2025-11-28 10:34:26 +08:00
jiangjianfeng 3208fcc101 Dummy support IP_RECVERR option 2025-11-28 10:34:26 +08:00
jiangjianfeng 65a5b68045 Replace CHECK with TEST_SUCC in sockoption.c if possible 2025-11-28 10:34:26 +08:00
jiangjianfeng 1375346214 Add IP options to UDP socket 2025-11-28 10:34:26 +08:00
jiangjianfeng e796c41546 Reorder the socket options according to CSocketOptionName 2025-11-28 10:34:26 +08:00
Tao Su cf06a7958a Add code owners for scml book and sctrace 2025-11-27 15:34:36 +08:00
Tao Su 3a5662fc0b Rename `test_scmls.yml` to `validate_scmls.yml` 2025-11-27 15:34:36 +08:00
zjp 540ddd1aac chore: remove `make tools` regarding unused cargo-component 2025-11-27 14:38:58 +08:00
Ruihan Li 17b62917cd Perform some remaining cleanups 2025-11-26 17:35:42 +08:00
Ruihan Li 0fd2066ac3 Fix potential atomic mode breaks 2025-11-26 17:35:42 +08:00
Ruihan Li d99791ba57 Fix the handling when the buffer is full 2025-11-26 17:35:42 +08:00
Ruihan Li efeaf5fa6e Fix potential deadlocks 2025-11-26 17:35:42 +08:00
Ruihan Li 42026b3eb9 Define a specific clock type 2025-11-26 17:35:42 +08:00
Ruihan Li 1c7fc4a6e6 Align the read behavior to Linux's 2025-11-26 17:35:42 +08:00
Ruihan Li 52a7d3eddd Simplify the logic related to I/O events 2025-11-26 17:35:42 +08:00
Ruihan Li 6e866cc4c2 Remove the unused event count 2025-11-26 17:35:42 +08:00
Ruihan Li 33428b46b9 Clarify error codes and messages 2025-11-26 17:35:42 +08:00
Ruihan Li 2892b8a977 Use `size_of` in preludes 2025-11-26 17:35:42 +08:00
Tao Su 76a37310af Mark some syscalls without flags as fully supported 2025-11-26 17:34:20 +08:00
Hsy-Intel f8c94695d0 Add TDX hardware randomness requirement note 2025-11-26 17:26:55 +08:00
jiangjianfeng b132d46a02 Bump docker image version to 0.16.1-20251126 2025-11-26 17:19:37 +08:00
jiangjianfeng 79b5e2f0ee Install tools to prepare nixos rootfs in container 2025-11-26 17:19:37 +08:00
Zhang Junyang 7564314de3 Fix a misuse of `CommonSizeClass::from_size` in CPU local allocator 2025-11-26 16:41:04 +08:00
Zhe Tang 70eda539df Refactor IoMem acquisition to use appropriate cache policies across multiple components 2025-11-25 10:24:54 +08:00
Zhe Tang fb1cab9951 Enhance IoMem to support configurable cache policies 2025-11-25 10:24:54 +08:00
Zhe Tang 22dffcf8c2 Extend Cache Policies for the x86 Architecture 2025-11-25 10:24:54 +08:00
Chen Chengjun f8147469d4 Make the mount-related fields in statx effective 2025-11-24 19:01:19 +08:00
Zhe Tang 22a243438d Add the EFI framebuffer CI test 2025-11-24 18:56:29 +08:00
Zhe Tang 20c0d3d178 Add proper error handling for unsupported `ioctl` commands in the EFI framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang 0043cc7504 Implement the color map and the related `ioctl` handlers for the EFI framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang d027b01f3b Implement the `ioctl` handlers for getting and setting information for the EFI framebuffer. 2025-11-24 18:56:29 +08:00
Zhe Tang 3fd1ecd96f Add a helper method to retrieve the line size of the framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang 49068f23d8 Incorporate Linux-compatible data structures for the framebuffer's `ioctl` 2025-11-24 18:56:29 +08:00
Zhe Tang 93eaa7c247 Support `lseek`, `read`/`write` with offsets for the EFI framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang 26dc88dc80 Register `/dev/fb0` as a character device 2025-11-24 18:56:29 +08:00
Zhe Tang c33c37b593 Add the basic framework of /dev/fb0
Co-authored-by: Wei Zhang <ruoyuan.zw@antgroup.com>
2025-11-24 18:56:29 +08:00
Qingsong Chen 0ed3f86709 Fix device id of ext2 inode 2025-11-24 18:55:01 +08:00
Tao Su 5799829c3f Pin `mdbook` and `typos-cli` versions for Rust 1.86 compatibility 2025-11-24 18:37:01 +08:00
Tao Su 590be640d0 Add `gnulib` mirror redirect to improve GRUB build reliability 2025-11-24 18:37:01 +08:00
Wang Siyuan a616682fe3 Add a regression test for executing memfd files 2025-11-24 12:34:42 +08:00
Wang Siyuan 449939a32b Move the executable `PathOrInode` to `ProcessVm` 2025-11-24 12:34:42 +08:00
Wang Siyuan 423053f2e6 Store the executable `PathOrInode` in `Process` to support `execveat` memfd files with `MFD_CLOEXEC` 2025-11-24 12:34:42 +08:00
Wang Siyuan 7bd8af411b Support `execveat` memfd files without `MFD_CLOEXEC` 2025-11-24 12:34:42 +08:00
Wang Siyuan 71632a51b5 `ProgramToLoad` only needs a `elf_inode: Arc<dyn Inode>` instead of a `Path` 2025-11-24 12:34:42 +08:00