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/native/disk/qemu/start.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 / native / disk / qemu / start.S` 19 lines ยท 505 bytes Raw Blame History 1 /* Bare-metal entry for the QEMU virt NVMe payload. QEMU -kernel enters at 2 * EL1 (no EL3 firmware), MMU and caches off. Set the stack, zero .bss, call 3 * payload_main, then PSCI SYSTEM_OFF through HVC (QEMU's built-in PSCI). */ 4 .section .text.start, "ax" 5 .global _start 6 _start: 7 ldr x0, =__stack_top 8 mov sp, x0 9 ldr x0, =__bss_start 10 ldr x1, =__bss_end 11 1: cmp x0, x1 12 b.hs 2f 13 str xzr, [x0], #8 14 b 1b 15 2: bl payload_main 16 ldr x0, =0x84000008 17 hvc #0 18 3: wfi 19 b 3b