Commit Graph

3518 Commits

Author SHA1 Message Date
wyt8 fa1fb6f8ae Spawn mulitple ttys when system boots 2026-02-10 18:13:43 +00:00
wyt8 e2ffdf1c46 Remove the patch supporting multiple TTYs, and update the Xorg configuration to disable VT switching 2026-02-10 18:13:43 +00:00
wyt8 90f1c71246 Add a virtual terminal manager to manage all vt 2026-02-10 18:13:43 +00:00
wyt8 14dccef3dc Add virtual terminal driver and related functions, including console, file representation, and IOCTL definition 2026-02-10 18:13:37 +00:00
wyt8 77b6d82809 Refactor TTY device management and update the relevant ioctl processing logic 2026-02-10 18:12:37 +00:00
wyt8 6f6812ff61 Remove the register for the origin framebuffer console 2026-02-10 17:43:53 +00:00
wyt8 e6bf89774d Implement keyboard key symbol mapping and state handling 2026-02-10 17:43:43 +00:00
wyt8 7b519b1927 Update the return type of the `job_control` method of the `Terminal` trait to be `Arc<JobControl>` 2026-02-10 17:39:55 +00:00
wyt8 ffae1f1c3c Add some keyboard keys 2026-02-10 17:39:55 +00:00
wyt8 643df09722 Refactor the processing of ANSI escape sequences 2026-02-10 17:39:55 +00:00
wyt8 1fd4a65f4b Add the keyboard mode flags 2026-02-10 17:39:55 +00:00
Ruihan Li c9032ad97c Fix `redundant_test_prefix` 2026-02-09 23:47:49 -08:00
Ruihan Li bc9f8fe964 Implement/Enable `redundant_test_prefix` 2026-02-09 23:47:49 -08:00
Ruihan Li b86d74344a Clean up `ostd-macros` 2026-02-09 23:47:49 -08:00
Jianfeng Jiang 5f8b019369 Replace `from_first_bytes` with `from_bytes` if possible 2026-02-08 20:32:24 -08:00
Jianfeng Jiang bf13673b97 Replace all usage of `from_bytes` with `from_first_bytes` 2026-02-08 20:32:24 -08:00
jiangjianfeng 4a80f0e5eb Replace Pod with zerocopy-backed Pod 2026-02-08 20:32:24 -08:00
jiangjianfeng c8f2cfaeae Add ostd-pod crate and #[derive(pod)], pod_union macros 2026-02-08 20:32:24 -08:00
jiangjianfeng d1c9d119b3 Add macro for padding struct 2026-02-08 20:32:24 -08:00
li041 84bced252b Add `pidfd_send_signal` syscall 2026-02-08 20:29:29 -08:00
li041 3ae286980e Genericize `kill*` functions with `Signal` trait 2026-02-08 20:29:29 -08:00
dependabot[bot] 3d6d91ea18 Bump time from 0.3.41 to 0.3.47
Bumps [time](https://github.com/time-rs/time) from 0.3.41 to 0.3.47.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.41...v0.3.47)

---
updated-dependencies:
- dependency-name: time
  dependency-version: 0.3.47
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 00:27:43 -08:00
dependabot[bot] a84813150f Bump lru from 0.12.5 to 0.16.3
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.12.5 to 0.16.3.
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.12.5...0.16.3)

---
updated-dependencies:
- dependency-name: lru
  dependency-version: 0.16.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-05 19:39:29 -08:00
Ruihan Li 81e4c90449 Enable more regression tests 2026-02-06 10:09:59 +08:00
Ruihan Li 18f97d01fc Replace warnings with explanation 2026-02-06 10:09:59 +08:00
Ruihan Li dd25a8ad62 Rewrite `Credentials` comments 2026-02-06 10:09:59 +08:00
Ruihan Li 744e95a819 Correct some `Credentials` behavior 2026-02-06 10:09:59 +08:00
Ruihan Li 5bd40d7bd5 Reorder some `Credentials` methods 2026-02-06 10:09:59 +08:00
Hsy-Intel 5d0779bd83 Fix format issue 2026-02-03 22:57:49 -08:00
Hsy-Intel 4f8bbf18a6 Enable `cvm_guest` feature by default in aster-kernel 2026-02-03 22:57:49 -08:00
Xinyi Yu b0407dd517 Add `proc/self/mounts` and `proc/mounts` 2026-02-03 14:03:36 -08:00
Ruihan Li ab4e0d9012 Make `populate_device` infallible 2026-02-03 13:18:10 -08:00
Ruihan Li 8297da7247 Remove `VmMapping::inode` 2026-02-03 13:18:10 -08:00
Ruihan Li 894f6ba9b4 Fix heap lock issues 2026-02-03 13:18:10 -08:00
Ruihan Li 6d2ff13a63 Redirect serial output if `hvc0` is on 2026-01-28 19:43:55 -08:00
Qingsong Chen a4f77b12b6 Revise InodeDesc.acl from Option<Bid> to Bid 2026-01-28 18:43:02 -08:00
Qingsong Chen 28fe11e98d Fix ext2 fast symlink inode detection logic 2026-01-28 18:43:02 -08:00
Xinyi Yu 01cf00a4c6 Trim whitespace from input string before parsing in `OomScoreAdhFileOps::write_at` method 2026-01-28 16:19:03 -08:00
Ruihan Li a599a2c563 Disable BAR decoding when sizing PCI BARs 2026-01-27 23:05:02 -08:00
Ruihan Li eefdaf4de9 Fix minor problems in PCI 2026-01-27 23:05:02 -08:00
Ruihan Li b11fcdcf0b Remove unused code in PCI 2026-01-27 23:05:02 -08:00
Wang Siyuan 08d54ec6ad Add entries other than `[stack]` in `/proc/[pid]/maps` 2026-01-27 23:01:17 -08:00
Wang Siyuan fb8c9e0c27 Revert "`ProgramToLoad` only needs a `elf_inode: Arc<dyn Inode>` instead of a `Path`"
This reverts commit 71632a51b5.
2026-01-27 23:01:17 -08:00
Marsman1996 66ac28c4c2 Add test for permission validation of mprotect and mmap 2026-01-27 21:24:35 -08:00
Marsman1996 ea142155fb Fix permission validation in mprotect and mmap 2026-01-27 21:24:35 -08:00
li041 306cc714ae Align `PidFile` semantics with POSIX standards 2026-01-28 11:20:50 +08:00
Ruihan Li 425cc2d1cf Fix some style issues 2026-01-28 11:07:28 +08:00
Ruihan Li b1071b6b92 Remove old gVsior workaround 2026-01-28 11:07:28 +08:00
Ruihan Li 22dd288b07 Support `make run_kernel CONSOLE=ttyS0` 2026-01-27 17:44:41 -08:00
Ruihan Li 3c959bf0a0 Support `/dev/ttyS0` and `console=ttyS0` 2026-01-27 17:44:41 -08:00