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/atlas/blob/master/history/alpha/alpha.control-flow # atlas aien-dev/atlas Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `atlas / history / alpha / alpha.control-flow` 58 lines · 2322 bytes Raw Blame History 1 # ALPHA CONTROL FLOW GRAPH (CFG) 2 ## Target Profile: CONTRACT-QEMU-VIRT-AARCH64-M1 3 4 ```text 5 [Entry: 0x00000000 (_start)] 6 │ 7 ├─> Mask DAIF interrupts 8 ├─> Set SP = 0x401FF000 9 ├─> Set UART Base = 0x09000000 10 ├─> Call print_string(msg_awaken) ──> [print_string] ──> [Return] 11 ├─> Populate Boot Descriptor at 0x401FE000 12 ├─> Call print_string(msg_verify) ──> [print_string] ──> [Return] 13 │ 14 ▼ 15 [.Lverify_loop: 0x0000005c] <───────────────┐ 16 │ │ 17 ├─> ldrb w27, [x23], #1 │ (Loop 256 iterations) 18 ├─> eor x25, x25, x27 │ 19 ├─> mul x25, x25, x26 │ 20 ├─> subs x24, x24, #1 │ 21 └─> b.ne .Lverify_loop ────────────────────┘ 22 │ 23 ▼ 24 [Check Digest: 0x00000070] 25 │ 26 ├─> cmp x25, x28 (0x106e6d37dd96e28b) 27 │ 28 ├── [MISMATCH: b.ne] ─────────────────────┐ 29 │ │ 30 ▼ [MATCH] ▼ [.Lrefuse_handoff: 0x0000009c] 31 [Emit Handoff: 0x00000078] │ 32 │ ├─> Call print_string(msg_refuse) 33 ├─> Call print_string(msg_handoff) │ 34 │ ▼ 35 ▼ [.Lquiescent_halt: 0x000000a4] <──┐ 36 [Setup PHYSICS_ENTRY_ABI: 0x00000084] │ │ 37 │ ├─> wfe │ (Quiescent halt) 38 ├─> mov x0, 0x401FE000 └─> b .Lquiescent_halt ─────────┘ 39 ├─> mov x1, 256 40 ├─> ldr x2, 0x5048595349435330 41 ├─> ldr x19, 0x40200000 42 │ 43 ▼ 44 [Handoff: 0x00000094] 45 │ 46 ├─> br x19 (Direct branch to PHYSICS-0 @ 0x40200000) 47 │ 48 ▼ [UNREACHABLE FALLTHROUGH] 49 └─> b .Lquiescent_halt 50 51 [Subroutine: print_string: 0x000000ac] 52 │ 53 ├─> .Lprint_char: ldrb w0, [x21], #1 54 ├─> cbz w0, .Lprint_ret 55 ├─> str w0, [x20] (UART MMIO Write) 56 ├─> b .Lprint_char 57 └─> .Lprint_ret: ret 58 ```