aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / crates / allen-reflex-kernel / Cargo.toml
| 1 | # Standalone (not a member of the host workspace, like aienos-infer-kernel): built for |
| 2 | # aarch64-unknown-none and linked into the C kernel image of "make pi5-allen" (CK_ALLEN_LIB). |
| 3 | # On the host the same exam code builds with std for the host harness (examples/host_exam.rs) |
| 4 | # and the tests; the allocator, panic handler and C entry points exist only for target_os = "none". |
| 5 | [package] |
| 6 | name = "allen-reflex-kernel" |
| 7 | version = "0.1.0" |
| 8 | edition = "2021" |
| 9 | license = "AGPL-3.0-or-later" |
| 10 | description = "Links the ALLEN REFLEX decision core into the C kernel: bounded bump heap, panic stop, card exam runner (PI5-8 cut K)." |
| 11 | |
| 12 | [lib] |
| 13 | crate-type = ["staticlib", "rlib"] |
| 14 | |
| 15 | [dependencies] |
| 16 | allen-reflex = { path = "../allen-reflex" } |
| 17 | |
| 18 | [workspace] |
| 19 | |
| 20 | [profile.release] |
| 21 | panic = "abort" |
| 22 | opt-level = 3 |
| 23 | lto = false |
| 24 | codegen-units = 1 |
| 25 | |
| 26 | [profile.dev] |
| 27 | panic = "abort" |
| 28 | |
| 29 | [[test]] |
| 30 | name = "heap_budget" |
| 31 | harness = false |
| 32 | |
| 33 | # Host/QEMU red runs only (scripts/qemu_ck_allen_reflex_test.sh): build the unit with a known-bad routing mutant so the |
| 34 | # kernel's own authority check (core/allen.c route_violation) must catch it. Never in a Pi image. |
| 35 | [features] |
| 36 | route-mutant-grant = ["allen-reflex/route-mutant-grant"] |