Commit Graph

279 Commits

Author SHA1 Message Date
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
Chen Chengjun bf5360d721 Enable arch-aware make check 2025-08-19 19:20:54 +08:00
Hsy-Intel e725bf4ab8 Update Docker image references to remove '-tdx' suffix for consistency 2025-08-16 09:17:44 +08:00
Hsy-Intel de9f0da58f Clean up TDX-specific Docker images 2025-08-15 15:27:09 +08:00
Hsy-Intel 7301cb8c36 Upgrade QEMU version 2025-08-15 15:27:09 +08:00
jiangjianfeng 4e78653b5b Bump project version to 0.16.0 2025-08-05 14:24:14 +08:00
Zejun Zhao b76d61d268 Show function name in panic stack trace 2025-08-04 11:03:16 +08:00
Ruihan Li 3e88b92ddd Remove useless target features 2025-07-29 11:13:59 +08:00
Ruihan Li d73f1016a1 Set softfloat targets for ARM/LoongArch/RISC-V 2025-07-29 11:13:59 +08:00
王英泰 ef1d26d81b Add the support for LoongArch in OSDK 2025-07-25 17:37:24 +08:00
Qingsong Chen 171b9803ad Let Github runners reuse caches for Rust and Nixpkgs 2025-07-23 20:03:39 +08:00
Marsman1996 b04d62ae71 Use official minicov and add unit test for coverage feature 2025-07-22 10:31:56 +08:00
YanWQ-monad 79335b272f Add coverage support
Co-authored-by: Marsman1996 <lqliuyuwei@outlook.com>
2025-07-22 10:31:56 +08:00
Ruihan Li bc7515389b Create a RISC-V boot code and data section 2025-07-21 10:01:02 +08:00
Ruihan Li e475009fe7 Optimize the x86 binary size 2025-07-21 10:01:02 +08:00
王英泰 92fb51b99b Add LoongArch QEMU to the docker image and bump versions 2025-07-16 21:57:25 +08:00
Marsman1996 e1870fde9a Install clang into the OSDK docker image 2025-07-16 21:35:19 +08:00
Hsy-Intel 48b160e33a Use default process name in TDX QEMU configuration 2025-07-10 10:13:51 +08:00