Commit Graph

296 Commits

Author SHA1 Message Date
Ruihan Li c9032ad97c Fix `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
jiangjianfeng 184e803869 Use accurate build time only when publishing 2026-01-08 20:02:57 -08:00
Tao Su 91604c7b51 Stop hardcoding TDX guest object 2026-01-06 22:34:10 -08:00
Tao Su 284e193823 Support QOM format when parsing QEMU arguments 2026-01-06 22:34:10 -08:00
zzjrabbit a42b4cd078 Fix all occurrences of "grub.protocol" in OSDK.toml 2026-01-04 11:39:02 -08:00
Chen Chengjun 6288c057b0 Handle the QEMU exit code 2026-01-04 10:54:51 -08:00
jiangjianfeng 976f088712 Get package version via cargo metadata 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 f4fab3f38a Check non-OSDK crates with cfg(test) and without cfg(test) 2026-01-04 10:48:11 -08:00
jiangjianfeng 95fc2ef17f Rename OSDK clippy option from ktest to ktests 2026-01-04 10:48:11 -08:00
jiangjianfeng a0b746fb3f Run clippy test with and without ktest configuration 2026-01-03 21:17:39 -08:00
Tate, Hongliang Tian 7dc6fb980f Upgrade mdBook to 0.5.2 2025-12-28 10:21:58 +08:00
Qingsong Chen f7afb13a67 Remove unnecessary packages and nix-store optimisation to reduce docker image size 2025-12-17 17:23:01 +08:00
jiangjianfeng 90f916793d Bump the project version to 0.17.0 2025-12-14 00:08:33 +08:00
John Hughes a91c7403c9
Extract the crate name from the path argument of `cargo osdk new` 2025-12-12 00:19:32 +08:00
Zhang Junyang 81da39400c Bump version to 0.16.2 2025-12-09 19:41:18 +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 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 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 35d70fca71 Manage poweroff and restart handlers 2025-12-08 11:12:05 +08:00
wheatfox 34b12b2de5 Add `/proc/version` support
Signed-off-by: wheatfox <wheatfox17@icloud.com>
2025-12-05 19:29:54 +08:00
Wang Siyuan a7b97db10f Install libnuma to osdk container and bump image version to 0.16.1-20251130 2025-11-30 18:12:46 +08:00
Wang Siyuan f7762e87ba Install qemu with NUMA support 2025-11-29 07:52:06 +08:00
Wang Siyuan bd412dd388 Frame Allocator: update `GLOBAL_POOL_SIZE` when dropping `OnDemandGlobalLock` 2025-11-29 07:52:06 +08:00
Zhang Junyang 7564314de3 Fix a misuse of `CommonSizeClass::from_size` in CPU local allocator 2025-11-26 16:41:04 +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
Hsy-Intel 8617f5bc40 Remove duplicate QEMU parameters in the TDX environment 2025-11-18 19:54:32 +08:00
Zejun Zhao 53803a9fb1 Let OSDK shutdown sifive_u QEMU machine 2025-11-18 14:46:16 +08:00
Zhang Junyang 3b4569e14d Add RISC-V SMP boot entrypoint 2025-11-02 21:23:32 +08:00
Tao Su 31cb7433eb Hardcode qemu args to add `quote-generation-socket` 2025-10-31 08:53:27 +08:00
Zejun Zhao ff84f60489 Add .ex_table section on loongarch64 platforms 2025-10-30 11:27:08 +08:00
Zejun Zhao 79992c66de Implement fallible memory operations on RISC-V platform 2025-10-30 11:27:08 +08:00
Zejun Zhao 629b053ea8 Make exception table arch-agnostic 2025-10-30 11:27:08 +08:00
Zejun Zhao bfcb1d2c00 Implement `DmaStream::sync` on RISC-V platforms 2025-10-30 10:47:53 +08:00
Yuke Peng 48c7c37f50 Bump version to 0.16.1 2025-09-24 13:55:48 +08:00
Tate, Hongliang Tian c485d512f6 Rename ostd::trap to ostd::irq 2025-09-19 15:05:50 +08:00
Ruihan Li 652657fba5 Drop duplicate public re-exports 2025-09-10 12:10:40 +08:00
Ruihan Li 3b606f5b6c Use `size_of`/`align_of` in the prelude 2025-09-04 09:26:56 +08:00
Zhang Junyang eb69aa4fb9 Unify address and size APIs for memory objects 2025-09-02 17:53:55 +08:00
Zejun Zhao b9a0878d53 Add comment about .eh_frame_hdr in riscv64 linker script 2025-08-29 17:10:48 +08:00
Zejun Zhao 920ec7f521 Enable RISC-V stack unwinding on panic 2025-08-28 17:26:23 +08:00