Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/patches/724b48b8cf780f34 # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aienux#90 (code only) closed derived `724b48b8cf780f34` #90 Imported from GitHub aien-dev/aienux#90 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `ca7562aba374fa3a4eb7911c51a12dfb9c000f25` · Head `e55f4f419fecd319e7ce8ed622847c2ae15d8f82` ### Fetch it A git bundle of the pull request's head, 2154 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/aienux/patches/724b48b8cf780f34.bundle -o 724b48b8cf780f34.bundle git fetch 724b48b8cf780f34.bundle refs/pull/90/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aienux 90 e55f4f419fecd319e7ce8ed622847c2ae15d8f82 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aienux","number":90,"url":"https://github.com/aien-dev/aienux/pull/90","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:46Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/crates/aienos-boot/src/handoff.rs b/crates/aienos-boot/src/handoff.rs index 8e1601e8..c2d4939e 100644 --- a/crates/aienos-boot/src/handoff.rs +++ b/crates/aienos-boot/src/handoff.rs @@ -236,7 +236,19 @@ fn enter_kernel_mmu( ) }; if !entered { - // Not at EL2: the kernel must not continue on firmware's translation. + // Fail closed with evidence: the kernel must not continue on + // firmware's translation, and the reason must survive the halt. + let mut halt_report = Report::new(); + header(&mut halt_report, "halt"); + write_index_line(&mut halt_report); + let el = aienos_kernel::arch::aarch64::current_el(); + let _ = writeln!( + halt_report, + "el1_switch: refused (current EL{el}, expected EL2)" + ); + let _ = writeln!(halt_report, "boot: halted before kernel entry"); + let _ = send_to_console(halt_report.as_str()); + let _ = save_report_var(halt_report.as_bytes()); aienos_kernel::arch::aarch64::halt(); } fatal::install_exception_vectors(); ```