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/blob/main/crates/aienos-artifact-tool/fixtures/p2_7/p27priv/probe.S # 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 branch `main` Branches Tags History `aienux / crates / aienos-artifact-tool / fixtures / p2_7 / p27priv / probe.S` 13 lines ยท 600 bytes Raw Blame History 1 // PI5-7 cut 3 privileged-instruction probe: AArch64 EL0, position independent, no relocations. It reads 2 // SCTLR_EL1, a system register that EL0 may not access (Arm ARM DDI 0487: MRS of an EL1 register from EL0 is 3 // UNDEFINED, taken to EL1 with ESR_EL1.EC 0x00 unknown reason, or EC 0x18 when the access is trapped). The task 4 // is terminated and reclaimed and the kernel keeps running. Reaching SYS_EXIT(0x57) would mean EL0 may read 5 // kernel control registers. 6 .text 7 .global _start 8 _start: 9 mrs x0, sctlr_el1 10 mov x0, #0x57 11 mov x8, #2 12 svc #0 13 1: b 1b