Skip to content

Commit a1c6102

Browse files
authored
axonos-kernel v0.1.8
1 parent f5636f9 commit a1c6102

9 files changed

Lines changed: 28 additions & 25 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exclude = [
1818
]
1919

2020
[workspace.package]
21-
version = "0.1.7"
21+
version = "0.1.8"
2222
edition = "2021"
2323
rust-version = "1.75"
2424
license = "Apache-2.0 OR MIT"

axonos-capability/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-capability"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"

axonos-firmware-stm32f407/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-firmware-stm32f407"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"
@@ -23,12 +23,12 @@ cortex-m-rt = "0.7"
2323
panic-halt = "0.2"
2424

2525
# AxonOS workspace dependencies
26-
axonos-kernel-core = { version = "0.1.7", path = "../axonos-kernel-core" }
27-
axonos-time = { version = "0.1.7", path = "../axonos-time" }
28-
axonos-scheduler = { version = "0.1.7", path = "../axonos-scheduler" }
29-
axonos-capability = { version = "0.1.7", path = "../axonos-capability" }
30-
axonos-intent = { version = "0.1.7", path = "../axonos-intent" }
31-
axonos-spsc = { version = "0.1.7", path = "../axonos-spsc" }
26+
axonos-kernel-core = { version = "0.1.8", path = "../axonos-kernel-core" }
27+
axonos-time = { version = "0.1.8", path = "../axonos-time" }
28+
axonos-scheduler = { version = "0.1.8", path = "../axonos-scheduler" }
29+
axonos-capability = { version = "0.1.8", path = "../axonos-capability" }
30+
axonos-intent = { version = "0.1.8", path = "../axonos-intent" }
31+
axonos-spsc = { version = "0.1.8", path = "../axonos-spsc" }
3232

3333
[[bin]]
3434
name = "axonos-firmware-stm32f407"

axonos-intent/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-intent"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"
@@ -15,8 +15,8 @@ default = []
1515
std = ["axonos-time/std"]
1616

1717
[dependencies]
18-
axonos-time = { version = "0.1.7", path = "../axonos-time" }
19-
axonos-capability = { version = "0.1.7", path = "../axonos-capability" }
18+
axonos-time = { version = "0.1.8", path = "../axonos-time" }
19+
axonos-capability = { version = "0.1.8", path = "../axonos-capability" }
2020

2121
[lib]
2222
name = "axonos_intent"

axonos-kernel-core/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-kernel-core"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"
@@ -15,11 +15,11 @@ default = []
1515
std = ["axonos-time/std", "axonos-intent/std"]
1616

1717
[dependencies]
18-
axonos-spsc = { version = "0.1.7", path = "../axonos-spsc" }
19-
axonos-scheduler = { version = "0.1.7", path = "../axonos-scheduler" }
20-
axonos-capability = { version = "0.1.7", path = "../axonos-capability" }
21-
axonos-time = { version = "0.1.7", path = "../axonos-time" }
22-
axonos-intent = { version = "0.1.7", path = "../axonos-intent" }
18+
axonos-spsc = { version = "0.1.8", path = "../axonos-spsc" }
19+
axonos-scheduler = { version = "0.1.8", path = "../axonos-scheduler" }
20+
axonos-capability = { version = "0.1.8", path = "../axonos-capability" }
21+
axonos-time = { version = "0.1.8", path = "../axonos-time" }
22+
axonos-intent = { version = "0.1.8", path = "../axonos-intent" }
2323

2424
[lib]
2525
name = "axonos_kernel_core"

axonos-scheduler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-scheduler"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"

axonos-scheduler/kani-proofs/src/main.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ fn sched_s1_admission_sound() {
3333
let c2: u32 = kani::any();
3434
let t2: u32 = kani::any();
3535

36-
// Constrain to reasonable BCI-scale parameters.
37-
kani::assume(t1 > 0 && t1 <= 1_000_000);
38-
kani::assume(t2 > 0 && t2 <= 1_000_000);
36+
// Tight bounds: soundness proof is structural and does not require
37+
// enumeration of large timer values. BCI epoch range is 4 ms, so 4_000 µs
38+
// is the natural ceiling. Tight bounds keep the SAT problem tractable.
39+
kani::assume(t1 > 0 && t1 <= 4_000);
40+
kani::assume(t2 > 0 && t2 <= 4_000);
3941
kani::assume(c1 <= t1);
4042
kani::assume(c2 <= t2);
4143

@@ -150,7 +152,8 @@ fn sched_s4_rta_single_task() {
150152
let c: u32 = kani::any();
151153
let t: u32 = kani::any();
152154

153-
kani::assume(t > 100 && t <= 1_000_000);
155+
// Tight bounds for the same reason as S1.
156+
kani::assume(t > 100 && t <= 4_000);
154157
kani::assume(c > 0 && c < t); // U < 1
155158
kani::assume(c <= t / 2); // keep below threshold so RTA converges in one step
156159

axonos-spsc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-spsc"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"

axonos-time/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axonos-time"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55
rust-version = "1.75"
66
license = "Apache-2.0 OR MIT"

0 commit comments

Comments
 (0)