Commit Graph

14 Commits

Author SHA1 Message Date
Tate, Hongliang Tian 7d417cbcd2 Add compile-time per-module log prefix via __log_prefix!() 2026-04-17 00:00:12 -07:00
Tate, Hongliang Tian 082965f881 Replace the log crate with OSTD's own logging API 2026-04-08 02:02:48 -07:00
Tate, Hongliang Tian 969be51afc Enforce `alphabetical-attrs` guideline across the codebase
Sort all non-derive outer attributes alphabetically by name,
place `#[derive(...)]` last (before any derive helper attributes
like `#[serde(...)]` and `#[clap(...)]`), and sort traits inside
`#[derive(...)]` alphabetically. This covers 329 files with 704
line changes (all pure reordering, no semantic changes).

Key patterns normalized:
- `#[cfg(...)]` comes first (c), then other attrs alphabetically
- `#[repr(...)]` stays before `#[derive(...)]` (derive is always last)
- `#[padding_struct]` and `#[pod_union]` precede `#[derive(...)]`
- Derive helper attrs like `#[serde(...)]` remain after `#[derive(...)]`
- Derive traits like `Debug, Clone, Copy` become `Clone, Copy, Debug`
- The common set `{Debug, Clone, Copy, Pod, Default}` (59 uses,
  12 prior orderings) is now uniformly `Clone, Copy, Debug, Default, Pod`
2026-04-08 01:08:41 -07:00
Jianfeng Jiang a433bd0bd6 Add two unimplemented kernel CLI parameters 2026-03-30 17:03:33 +08:00
Ruihan Li 8dd86fc01a Revise `comps/cmdline` code 2026-03-17 21:32:54 -07:00
Tao Su b43d3285fa Add unimplemented kernel parameter module and placeholders 2026-03-17 17:09:44 -07:00
Tao Su 74e5edffd5 Introduce `CpuList` and `MetricU64` value types for parameter parsing 2026-03-17 17:09:44 -07:00
Tao Su cc037f09d6 Define and parse kernel command-line parameters 2026-03-17 17:09:44 -07:00
Jianfeng Jiang 91b68b3946 Fallback to default init executables if `init=` is not provided 2026-03-17 09:25:19 +08:00
jiangjianfeng 01cac4268e Manage dependencies at workspace level 2026-01-04 10:51:36 -08:00
jiangjianfeng 34ab63addb Manage package metadata at workspace level 2026-01-04 10:51:36 -08:00
Zhang Junyang 69327eee8d Upgrade to Rust 2024 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 13afca6441 Add `i8042.exist` to override ACPI flags 2025-12-07 09:52:42 +08:00