Commit Graph

3202 Commits

Author SHA1 Message Date
Zhang Junyang c7a2c81366 Miscellaneous clippy fixes for Rust 2024 2025-12-09 09:23:58 +08:00
Zhang Junyang 69327eee8d Upgrade to Rust 2024 2025-12-09 09:23:58 +08:00
Zhang Junyang 2121a1683d Upgrade the Rust toolchain to 20251208 2025-12-09 09:23:58 +08:00
Zhang Junyang ab26968458 Fix OSDK for Rust 2024 2025-12-09 09:23:58 +08:00
Zhang Junyang 6d2679852f Fix `if let` chains that can be collapsed 2025-12-09 09:23:58 +08:00
Zhang Junyang 127290f70d Patches for the new borrow checker 2025-12-09 09:23:58 +08:00
Zhang Junyang fc9f47a019 Fix manual implementations of `.is_multiple_of()` 2025-12-09 09:23:58 +08:00
Zhang Junyang 559ce94aba Fix elided lifetimes in return values 2025-12-09 09:23:58 +08:00
Zhang Junyang ad6b5ed856 Fix all direct casts of function items into integers 2025-12-09 09:23:58 +08:00
Zhang Junyang 2a6436d05f Fix unsafe API change and unsafe external block 2025-12-09 09:23:58 +08:00
Zhang Junyang aae136865a Mark unsafe attributes 2025-12-09 09:23:58 +08:00
Zhang Junyang dd410444e5 Format with new `rustfmt` 2025-12-09 09:23:58 +08:00
Ruihan Li 2919f43c65 Query EFI framebuffer via shared access 2025-12-08 20:04:21 +08:00
Ruihan Li aae10304c3 Revise safety comments of entry points 2025-12-08 19:26:50 +08:00
Zhang Junyang 85ca6b8934 Use `Vmar::access_remote` to fill zeros upon ELF loading 2025-12-08 12:52:37 +08:00
Tate, Hongliang Tian 129c162923 Update README for FAST'26 news 2025-12-08 11:53:49 +08:00
Ruihan Li 6ac45fe406 Add methods to allow overlapping I/O ports 2025-12-08 11:12:05 +08:00
Ruihan Li 05886011f8 Follow ACPI to reset a real machine 2025-12-08 11:12:05 +08:00
Ruihan Li 35d70fca71 Manage poweroff and restart handlers 2025-12-08 11:12:05 +08:00
Ruihan Li 15446386af Don't panic in the panic handler 2025-12-08 11:12:05 +08:00
Ruihan Li bd67ea489e Simplify code and resolve lints 2025-12-08 11:12:05 +08:00
Cautreoxit 4f71f4bbe6 Add some ioctls for evdev 2025-12-07 17:30:04 +08:00
Ruihan Li a176e4c3c6 Add ioctl enum support 2025-12-07 12:01:05 +08:00
Ruihan Li 4e76ed5fea Migrate to new ioctl infrastructure 2025-12-07 12:01:05 +08:00
Ruihan Li 99fefb7adf Implement new ioctl infrastructure 2025-12-07 12:01:05 +08:00
Ruihan Li 04ef99cb82 Migrate existing code to use `VmIo` 2025-12-07 12:01:05 +08:00
Ruihan Li 9d5e889a93 Implement `VmIo` for `CurrentUserspace` 2025-12-07 12:01:05 +08:00
Ruihan Li 13afca6441 Add `i8042.exist` to override ACPI flags 2025-12-07 09:52:42 +08:00
Ruihan Li 04a2290812 Fix format issues like "initproc" and others 2025-12-07 09:52:42 +08:00
Tate, Hongliang Tian 293baff9a7 Update the count of supported system calls in Book 2025-12-06 08:02:32 +08:00
jiangjianfeng 6e307e75da Check Nix files in `make check` 2025-12-05 20:32:29 +08:00
Tao Su f993073d32 Add SCML for scheduler-related syscalls 2025-12-05 19:39:25 +08:00
Tao Su 9783149673 Mark `getrlimit` and `setrlimit` as fully supported 2025-12-05 19:39:25 +08:00
jiangjianfeng b5a05cba00 Add overlay and configuration files for Podman 2025-12-05 19:37:55 +08:00
wheatfox 34b12b2de5 Add `/proc/version` support
Signed-off-by: wheatfox <wheatfox17@icloud.com>
2025-12-05 19:29:54 +08:00
vvsv 8152695a17 Support syscall fchmodat2 2025-12-05 18:01:37 +08:00
vvsv 0dd061269e execve should return ENOEXEC for scripts without shebang 2025-12-05 18:00:45 +08:00
vvsv 77fb8c0f74 Support syscall `syncfs` 2025-12-05 18:00:24 +08:00
jiangjianfeng a0042f7d28 Add syscall sendmmsg 2025-12-05 17:18:15 +08:00
jiangjianfeng 899e32c452 Add test for sendmmsg 2025-12-05 17:18:15 +08:00
vvsv 42bd84fa96 Some `make format` changes for the xfce overlay 2025-12-05 17:11:40 +08:00
vvsv 24d95eee5e Support nix-shell by logging in as root 2025-12-05 17:11:40 +08:00
zjp c9302471e8 Make some boot entry functions unsafe and document safety
The following functions are unsafe now:
- riscv_boot
- loongarch_boot
- ap_early_entry
- kernel_task_entry

Remove extern declaration of ap_early_entry from riscv_ap_early_entry
And
- Directly call ap_early_entry from module path.
- Clarify what safety requirements are on riscv_ap_early_entry
- Clarify how safety requirements are met on calling ap_early_entry
2025-12-05 15:46:34 +08:00
Chen Chengjun 314021c391 Correct the calculation of log_*_size 2025-12-05 15:26:32 +08:00
Chen Chengjun ad44264fc5 Correct the declaration of FsState 2025-12-05 15:26:32 +08:00
Chen Chengjun 3719caf5f1 Make the Superblock retain all the information from the RawSuperBlock 2025-12-05 15:26:32 +08:00
jiangjianfeng 9ad7c1855e Check device id in DeviceId::from_encoded_64 2025-12-04 20:55:01 +08:00
jiangjianfeng 83c158e3b5 Make device Inode behave like pointer 2025-12-04 20:55:01 +08:00
jiangjianfeng d8a4b3076f Support looking up block devices 2025-12-04 20:55:01 +08:00
jiangjianfeng e4a09f5503 Remove unused Misc device type 2025-12-04 20:55:01 +08:00