From 2cdfc3ef40623cca7ce0674b7175a6d3608f3d14 Mon Sep 17 00:00:00 2001 From: Yuekai Jia Date: Sun, 22 Mar 2026 17:28:51 +0800 Subject: [PATCH] Bump to v0.3.0 and update CHANGELOG --- CHANGELOG.md | 29 +++++++++++++++++++++++------ Cargo.lock | 18 +++++++++--------- Cargo.toml | 11 +++++++++-- 3 files changed, 41 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a2abbfd..95766b5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,33 @@ # Changelog +## 0.3.0 + +### New Features + +* Add ARMv7a (32-bit) architecture support (https://github.com/arceos-org/axcpu/pull/16). +* Add generic timer abstraction for AArch64 and ARM architectures (https://github.com/arceos-org/axcpu/pull/23). + +### Breaking Changes + +* Upgrade [page_table_multiarch](https://crates.io/crates/page_table_multiarch) crate to v0.6, which adds ARM support. (https://github.com/arceos-org/axcpu/pull/22). +* Upgrade [percpu](https://crates.io/crates/percpu) crate to v0.3, see [percpu v0.3.0 changelog](https://github.com/arceos-org/percpu/blob/main/CHANGELOG.md#030). + +### Bug Fixes + +* Fix kernel stack pointer save on LoongArch64 (https://github.com/arceos-org/axcpu/pull/14). +* Set sstatus::FS before fp restore/clear in `switch_to` on riscv64 (https://github.com/arceos-org/axcpu/pull/30). + ## 0.2.2 -### Fixes +### Bug Fixes -* [Fix compile error on riscv when enable `uspace` feature](https://github.com/arceos-org/axcpu/pull/12). +* Fix compile error on riscv when enabling `uspace` feature (https://github.com/arceos-org/axcpu/pull/12). ## 0.2.1 -### Fixes +### Bug Fixes -* [Pad TrapFrame to multiple of 16 bytes for riscv64](https://github.com/arceos-org/axcpu/pull/11). +* Pad TrapFrame to multiple of 16 bytes for riscv64 (https://github.com/arceos-org/axcpu/pull/11). ## 0.2.0 @@ -20,8 +37,8 @@ ### New Features -* [Add FP state switch for riscv64](https://github.com/arceos-org/axcpu/pull/2). -* [Add hypervisor support for aarch64](https://github.com/arceos-org/axcpu/pull/10). +* Add FP state switch for riscv64 (https://github.com/arceos-org/axcpu/pull/2). +* Add hypervisor support for aarch64 (https://github.com/arceos-org/axcpu/pull/10). ### Other Improvements diff --git a/Cargo.lock b/Cargo.lock index 450c9197..68c673b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -50,7 +50,7 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "axcpu" -version = "0.2.2" +version = "0.3.0" dependencies = [ "aarch32-cpu", "aarch64-cpu", @@ -108,9 +108,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "const_fn" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f8a2ca5ac02d09563609681103aada9e1777d54fc57a5acd7a41404f9c93b6e" +checksum = "413d67b29ef1021b4d60f4aa1e925ca031751e213832b4b1d588fae623c05c60" [[package]] name = "critical-section" @@ -174,9 +174,9 @@ checksum = "b1f0625c50adb5f6aaf47f05cae3c4dbc13a74c659241b06c4576f3d7e1da940" [[package]] name = "num_enum" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" dependencies = [ "num_enum_derive", "rustversion", @@ -184,9 +184,9 @@ dependencies = [ [[package]] name = "num_enum_derive" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" dependencies = [ "proc-macro2", "quote", @@ -259,9 +259,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.44" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" dependencies = [ "proc-macro2", ] diff --git a/Cargo.toml b/Cargo.toml index 59cc319a..c814fce6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "axcpu" -version = "0.2.2" +version = "0.3.0" edition = "2021" authors = [ "Yuekai Jia ", "Youjie Zheng ", "yfblock <321353225@qq.com>", + "Debin ", "yanjuguang ", "Grow Zheng ", "Su Mingxian ", @@ -61,4 +62,10 @@ new_without_default = "allow" [package.metadata.docs.rs] all-features = true -targets = ["x86_64-unknown-none", "aarch64-unknown-none-softfloat", "riscv64gc-unknown-none-elf", "loongarch64-unknown-none-softfloat"] +targets = [ + "x86_64-unknown-none", + "aarch64-unknown-none-softfloat", + "riscv64gc-unknown-none-elf", + "loongarch64-unknown-none-softfloat", + "armv7a-none-eabi", +]