Commit Graph

105 Commits

Author SHA1 Message Date
Xinyi Yu e6104161b7 Prevents ID allocation beyond bitmap bounds 2026-02-10 20:33:34 -08: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
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
root dee39e21d1 x86/tdx: integrate fatal error reporting and improve initialization 2026-01-27 16:32:36 -08:00
jiangjianfeng 6f54cc56e7 Move int-to-c-enum from kernel/libs to ostd/libs 2026-01-04 10:51:36 -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
jiangjianfeng 90f916793d Bump the project version to 0.17.0 2025-12-14 00:08:33 +08:00
Zhang Junyang 81da39400c Bump version to 0.16.2 2025-12-09 19:41:18 +08:00
Zhang Junyang 9f3b38ef43 Fix a doc check failure and the bzImage ABI 2025-12-09 16:26:02 +08:00
Zhang Junyang c04015f3e0 Fix the `ostd-test` crate for `ktest`s 2025-12-09 16:26:02 +08:00
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 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
Hsy-Intel 2c9a11e43e Reduce #VE, disable SEPT #VE and enable notification for zero step attack detection in TDX environment 2025-12-04 09:48:17 +08:00
Chen Chengjun 265fdc7080 Remove unused methods of IdAlloc 2025-11-30 23:58:58 +08:00
Ruihan Li e61c8ce56a Unify styles of assembly code 2025-10-28 09:21:44 +08:00
Ruihan Li 36a38c3f04 Bump `rand` version to 0.9.2 2025-09-30 11:36:37 +08:00
Tao Su fc114019d6 Recompile bzImage if payload is changed 2025-09-26 15:35:14 +08:00
Yuke Peng 48c7c37f50 Bump version to 0.16.1 2025-09-24 13:55:48 +08:00
Ruihan Li 3b606f5b6c Use `size_of`/`align_of` in the prelude 2025-09-04 09:26:56 +08:00
Zejun Zhao 3b0666449f Use rust-analyzer for riscv64 and loongarch64 target 2025-08-29 16:57:06 +08:00
jiangjianfeng 4e78653b5b Bump project version to 0.16.0 2025-08-05 14:24:14 +08:00
jiangjianfeng 2e09957ef9 Fix documentation check errors 2025-07-01 17:07:28 +08:00
Zhang Junyang c7f489b726 Bump version to 0.15.2 2025-06-26 08:16:22 +08:00
Wang Siyuan 614ac85bd4 Bump the project version 2025-06-12 22:35:54 +08:00
jiangjianfeng ead5a70444 Replace proc_macro APIs with proc_macro2 APIs in ostd_macros 2025-06-09 18:51:35 +08:00
Hsy-Intel ad6aa4960c Bump the project version 2025-05-12 22:01:05 +08:00
Zhang Junyang 02463ff161 Bump xmas-elf 2025-05-12 22:00:13 +08:00
Ruihan Li 344ce59ca3 Reserve more regions in linux-legacy32 2025-03-27 09:13:41 +08:00
Ruihan Li 78a9ec9e96 Support PE/COFF entry point 2025-03-27 09:13:41 +08:00
Zhang Junyang 5f5be25e4a Bump the version to 0.14.1 2025-03-22 15:55:31 +08:00
Ruihan Li 5633263182 Avoid segment overlapping in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li a64fa94404 Set the correct memory type in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li dbf0987a4b Clean up Rust code in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li cfbbc99df2 Revise console implementation in EFI stub 2025-03-22 09:52:57 +08:00
Ruihan Li 8c6521c2df Do assembly relocations in EFI stub 2025-03-22 09:52:57 +08:00
Hsy-Intel 148695194f Support TDX SMP 2025-03-20 17:25:22 +08:00
Zhang Junyang 688212899a Add a dummy payload file to pass publish check 2025-03-20 11:43:34 +08:00