diff --git a/.gitignore b/.gitignore index daabc24..a8c58d2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ physics_unit.* physics_full.elf test_physics.elf run_unit_test.py +build/ diff --git a/README.md b/README.md index 6ec3d96..8c47365 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ AIEN OBSERVES, THINKS, HYPOTHESIZES, SEARCHES, DISCOVERS, AND INVENTS. ## Canonical Artifacts & Evidence Files - [`physics.bin`](file:///home/drakestapleton/workspace/physics/physics.bin): Trusted Machine Authority Nucleus binary (6,144 bytes). -- [`physics.sha256`](file:///home/drakestapleton/workspace/physics/physics.sha256): Cryptographic hash (`4ab2f5abc083b1c38aa15c136a94837f0de706eb86a53915b32a27b7a516422e`). +- [`physics.sha256`](file:///home/drakestapleton/workspace/physics/physics.sha256): Cryptographic hash (see `physics.sha256`; pinned into Atlas via `physics_pin.inc`). - [`physics.manifest`](file:///home/drakestapleton/workspace/physics/physics.manifest): Canonical manifest and provenance record anchored to Atlas. - [`physics.memory-map`](file:///home/drakestapleton/workspace/physics/physics.memory-map): Normative physical memory layout with formal pairwise disjointness proof. - [`physics.control-flow`](file:///home/drakestapleton/workspace/physics/physics.control-flow): Textual/graphical control flow graph and fail-closed panic traps. -- [`physics.audit`](file:///home/drakestapleton/workspace/physics/physics.audit): 100% byte-reconciled machine operation ledger (370 instructions, 96 rodata words, 558 canonical padding words, 512 vector table words, 0 discrepancy). +- [`physics.audit`](file:///home/drakestapleton/workspace/physics/physics.audit): 100% byte-reconciled machine operation ledger (464 instructions, 170 rodata words, 390 canonical padding words, 512 vector table words, 0 discrepancy). - [`physics.decode`](file:///home/drakestapleton/workspace/physics/physics.decode): Disassembly dump with static target proof. - [`machine_contract.json`](file:///home/drakestapleton/workspace/physics/machine_contract.json): Formal machine contract (`CONTRACT-QEMU-VIRT-AARCH64-M2`). - [`qualification_receipt.json`](file:///home/drakestapleton/workspace/physics/qualification_receipt.json): Cryptographic qualification receipt for Milestone 2 (`PHYSICS_BOOT`). @@ -58,24 +58,26 @@ AIEN OBSERVES, THINKS, HYPOTHESIZES, SEARCHES, DISCOVERS, AND INVENTS. ### Seam 1: Independent Artifact-Audit Seam (`seam1_physics_audit.py`) Validates static artifact properties without requiring execution: 1. `PHYSICS_ARTIFACT_IDENTITY_PASS`: `physics.bin` matches `physics.sha256`. -2. `PHYSICS_MACHINE_CONTRACT_PASS`: Code size $\le 32\text{ KiB}$ (actual: 1,480 B), total image $\le 64\text{ KiB}$ (actual: 6,144 B), anti-bloat law satisfied. +2. `PHYSICS_MACHINE_CONTRACT_PASS`: Code size $\le 32\text{ KiB}$ (actual: 1,856 B), total image $\le 64\text{ KiB}$ (actual: 6,144 B), anti-bloat law satisfied. 3. `PHYSICS_AUDIT_PASS`: Generalized byte accounting formula reconciled to exact 0 bytes discrepancy: - $$\text{CODE} (1480) + \text{RODATA} (384) + \text{PAD} (2232) + \text{VBAR} (2048) = 6144\text{ bytes}$$ + $$\text{CODE} (1856) + \text{RODATA} (680) + \text{PAD} (1560) + \text{VBAR} (2048) = 6144\text{ bytes}$$ 4. `PHYSICS_VECTOR_LAYOUT_PASS`: Exception vector table base satisfies strict 2 KiB alignment, spans exactly 2,048 bytes (`0x000`..`0x7FF`), with all 16 architectural slots verified at 128-byte stride. 5. `PHYSICS_VECTOR_ALIGNMENT_PASS`: Vector base `0x40201000 % 2048 == 0`. 6. `PHYSICS_MEMORY_DISJOINTNESS_PASS`: Static mathematical proof that all 7 physical memory regions (`IMAGE`, `VBAR`, `STACK`, `STATE`, `CAP_TABLE`, `STATIC_DATA`, `FREE_FRAME_REGION`) are pairwise disjoint. 7. `PHYSICS_STATIC_MEMORY_BOUNDS_PASS`: Memory operations confined strictly to declared regions; initial kernel SP is `0x40205800`. ### Seam 2: External Execution Seam (`seam2_physics_harness.py`) -Validates runtime execution in bare-metal QEMU AArch64: -1. `PHYSICS_ENTRY_EL_PASS`: Current EL verified EL1/EL2, contract-driven installation of `VBAR_ELx`. -2. `PHYSICS_DESCRIPTOR_INGRESS_PASS`: Validates ingress pointer and fields, copies descriptor to `PHYSICS_BOOT_STATE`, zeroes `x0` to vacate Atlas scratchpad. -3. `PHYSICS_BOOT_QEMU_PASS`: Clean end-to-end boot progression from Atlas reset to `PHYSICS: QUIESCENT_READY`. -4. `PHYSICS_FRAME_BOUNDS_PASS`: Physical frame allocation verified strictly within `[FREE_FRAME_BASE (0x40208000), DRAM_END (0x48000000))`. -5. `PHYSICS_RESERVED_FRAME_REFUSAL_PASS`: Assert allocator permanently refuses any allocation in `[0x00000000, 0x40208000)`. -6. `PHYSICS_CAP_ROOT_PASS`: Validates genesis of kernel-private root capability `CapabilityId { slot: 0, generation: 1 }` anchored to `atlas.sha256`. -7. `PHYSICS_EXCEPTION_STATE_CAPTURE_PASS`: Synchronous exception traps to vector table, captures raw architectural state (`VECTOR_SLOT`, `CURRENT_EL`, `ESR`, `ELR`, `SPSR`, `FAR` with validity check), emits diagnostic telemetry, and halts in fail-closed quiescence. -8. `PHYSICS_CORRUPTION_REFUSAL_PASS`: 6-scenario hostile ingress corruption matrix (bad cookie, bad descriptor pointer, zero DRAM size, DRAM base+size overflow, image outside DRAM, invalid UART MMIO) verified to halt immediately in fail-closed quiescence before granting authority. +Boots PHYSICS in QEMU virt (AArch64, cortex-a57, 128 MiB) and qualifies it by reading guest memory over QMP (`xp`), not by trusting UART strings. Every image is rebuilt from source on every run (`m2_build.py`); nothing is cached. +1. `PHYSICS_ENTRY_EL_PASS`: recorded `CurrentEL` (boot state +0x40) equals the contract's `expected_entry_el_value` (EL1); a real EL2 entry (`virt,virtualization=on`) is refused with `PANIC_UNCONTRACTED_EL` before any authority exists. +2. `PHYSICS_DESCRIPTOR_INGRESS_PASS`: the PHYSICS-owned 64-byte descriptor copy equals the contract descriptor word for word; every header (magic, version, length, reserved) and machine-profile violation is refused before bitmap initialization. +3. `PHYSICS_BOOT_QEMU_PASS`: `physics.bin` and `atlas_m2.bin` rebuild byte-identically; telemetry is exactly the golden sequence; allocator header is exactly `DRAM_END=0x48000000`, 32,248 frames; no exception taken. +4. `PHYSICS_FRAME_BOUNDS_PASS`: in-kernel exhaustion allocates exactly 32,248 frames, each previous + 4 KiB from `0x40208000` (deterministic, no duplicates), last `0x47FFF000`, then `FRAME_EXHAUSTED`; all 4,031 bitmap bytes set; a canary byte after the bitmap and the whole first free frame stay untouched. +5. `PHYSICS_RESERVED_FRAME_REFUSAL_PASS`: 13 `is_frame_reserved` probes across Atlas, descriptor, image, vectors, boot state, capability table, static data, `DRAM_END` and wraparound. +6. `PHYSICS_CAP_ROOT_PASS`: all 10 CAP_ROOT fields (slot, generation, principal, `resource_type=1`, ops, bounds, revocation, attenuation, 32-byte Atlas digest) equal the contract; 10 `validate_capability` probes show the root grants nothing outside `[FREE_FRAME_BASE, DRAM_END)`. +7. `PHYSICS_EXCEPTION_STATE_CAPTURE_PASS`: two faults (BRK and an alignment Data Abort) with sentinel values in x0..x30; the trap frame at `0x40205880` holds every sentinel, the interrupted SP, vector slot 4, `CurrentEL`, ESR, ELR (== fault site symbol), SPSR `0x3C5`, FAR and FAR_VALID (0 for BRK, 1 with the faulting address for the abort). +8. `PHYSICS_CORRUPTION_REFUSAL_PASS`: 23 hostile cases (cookie, payload size, descriptor pointer, magic, version, length, reserved bits, zero/overflowing/oversized/undersized/shifted/out-of-profile RAM, UART, PHYSICS base/size, EL2 entry) each end in the expected panic with the entry record, allocator header and CAP_ROOT slot still zero in memory. + +`run_milestone2_gates.py` deletes `build/`, regenerates every artifact from source, runs both seams, and writes `qualification_receipt.json` bound to the SHA-256 of the contract, audit, gate scripts, sources and both artifacts, plus the QEMU version and base commit. --- diff --git a/atlas_m2.bin b/atlas_m2.bin index b8c81a3..8667424 100755 Binary files a/atlas_m2.bin and b/atlas_m2.bin differ diff --git a/atlas_m2.s b/atlas_m2.s index 4b27b1c..1432532 100644 --- a/atlas_m2.s +++ b/atlas_m2.s @@ -1,9 +1,52 @@ /* * ATLAS M2: Bootstrap Seed for Milestone 2 (PHYSICS_BOOT) - * Pinned Digest for physics.bin (6144 bytes): - * b813fba2d05452c48574ac0c82de07457a78367c27e00718e85a0661b78ea4dd + * + * The pinned SHA-256 of physics.bin lives in physics_pin.inc, which + * build_m2.py regenerates from the physics.bin it just built. That file is + * the single source for the pin; this file carries no digest copy. + * + * Descriptor fields and PHYSICS_ENTRY_ABI registers default to the + * CONTRACT-QEMU-VIRT-AARCH64-M2 values. The Seam 2 hostile matrix overrides + * one at a time with `--defsym NAME=value`; the canonical build overrides none. */ +.ifndef DESC_MAGIC +.equ DESC_MAGIC, 0x4D424453435F3031 +.endif +.ifndef DESC_VERSION +.equ DESC_VERSION, 1 +.endif +.ifndef DESC_LENGTH +.equ DESC_LENGTH, 64 +.endif +.ifndef DESC_FLAGS +.equ DESC_FLAGS, 0 +.endif +.ifndef DESC_RAM_BASE +.equ DESC_RAM_BASE, 0x40000000 +.endif +.ifndef DESC_RAM_SIZE +.equ DESC_RAM_SIZE, 0x08000000 +.endif +.ifndef DESC_UART_BASE +.equ DESC_UART_BASE, 0x09000000 +.endif +.ifndef DESC_PHYSICS_BASE +.equ DESC_PHYSICS_BASE, 0x40200000 +.endif +.ifndef DESC_PHYSICS_SIZE +.equ DESC_PHYSICS_SIZE, 6144 +.endif +.ifndef ABI_X0 +.equ ABI_X0, 0x401FE000 +.endif +.ifndef ABI_X1 +.equ ABI_X1, 6144 +.endif +.ifndef ABI_X2 +.equ ABI_X2, 0x5048595349435330 +.endif + .global _start .section .text .balign 64 @@ -23,18 +66,26 @@ _start: adr x21, msg_awaken bl print_string - /* 5. Populate Machine Boot Descriptor at 0x401FE000 */ + /* 5. Populate Machine Boot Descriptor at 0x401FE000 (64 bytes) */ ldr x22, =0x401FE000 - ldr x0, =0x40000000 - str x0, [x22, #0] /* +0: RAM Base */ - ldr x0, =0x08000000 - str x0, [x22, #8] /* +8: RAM Size (128 MiB) */ - mov x0, x20 - str x0, [x22, #16] /* +16: UART MMIO Base */ - ldr x0, =0x40200000 - str x0, [x22, #24] /* +24: Physics Payload Base */ - ldr x0, =6144 - str x0, [x22, #32] /* +32: Physics Payload Size */ + ldr x0, =DESC_MAGIC /* +0x00: magic = 'MBDSC_01' */ + str x0, [x22, #0] + ldr w0, =DESC_VERSION /* +0x08: version (u32) */ + str w0, [x22, #8] + ldr w0, =DESC_LENGTH /* +0x0C: length (u32) */ + str w0, [x22, #12] + ldr x0, =DESC_FLAGS /* +0x10: flags_reserved (u64) */ + str x0, [x22, #16] + ldr x0, =DESC_RAM_BASE /* +0x18: RAM Base */ + str x0, [x22, #24] + ldr x0, =DESC_RAM_SIZE /* +0x20: RAM Size */ + str x0, [x22, #32] + ldr x0, =DESC_UART_BASE /* +0x28: UART MMIO Base */ + str x0, [x22, #40] + ldr x0, =DESC_PHYSICS_BASE /* +0x30: Physics Payload Base */ + str x0, [x22, #48] + ldr x0, =DESC_PHYSICS_SIZE /* +0x38: Physics Payload Size */ + str x0, [x22, #56] /* 6. Emit Diagnostic Checkpoint 2: VERIFY */ adr x21, msg_verify @@ -72,9 +123,9 @@ _start: bl print_string /* 9. Establish PHYSICS_ENTRY_ABI */ - mov x0, x22 /* x0 = pointer to Boot Descriptor (0x401FE000) */ - ldr x1, =6144 /* x1 = payload size (6144 bytes) */ - ldr x2, =0x5048595349435330 /* x2 = verification cookie ('PHYSICS0') */ + ldr x0, =ABI_X0 /* x0 = pointer to Boot Descriptor (0x401FE000) */ + ldr x1, =ABI_X1 /* x1 = payload size (6144 bytes) */ + ldr x2, =ABI_X2 /* x2 = verification cookie ('PHYSICS0') */ /* Static Target Proof: x19 is explicitly loaded from literal 0x40200000 immediately before branch */ ldr x19, =0x40200000 /* Target: Contract-defined Physics Entry */ @@ -117,9 +168,7 @@ msg_refuse: .balign 8 pinned_sha256_digest: - /* 4ab2f5abc083b1c38aa15c136a94837f0de706eb86a53915b32a27b7a516422e */ - .word 0x4ab2f5ab, 0xc083b1c3, 0x8aa15c13, 0x6a94837f - .word 0x0de706eb, 0x86a53915, 0xb32a27b7, 0xa516422e + .include "physics_pin.inc" .ltorg .balign 64 diff --git a/capability.s b/capability.s index e2c2f83..3f1cb03 100644 --- a/capability.s +++ b/capability.s @@ -46,9 +46,10 @@ root_capability_synthesis: mov x1, #1 str x1, [x0, #8] - /* +0x10: resource_type = 0xFFFFFFFF, allowed_ops = 0xFFFFFFFF */ - mov w1, #-1 + /* +0x10: resource_type = 0x00000001 (RES_UNIVERSAL_ROOT), allowed_ops = 0xFFFFFFFF */ + mov w1, #1 str w1, [x0, #16] + mov w1, #-1 str w1, [x0, #20] /* +0x18: bound_base = 0x40208000 (FREE_FRAME_BASE) */ diff --git a/generate_physics_audit.py b/generate_physics_audit.py index cc56586..453af7f 100755 --- a/generate_physics_audit.py +++ b/generate_physics_audit.py @@ -25,46 +25,11 @@ import subprocess import sys def build_physics_binary(base_dir="."): - physics_s = os.path.join(base_dir, "physics.s") - vector_s = os.path.join(base_dir, "vector_table.s") - mem_s = os.path.join(base_dir, "memory_alloc.s") - cap_s = os.path.join(base_dir, "capability.s") - ld_script = os.path.join(base_dir, "physics.ld") - - physics_o = os.path.join(base_dir, "physics.o") - vector_o = os.path.join(base_dir, "vector_table.o") - mem_o = os.path.join(base_dir, "memory_alloc.o") - cap_o = os.path.join(base_dir, "capability.o") - physics_elf = os.path.join(base_dir, "physics.elf") - physics_bin = os.path.join(base_dir, "physics.bin") - - # Assemble modules if sources exist and are newer or objects missing - sources = [ - (physics_s, physics_o), - (vector_s, vector_o), - (mem_s, mem_o), - (cap_s, cap_o), - ] - for src, obj in sources: - if os.path.exists(src): - cmd = ["aarch64-linux-gnu-gcc", "-c", "-nostdlib", "-ffreestanding", src, "-o", obj] - subprocess.run(cmd, check=True) - - # Link with linker script - ld_cmd = [ - "aarch64-linux-gnu-ld", - "-T", ld_script, - physics_o, vector_o, mem_o, cap_o, - "-o", physics_elf - ] - print(f"Linking: {' '.join(ld_cmd)}") - subprocess.run(ld_cmd, check=True) - - # Objcopy to binary - objcopy_cmd = ["aarch64-linux-gnu-objcopy", "-O", "binary", physics_elf, physics_bin] - print(f"Extracting binary: {' '.join(objcopy_cmd)}") - subprocess.run(objcopy_cmd, check=True) - + """Build physics.bin, physics_pin.inc and atlas_m2.bin from source via + m2_build (no cached objects), returning the physics ELF and binary.""" + from m2_build import build_canonical + physics_elf, physics_bin = build_canonical(base_dir) + print(f"Built {physics_bin} and atlas_m2.bin from source (intermediates in build/canonical)") return physics_elf, physics_bin def generate_decode(physics_elf, base_dir="."): diff --git a/m2_build.py b/m2_build.py new file mode 100644 index 0000000..ff2a608 --- /dev/null +++ b/m2_build.py @@ -0,0 +1,115 @@ +#!/usr/bin/env python3 +""" +m2_build.py - single build path for Milestone 2 (PHYSICS_BOOT) artifacts. + +Every build starts from source. Nothing is reused from a previous run, so a +gate can never pass against a stale object or binary. + +Canonical artifacts (built in the repository root): + physics.bin <- physics.s vector_table.s memory_alloc.s capability.s + physics_pin.inc <- SHA-256 of that physics.bin (the only copy of the pin) + atlas_m2.bin <- atlas_m2.s + sha256_clean.c, pinning physics.bin + +Seam 2 variants (test-only physics images and hostile Atlas descriptors) are +built into their own directories under build/ and never touch the canonical +files. atlas_m2.s picks up physics_pin.inc from the assembler's working +directory, so each variant directory carries its own pin. +""" + +import hashlib +import os +import subprocess + +CC = "aarch64-linux-gnu-gcc" +LD = "aarch64-linux-gnu-ld" +OBJCOPY = "aarch64-linux-gnu-objcopy" + +PHYSICS_MODULES = ["vector_table.s", "memory_alloc.s", "capability.s"] + + +def _run(cmd, cwd=None): + subprocess.run(cmd, check=True, cwd=cwd) + + +def assemble(src, obj, defsyms=None, cwd=None): + cmd = [CC, "-c", "-nostdlib", "-ffreestanding"] + for name, value in (defsyms or {}).items(): + cmd.append(f"-Wa,--defsym,{name}={value}") + cmd += [os.path.abspath(src), "-o", os.path.abspath(obj)] + _run(cmd, cwd=cwd) + + +def sha256_file(path): + with open(path, "rb") as f: + return hashlib.sha256(f.read()).hexdigest() + + +def build_physics(out_dir, repo=".", entry_source=None): + """Build physics.elf/physics.bin into out_dir. entry_source replaces + physics.s (Seam 2 test images); the other modules are always the + canonical sources.""" + repo = os.path.abspath(repo) + os.makedirs(out_dir, exist_ok=True) + entry_source = entry_source or os.path.join(repo, "physics.s") + objs = [] + for src in [entry_source] + [os.path.join(repo, m) for m in PHYSICS_MODULES]: + obj = os.path.join(out_dir, os.path.basename(src).replace(".s", ".o")) + assemble(src, obj) + objs.append(obj) + elf = os.path.join(out_dir, "physics.elf") + binary = os.path.join(out_dir, "physics.bin") + _run([LD, "-T", os.path.join(repo, "physics.ld")] + objs + ["-o", elf]) + _run([OBJCOPY, "-O", "binary", elf, binary]) + return elf, binary + + +def write_pin(digest_hex, path): + words = [digest_hex[i:i + 8] for i in range(0, 64, 8)] + with open(path, "w") as f: + f.write("/* Generated by m2_build.py: SHA-256 of the pinned physics.bin. */\n") + f.write(f"/* {digest_hex} */\n") + f.write(" .word " + ", ".join("0x" + w for w in words[:4]) + "\n") + f.write(" .word " + ", ".join("0x" + w for w in words[4:]) + "\n") + + +def build_atlas(out_dir, physics_bin, repo=".", defsyms=None): + """Build atlas_m2.bin into out_dir pinning physics_bin. defsyms override + descriptor fields / entry ABI registers (hostile matrix only).""" + repo = os.path.abspath(repo) + out_dir = os.path.abspath(out_dir) + os.makedirs(out_dir, exist_ok=True) + write_pin(sha256_file(physics_bin), os.path.join(out_dir, "physics_pin.inc")) + sha_obj = os.path.join(out_dir, "sha256_clean.o") + _run([CC, "-nostdlib", "-ffreestanding", "-mgeneral-regs-only", "-O2", "-c", + os.path.join(repo, "sha256_clean.c"), "-o", sha_obj]) + atlas_obj = os.path.join(out_dir, "atlas_m2.o") + assemble(os.path.join(repo, "atlas_m2.s"), atlas_obj, defsyms=defsyms, cwd=out_dir) + elf = os.path.join(out_dir, "atlas_m2.elf") + binary = os.path.join(out_dir, "atlas_m2.bin") + _run([LD, "-Ttext=0x00000000", atlas_obj, sha_obj, "-o", elf]) + _run([OBJCOPY, "-O", "binary", elf, binary]) + return elf, binary + + +def build_canonical(repo="."): + """Build the canonical physics.bin, physics_pin.inc and atlas_m2.bin in + the repository root (intermediates under build/canonical).""" + repo = os.path.abspath(repo) + work = os.path.join(repo, "build", "canonical") + elf, built = build_physics(work, repo) + physics_bin = os.path.join(repo, "physics.bin") + with open(built, "rb") as src, open(physics_bin, "wb") as dst: + dst.write(src.read()) + _, atlas_built = build_atlas(work, physics_bin, repo) + with open(os.path.join(work, "physics_pin.inc")) as src, \ + open(os.path.join(repo, "physics_pin.inc"), "w") as dst: + dst.write(src.read()) + with open(atlas_built, "rb") as src, open(os.path.join(repo, "atlas_m2.bin"), "wb") as dst: + dst.write(src.read()) + return elf, physics_bin + + +if __name__ == "__main__": + elf, physics_bin = build_canonical(".") + print(f"physics.bin {sha256_file(physics_bin)}") + print(f"atlas_m2.bin {sha256_file('atlas_m2.bin')}") diff --git a/machine_contract.json b/machine_contract.json index 371bd26..fb3e217 100644 --- a/machine_contract.json +++ b/machine_contract.json @@ -1,13 +1,14 @@ { "contract_id": "CONTRACT-QEMU-VIRT-AARCH64-M2", - "version": "2.0.0", + "version": "2.2.0", "target_platform": "qemu-virt-aarch64", "milestone": "PHYSICS_BOOT", "architecture": { "arch": "aarch64", "endianness": "little", - "entry_exception_level": "contract-defined (EL1 or EL2)", - "physics_target_exception_level": "contract-defined (matches entry EL)" + "expected_entry_exception_level": "EL1", + "expected_entry_el_value": "0x04", + "physics_target_exception_level": "EL1" }, "memory_map": { "dram_base": "0x40000000", @@ -85,9 +86,24 @@ ], "physics_entry_abi": { "x0": "0x401FE000", - "x1_max_size": 65536, + "x1_payload_size": 6144, "x2_cookie": "0x5048595349435330", - "entry_point": "0x40200000" + "entry_point": "0x40200000", + "x1_payload_size_enforced": true + }, + "boot_descriptor_contract": { + "expected_address": "0x401FE000", + "size_bytes": 64, + "magic": "0x4D424453435F3031", + "version": 1, + "length": 64, + "flags_reserved": 0, + "ram_base": "0x40000000", + "ram_size": "0x08000000", + "dram_end": "0x48000000", + "uart_base": "0x09000000", + "physics_base": "0x40200000", + "physics_size": 6144 }, "vector_table_spec": { "base_address": "0x40201000", @@ -106,6 +122,56 @@ "bound_base": "0x40208000", "bound_size": "0x07DF8000", "revocation_state": 1, + "attenuation_depth": 0, "atlas_provenance_digest": "f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5" + }, + "boot_state_layout": { + "base": "0x40205800", + "size_bytes": 2048, + "descriptor_copy": { + "offset": "0x000", + "size_bytes": 64, + "note": "validated 64-byte descriptor copied from 0x401FE000; PHYSICS never dereferences the Atlas scratch pointer afterwards" + }, + "entry_record": { + "offset": "0x040", + "fields": { + "current_el": "0x040 (u64, CurrentEL & 0xC)" + } + }, + "trap_frame": { + "offset": "0x080", + "address": "0x40205880", + "size_bytes": 320, + "fields": { + "x0_x30": "0x000..0x0F0 (31 x u64)", + "sp": "0x0F8", + "vector_slot": "0x100", + "current_el": "0x108", + "esr_el1": "0x110", + "elr_el1": "0x118", + "spsr_el1": "0x120", + "far_el1": "0x128", + "far_valid": "0x130", + "magic": "0x138 (0x314D524650415254 'TRAPFRM1', written last)" + } + }, + "seam2_test_record": { + "offset": "0x200", + "note": "written only by Seam 2 test images, never by canonical physics.bin" + } + }, + "static_data_layout": { + "base": "0x40207000", + "size_bytes": 4096, + "fields": { + "dram_end": "0x00", + "total_frames": "0x08", + "next_free_cursor": "0x10", + "reserved_zero": "0x18", + "bitmap": "0x20 (ceil(total_frames/8) bytes = 4031)" + }, + "total_frames": 32248, + "allocation_failure": "0 (FRAME_EXHAUSTED; never a valid frame)" } } diff --git a/memory_alloc.s b/memory_alloc.s index 210705a..32ce765 100644 --- a/memory_alloc.s +++ b/memory_alloc.s @@ -22,6 +22,20 @@ .equ FRAME_BITMAP_BASE, 0x40207000 .equ FRAME_SIZE, 4096 .equ FRAME_SHIFT, 12 +.equ CONTRACT_DRAM_END, 0x48000000 +.equ BITMAP_OFFSET, 32 +.equ STATIC_DATA_SIZE, 4096 + +/* + * PHYSICS_STATIC_DATA layout (0x40207000, 4 KiB): + * +0x00: DRAM_END (u64) + * +0x08: total_frames (u64) + * +0x10: next_free_cursor (u64, frame index) + * +0x18: reserved (u64, zero) + * +0x20: frame bitmap, ceil(total_frames / 8) bytes, bit set = allocated + * For CONTRACT-QEMU-VIRT-AARCH64-M2: 32,248 frames, 4,031 bitmap bytes, + * bitmap spans [0x40207020, 0x40207FFF), last byte 0x40207FFE < 0x40208000. + */ /* * init_frame_authority(ram_base, ram_size): @@ -30,7 +44,12 @@ * x0: RAM Base (0x40000000) * x1: RAM Size (0x08000000) * Returns: - * x0: Total managed frame count + * x0: Total managed frame count, or 0 if the requested range is refused. + * + * Refuses (returns 0, writes nothing) unless ram_base + ram_size is exactly + * CONTRACT_DRAM_END without overflow and the bitmap fits in PHYSICS_STATIC_DATA. + * Ingress already enforces the exact machine profile; this is the allocator's + * own guard so no caller can widen frame authority. */ init_frame_authority: init_frame_allocator: @@ -38,26 +57,33 @@ frame_allocator_init: stp x29, x30, [sp, #-16]! mov x29, sp - /* Calculate DRAM_END */ - add x2, x0, x1 /* x2 = DRAM_END */ - - /* Store DRAM_END in state header @ 0x40207000 */ - ldr x3, =FRAME_BITMAP_BASE - str x2, [x3, #0] /* +0: DRAM_END */ + /* Calculate DRAM_END with overflow check */ + adds x2, x0, x1 /* x2 = DRAM_END */ + b.cs .Lno_frames + ldr x4, =CONTRACT_DRAM_END + cmp x2, x4 + b.ne .Lno_frames - /* Managed span = DRAM_END - FREE_FRAME_BASE */ ldr x4, =FREE_FRAME_BASE cmp x2, x4 b.ls .Lno_frames sub x5, x2, x4 /* x5 = managed bytes */ lsr x5, x5, #FRAME_SHIFT /* x5 = total frame count */ - str x5, [x3, #8] /* +8: total_frames */ - /* Zero the bitmap: (total_frames + 7) / 8 bytes starting at 0x40207010 */ + /* Bitmap bytes = (total_frames + 7) / 8; must fit after the header */ add x6, x5, #7 lsr x6, x6, #3 /* x6 = bitmap bytes */ - add x7, x3, #16 /* x7 = bitmap start (+16) */ + add x7, x6, #BITMAP_OFFSET + cmp x7, #STATIC_DATA_SIZE + b.hi .Lno_frames + + ldr x3, =FRAME_BITMAP_BASE + str x2, [x3, #0] /* +0: DRAM_END */ + str x5, [x3, #8] /* +8: total_frames */ + str xzr, [x3, #16] /* +16: next_free_cursor = 0 */ + str xzr, [x3, #24] /* +24: reserved */ + add x7, x3, #BITMAP_OFFSET /* x7 = bitmap start */ .Lzero_loop: cbz x6, .Lzero_done @@ -75,7 +101,6 @@ frame_allocator_init: ret .Lno_frames: - str xzr, [x3, #8] mov x0, #0 ldp x29, x30, [sp], #16 ret @@ -84,7 +109,8 @@ frame_allocator_init: * allocate_frame(): * Allocates a single 4 KiB frame from [FREE_FRAME_BASE, DRAM_END). * Returns: - * x0: Physical frame base address, or 0 on exhaustion. + * x0: Physical frame base address, or 0 (FRAME_EXHAUSTED) on exhaustion. + * 0 is never a valid frame: every frame is >= FREE_FRAME_BASE. */ allocate_frame: ldr x3, =FRAME_BITMAP_BASE @@ -92,12 +118,12 @@ allocate_frame: ldr x5, [x3, #8] /* total_frames */ cbz x5, .Lalloc_fail - add x7, x3, #16 /* Bitmap pointer */ - mov x8, #0 /* Frame index */ + ldr x8, [x3, #16] /* Frame index cursor */ + add x7, x3, #32 /* Bitmap pointer */ .Lfind_bit_loop: cmp x8, x5 - b.ge .Lalloc_fail /* Exhausted */ + b.hs .Lalloc_fail /* Exhausted */ lsr x9, x8, #3 /* Byte index = x8 / 8 */ and x10, x8, #7 /* Bit index = x8 % 8 */ @@ -113,19 +139,20 @@ allocate_frame: b .Lfind_bit_loop .Lfound_free_frame: - /* Mark bit as allocated */ - orr w11, w11, w12 - strb w11, [x7, x9] - /* Compute physical address: FREE_FRAME_BASE + (frame_index << 12) */ ldr x4, =FREE_FRAME_BASE lsl x13, x8, #FRAME_SHIFT add x0, x4, x13 - /* Assert address < DRAM_END */ + /* Assert address < DRAM_END before granting anything */ cmp x0, x2 - b.ge .Lalloc_fail + b.hs .Lalloc_fail + /* Mark bit as allocated and advance next_free_cursor */ + orr w11, w11, w12 + strb w11, [x7, x9] + add x14, x8, #1 + str x14, [x3, #16] ret .Lalloc_fail: @@ -147,7 +174,7 @@ is_frame_reserved: ldr x3, =FRAME_BITMAP_BASE ldr x2, [x3, #0] /* DRAM_END */ cmp x0, x2 - b.ge .Lreserved /* At or above DRAM_END is reserved/unmapped */ + b.hs .Lreserved /* At or above DRAM_END is reserved/unmapped */ mov x0, #0 ret diff --git a/physics.audit b/physics.audit index 767a46e..d222daa 100644 --- a/physics.audit +++ b/physics.audit @@ -9,640 +9,640 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | Offset | Raw Bytes | Decoded Operation / Content | Inputs | Outputs | Branch Target | Memory Accessed | Classification | | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | -| `0x0000` | `58000d83` | `ldr x3, 402001b0 ` | `-` | `x3` | `-` | `Literal @ 0x402001b0` | `INSTRUCTION` | +| `0x0000` | `58001203` | `ldr x3, 40200240 ` | `-` | `x3` | `-` | `Literal @ 0x40200240` | `INSTRUCTION` | | `0x0004` | `eb03005f` | `cmp x2, x3` | `x2, x3` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0008` | `540006e1` | `b.ne 402000e4 <_physics_entry+0xe4> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | -| `0x000c` | `58000d63` | `ldr x3, 402001b8 ` | `-` | `x3` | `-` | `Literal @ 0x402001b8` | `INSTRUCTION` | -| `0x0010` | `eb03001f` | `cmp x0, x3` | `x0, x3` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0014` | `54000701` | `b.ne 402000f4 <_physics_entry+0xf4> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | -| `0x0018` | `f9400013` | `ldr x19, [x0]` | `-` | `x19` | `-` | `Read [x0]` | `INSTRUCTION` | -| `0x001c` | `f9400414` | `ldr x20, [x0, #8]` | `-` | `x20` | `-` | `Read [x0, #8]` | `INSTRUCTION` | -| `0x0020` | `f9400815` | `ldr x21, [x0, #16]` | `-` | `x21` | `-` | `Read [x0, #16]` | `INSTRUCTION` | -| `0x0024` | `b4000714` | `cbz x20, 40200104 <_physics_entry+0x104>` | `-` | `-` | `<_physics_entry+0x104>` | `-` | `INSTRUCTION` | -| `0x0028` | `8b140264` | `add x4, x19, x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x002c` | `eb13009f` | `cmp x4, x19` | `x4, x19` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0030` | `540006a9` | `b.ls 40200104 <_physics_entry+0x104> // b.plast` | `-` | `-` | `b.plast` | `-` | `INSTRUCTION` | -| `0x0034` | `58000c65` | `ldr x5, 402001c0 ` | `-` | `x5` | `-` | `Literal @ 0x402001c0` | `INSTRUCTION` | -| `0x0038` | `eb1300bf` | `cmp x5, x19` | `x5, x19` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x003c` | `54000643` | `b.cc 40200104 <_physics_entry+0x104> // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | -| `0x0040` | `58000c46` | `ldr x6, 402001c8 ` | `-` | `x6` | `-` | `Literal @ 0x402001c8` | `INSTRUCTION` | -| `0x0044` | `eb0400df` | `cmp x6, x4` | `x6, x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0048` | `540005e8` | `b.hi 40200104 <_physics_entry+0x104> // b.pmore` | `-` | `-` | `b.pmore` | `-` | `INSTRUCTION` | -| `0x004c` | `58000c27` | `ldr x7, 402001d0 ` | `-` | `x7` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x0050` | `eb0702bf` | `cmp x21, x7` | `x21, x7` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0054` | `54000581` | `b.ne 40200104 <_physics_entry+0x104> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | -| `0x0058` | `58000c08` | `ldr x8, 402001d8 ` | `-` | `x8` | `-` | `Literal @ 0x402001d8` | `INSTRUCTION` | -| `0x005c` | `f9000113` | `str x19, [x8]` | `x19` | `-` | `-` | `Write [x8]` | `INSTRUCTION` | -| `0x0060` | `f9000514` | `str x20, [x8, #8]` | `x20` | `-` | `-` | `Write [x8, #8]` | `INSTRUCTION` | -| `0x0064` | `f9000915` | `str x21, [x8, #16]` | `x21` | `-` | `-` | `Write [x8, #16]` | `INSTRUCTION` | -| `0x0068` | `d5384249` | `mrs x9, currentel` | `currentel` | `x9` | `-` | `-` | `INSTRUCTION` | -| `0x006c` | `927e0529` | `and x9, x9, #0xc` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0070` | `f9000d09` | `str x9, [x8, #24]` | `x9` | `-` | `-` | `Write [x8, #24]` | `INSTRUCTION` | -| `0x0074` | `58000b2a` | `ldr x10, 402001d8 ` | `-` | `x10` | `-` | `Literal @ 0x402001d8` | `INSTRUCTION` | -| `0x0078` | `9100015f` | `mov sp, x10` | `x10` | `SP` | `-` | `-` | `INSTRUCTION` | -| `0x007c` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0080` | `58000b00` | `ldr x0, 402001e0 ` | `-` | `x0` | `-` | `Literal @ 0x402001e0` | `INSTRUCTION` | -| `0x0084` | `94000028` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0088` | `58000b00` | `ldr x0, 402001e8 ` | `-` | `x0` | `-` | `Literal @ 0x402001e8` | `INSTRUCTION` | -| `0x008c` | `94000026` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0090` | `58000b01` | `ldr x1, 402001f0 ` | `-` | `x1` | `-` | `Literal @ 0x402001f0` | `INSTRUCTION` | -| `0x0094` | `f100113f` | `cmp x9, #0x4` | `x9, #0x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0098` | `54000080` | `b.eq 402000a8 <_physics_entry+0xa8> // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x009c` | `f100213f` | `cmp x9, #0x8` | `x9, #0x8` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x00a0` | `540000a0` | `b.eq 402000b4 <_physics_entry+0xb4> // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x00a4` | `1400001c` | `b 40200114 <_physics_entry+0x114>` | `-` | `-` | `<_physics_entry+0x114>` | `-` | `INSTRUCTION` | -| `0x00a8` | `d518c001` | `msr vbar_el1, x1` | `x1` | `vbar_el1` | `-` | `-` | `INSTRUCTION` | -| `0x00ac` | `d5033fdf` | `isb` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00b0` | `14000003` | `b 402000bc <_physics_entry+0xbc>` | `-` | `-` | `<_physics_entry+0xbc>` | `-` | `INSTRUCTION` | -| `0x00b4` | `d51cc001` | `msr vbar_el2, x1` | `x1` | `vbar_el2` | `-` | `-` | `INSTRUCTION` | -| `0x00b8` | `d5033fdf` | `isb` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00bc` | `580009e0` | `ldr x0, 402001f8 ` | `-` | `x0` | `-` | `Literal @ 0x402001f8` | `INSTRUCTION` | -| `0x00c0` | `94000019` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00c4` | `aa1303e0` | `mov x0, x19` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00c8` | `aa1403e1` | `mov x1, x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00cc` | `940000bd` | `bl 402003c0 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x00d0` | `94000104` | `bl 402004e0 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x00d4` | `58000960` | `ldr x0, 40200200 ` | `-` | `x0` | `-` | `Literal @ 0x40200200` | `INSTRUCTION` | -| `0x00d8` | `94000013` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00dc` | `d503205f` | `wfe` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00e0` | `17ffffff` | `b 402000dc <_physics_entry+0xdc>` | `-` | `-` | `<_physics_entry+0xdc>` | `-` | `INSTRUCTION` | -| `0x00e4` | `58000774` | `ldr x20, 402001d0 ` | `-` | `x20` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x00e8` | `58000900` | `ldr x0, 40200208 ` | `-` | `x0` | `-` | `Literal @ 0x40200208` | `INSTRUCTION` | -| `0x00ec` | `9400000e` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x00f0` | `17fffffb` | `b 402000dc <_physics_entry+0xdc>` | `-` | `-` | `<_physics_entry+0xdc>` | `-` | `INSTRUCTION` | -| `0x00f4` | `580006f4` | `ldr x20, 402001d0 ` | `-` | `x20` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x00f8` | `580008c0` | `ldr x0, 40200210 ` | `-` | `x0` | `-` | `Literal @ 0x40200210` | `INSTRUCTION` | -| `0x00fc` | `9400000a` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0100` | `17fffff7` | `b 402000dc <_physics_entry+0xdc>` | `-` | `-` | `<_physics_entry+0xdc>` | `-` | `INSTRUCTION` | -| `0x0104` | `58000674` | `ldr x20, 402001d0 ` | `-` | `x20` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x0108` | `58000880` | `ldr x0, 40200218 ` | `-` | `x0` | `-` | `Literal @ 0x40200218` | `INSTRUCTION` | -| `0x010c` | `94000006` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0110` | `17fffff3` | `b 402000dc <_physics_entry+0xdc>` | `-` | `-` | `<_physics_entry+0xdc>` | `-` | `INSTRUCTION` | -| `0x0114` | `580005f4` | `ldr x20, 402001d0 ` | `-` | `x20` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x0118` | `58000840` | `ldr x0, 40200220 ` | `-` | `x0` | `-` | `Literal @ 0x40200220` | `INSTRUCTION` | -| `0x011c` | `94000002` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0120` | `17ffffef` | `b 402000dc <_physics_entry+0xdc>` | `-` | `-` | `<_physics_entry+0xdc>` | `-` | `INSTRUCTION` | -| `0x0124` | `58000574` | `ldr x20, 402001d0 ` | `-` | `x20` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x0128` | `38401401` | `ldrb w1, [x0], #1` | `-` | `w1` | `-` | `Read [x0]` | `INSTRUCTION` | -| `0x012c` | `340000a1` | `cbz w1, 40200140 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0130` | `b9401a82` | `ldr w2, [x20, #24]` | `-` | `w2` | `-` | `Read [x20, #24]` | `INSTRUCTION` | -| `0x0134` | `372fffe2` | `tbnz w2, #5, 40200130 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0138` | `b9000281` | `str w1, [x20]` | `w1` | `-` | `-` | `Write [x20]` | `INSTRUCTION` | -| `0x013c` | `17fffffb` | `b 40200128 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0140` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0144` | `58000474` | `ldr x20, 402001d0 ` | `-` | `x20` | `-` | `Literal @ 0x402001d0` | `INSTRUCTION` | -| `0x0148` | `b9401a82` | `ldr w2, [x20, #24]` | `-` | `w2` | `-` | `Read [x20, #24]` | `INSTRUCTION` | -| `0x014c` | `372fffe2` | `tbnz w2, #5, 40200148 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0150` | `b9000280` | `str w0, [x20]` | `w0` | `-` | `-` | `Write [x20]` | `INSTRUCTION` | -| `0x0154` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0158` | `a9be7bfd` | `stp x29, x30, [sp, #-32]!` | `x29, x30` | `-` | `-` | `Write [sp, #-32]` | `INSTRUCTION` | -| `0x015c` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0160` | `f9000bf3` | `str x19, [sp, #16]` | `x19` | `-` | `-` | `Write [sp, #16]` | `INSTRUCTION` | -| `0x0164` | `aa0003f3` | `mov x19, x0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0168` | `52800600` | `mov w0, #0x30 // #48` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x016c` | `97fffff6` | `bl 40200144 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0170` | `52800f00` | `mov w0, #0x78 // #120` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0174` | `97fffff4` | `bl 40200144 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0178` | `52800781` | `mov w1, #0x3c // #60` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x017c` | `9ac12662` | `lsr x2, x19, x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0180` | `12000c42` | `and w2, w2, #0xf` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0184` | `7100285f` | `cmp w2, #0xa` | `w2, #0xa` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0188` | `5400006b` | `b.lt 40200194 // b.tstop` | `-` | `-` | `b.tstop` | `-` | `INSTRUCTION` | -| `0x018c` | `11015c40` | `add w0, w2, #0x57` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0190` | `14000002` | `b 40200198 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0194` | `1100c040` | `add w0, w2, #0x30` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0198` | `97ffffeb` | `bl 40200144 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x019c` | `71001021` | `subs w1, w1, #0x4` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01a0` | `54fffeea` | `b.ge 4020017c // b.tcont` | `-` | `-` | `b.tcont` | `-` | `INSTRUCTION` | -| `0x01a4` | `f9400bf3` | `ldr x19, [sp, #16]` | `-` | `x19` | `-` | `Read [sp, #16]` | `INSTRUCTION` | -| `0x01a8` | `a8c27bfd` | `ldp x29, x30, [sp], #32` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | -| `0x01ac` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01b0` | `49435330` | `.word 0x49435330` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01b4` | `50485953` | `.word 0x50485953` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01b8` | `401fe000` | `.word 0x401fe000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01bc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01c0` | `40200000` | `.word 0x40200000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01c4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01c8` | `40208000` | `.word 0x40208000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01cc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01d0` | `09000000` | `.word 0x09000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01d4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01d8` | `40205800` | `.word 0x40205800` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01dc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01e0` | `402005c8` | `.word 0x402005c8` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01e4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01e8` | `402005d9` | `.word 0x402005d9` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01ec` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01f0` | `40201000` | `.word 0x40201000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01f4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01f8` | `402005f1` | `.word 0x402005f1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x01fc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0200` | `4020060a` | `.word 0x4020060a` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0204` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0208` | `40200624` | `.word 0x40200624` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x020c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0210` | `4020063f` | `.word 0x4020063f` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0214` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0218` | `40200662` | `.word 0x40200662` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x021c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0220` | `40200682` | `.word 0x40200682` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0224` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0228` | `58000ad3` | `ldr x19, 40200380 ` | `-` | `x19` | `-` | `Literal @ 0x40200380` | `INSTRUCTION` | -| `0x022c` | `f9000260` | `str x0, [x19]` | `x0` | `-` | `-` | `Write [x19]` | `INSTRUCTION` | -| `0x0230` | `d5384242` | `mrs x2, currentel` | `currentel` | `x2` | `-` | `-` | `INSTRUCTION` | -| `0x0234` | `927e0442` | `and x2, x2, #0xc` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0238` | `f9000662` | `str x2, [x19, #8]` | `x2` | `-` | `-` | `Write [x19, #8]` | `INSTRUCTION` | -| `0x023c` | `f100205f` | `cmp x2, #0x8` | `x2, #0x8` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0240` | `54000340` | `b.eq 402002a8 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0244` | `d5385203` | `mrs x3, esr_el1` | `esr_el1` | `x3` | `-` | `-` | `INSTRUCTION` | -| `0x0248` | `f9000a63` | `str x3, [x19, #16]` | `x3` | `-` | `-` | `Write [x19, #16]` | `INSTRUCTION` | -| `0x024c` | `d5384024` | `mrs x4, elr_el1` | `elr_el1` | `x4` | `-` | `-` | `INSTRUCTION` | -| `0x0250` | `f9000e64` | `str x4, [x19, #24]` | `x4` | `-` | `-` | `Write [x19, #24]` | `INSTRUCTION` | -| `0x0254` | `d5384005` | `mrs x5, spsr_el1` | `spsr_el1` | `x5` | `-` | `-` | `INSTRUCTION` | -| `0x0258` | `f9001265` | `str x5, [x19, #32]` | `x5` | `-` | `-` | `Write [x19, #32]` | `INSTRUCTION` | -| `0x025c` | `531a7c66` | `lsr w6, w3, #26` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0260` | `710080df` | `cmp w6, #0x20` | `w6, #0x20` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0264` | `54000180` | `b.eq 40200294 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0268` | `710084df` | `cmp w6, #0x21` | `w6, #0x21` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x026c` | `54000140` | `b.eq 40200294 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0270` | `710088df` | `cmp w6, #0x22` | `w6, #0x22` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0274` | `54000100` | `b.eq 40200294 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0278` | `710090df` | `cmp w6, #0x24` | `w6, #0x24` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x027c` | `540000c0` | `b.eq 40200294 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0280` | `710094df` | `cmp w6, #0x25` | `w6, #0x25` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0284` | `54000080` | `b.eq 40200294 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0288` | `f900167f` | `str xzr, [x19, #40]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x028c` | `f9001a7f` | `str xzr, [x19, #48]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0290` | `1400001e` | `b 40200308 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0294` | `d5386007` | `mrs x7, far_el1` | `far_el1` | `x7` | `-` | `-` | `INSTRUCTION` | -| `0x0298` | `f9001667` | `str x7, [x19, #40]` | `x7` | `-` | `-` | `Write [x19, #40]` | `INSTRUCTION` | -| `0x029c` | `d2800028` | `mov x8, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x02a0` | `f9001a68` | `str x8, [x19, #48]` | `x8` | `-` | `-` | `Write [x19, #48]` | `INSTRUCTION` | -| `0x02a4` | `14000019` | `b 40200308 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x02a8` | `d53c5203` | `mrs x3, esr_el2` | `esr_el2` | `x3` | `-` | `-` | `INSTRUCTION` | -| `0x02ac` | `f9000a63` | `str x3, [x19, #16]` | `x3` | `-` | `-` | `Write [x19, #16]` | `INSTRUCTION` | -| `0x02b0` | `d53c4024` | `mrs x4, elr_el2` | `elr_el2` | `x4` | `-` | `-` | `INSTRUCTION` | -| `0x02b4` | `f9000e64` | `str x4, [x19, #24]` | `x4` | `-` | `-` | `Write [x19, #24]` | `INSTRUCTION` | -| `0x02b8` | `d53c4005` | `mrs x5, spsr_el2` | `spsr_el2` | `x5` | `-` | `-` | `INSTRUCTION` | -| `0x02bc` | `f9001265` | `str x5, [x19, #32]` | `x5` | `-` | `-` | `Write [x19, #32]` | `INSTRUCTION` | -| `0x02c0` | `531a7c66` | `lsr w6, w3, #26` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x02c4` | `710080df` | `cmp w6, #0x20` | `w6, #0x20` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x02c8` | `54000180` | `b.eq 402002f8 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x02cc` | `710084df` | `cmp w6, #0x21` | `w6, #0x21` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x02d0` | `54000140` | `b.eq 402002f8 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x02d4` | `710088df` | `cmp w6, #0x22` | `w6, #0x22` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x02d8` | `54000100` | `b.eq 402002f8 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x02dc` | `710090df` | `cmp w6, #0x24` | `w6, #0x24` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x02e0` | `540000c0` | `b.eq 402002f8 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x02e4` | `710094df` | `cmp w6, #0x25` | `w6, #0x25` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x02e8` | `54000080` | `b.eq 402002f8 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x02ec` | `f900167f` | `str xzr, [x19, #40]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x02f0` | `f9001a7f` | `str xzr, [x19, #48]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x02f4` | `14000005` | `b 40200308 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x02f8` | `d53c6007` | `mrs x7, far_el2` | `far_el2` | `x7` | `-` | `-` | `INSTRUCTION` | -| `0x02fc` | `f9001667` | `str x7, [x19, #40]` | `x7` | `-` | `-` | `Write [x19, #40]` | `INSTRUCTION` | -| `0x0300` | `d2800028` | `mov x8, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0304` | `f9001a68` | `str x8, [x19, #48]` | `x8` | `-` | `-` | `Write [x19, #48]` | `INSTRUCTION` | -| `0x0308` | `58000414` | `ldr x20, 40200388 ` | `-` | `x20` | `-` | `Literal @ 0x40200388` | `INSTRUCTION` | -| `0x030c` | `58000420` | `ldr x0, 40200390 ` | `-` | `x0` | `-` | `Literal @ 0x40200390` | `INSTRUCTION` | -| `0x0310` | `97ffff85` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0314` | `58000420` | `ldr x0, 40200398 ` | `-` | `x0` | `-` | `Literal @ 0x40200398` | `INSTRUCTION` | -| `0x0318` | `97ffff83` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x031c` | `f9400260` | `ldr x0, [x19]` | `-` | `x0` | `-` | `Read [x19]` | `INSTRUCTION` | -| `0x0320` | `97ffff8e` | `bl 40200158 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0324` | `580003e0` | `ldr x0, 402003a0 ` | `-` | `x0` | `-` | `Literal @ 0x402003a0` | `INSTRUCTION` | -| `0x0328` | `97ffff7f` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x032c` | `580003e0` | `ldr x0, 402003a8 ` | `-` | `x0` | `-` | `Literal @ 0x402003a8` | `INSTRUCTION` | -| `0x0330` | `97ffff7d` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0334` | `f9400a60` | `ldr x0, [x19, #16]` | `-` | `x0` | `-` | `Read [x19, #16]` | `INSTRUCTION` | -| `0x0338` | `97ffff88` | `bl 40200158 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x033c` | `58000320` | `ldr x0, 402003a0 ` | `-` | `x0` | `-` | `Literal @ 0x402003a0` | `INSTRUCTION` | -| `0x0340` | `97ffff79` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0344` | `58000360` | `ldr x0, 402003b0 ` | `-` | `x0` | `-` | `Literal @ 0x402003b0` | `INSTRUCTION` | -| `0x0348` | `97ffff77` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x034c` | `f9401660` | `ldr x0, [x19, #40]` | `-` | `x0` | `-` | `Read [x19, #40]` | `INSTRUCTION` | -| `0x0350` | `97ffff82` | `bl 40200158 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0354` | `58000260` | `ldr x0, 402003a0 ` | `-` | `x0` | `-` | `Literal @ 0x402003a0` | `INSTRUCTION` | -| `0x0358` | `97ffff73` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x035c` | `580002e0` | `ldr x0, 402003b8 ` | `-` | `x0` | `-` | `Literal @ 0x402003b8` | `INSTRUCTION` | -| `0x0360` | `97ffff71` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0364` | `f9400e60` | `ldr x0, [x19, #24]` | `-` | `x0` | `-` | `Read [x19, #24]` | `INSTRUCTION` | -| `0x0368` | `97ffff7c` | `bl 40200158 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x036c` | `580001a0` | `ldr x0, 402003a0 ` | `-` | `x0` | `-` | `Literal @ 0x402003a0` | `INSTRUCTION` | -| `0x0370` | `97ffff6d` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0374` | `d503205f` | `wfe` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0378` | `17ffffff` | `b 40200374 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x037c` | `00000000` | `udf #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0380` | `40205840` | `.word 0x40205840` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0384` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0388` | `09000000` | `.word 0x09000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x038c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0390` | `402006a8` | `.word 0x402006a8` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0394` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0398` | `402006c4` | `.word 0x402006c4` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x039c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03a0` | `402006e5` | `.word 0x402006e5` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03a4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03a8` | `402006cd` | `.word 0x402006cd` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03ac` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03b0` | `402006d5` | `.word 0x402006d5` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03b4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03b8` | `402006dd` | `.word 0x402006dd` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03bc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03c0` | `a9bf7bfd` | `stp x29, x30, [sp, #-16]!` | `x29, x30` | `-` | `-` | `Write [sp, #-16]` | `INSTRUCTION` | -| `0x03c4` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03c8` | `8b010002` | `add x2, x0, x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03cc` | `580007e3` | `ldr x3, 402004c8 ` | `-` | `x3` | `-` | `Literal @ 0x402004c8` | `INSTRUCTION` | -| `0x03d0` | `f9000062` | `str x2, [x3]` | `x2` | `-` | `-` | `Write [x3]` | `INSTRUCTION` | -| `0x03d4` | `580007e4` | `ldr x4, 402004d0 ` | `-` | `x4` | `-` | `Literal @ 0x402004d0` | `INSTRUCTION` | -| `0x03d8` | `eb04005f` | `cmp x2, x4` | `x2, x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x03dc` | `54000209` | `b.ls 4020041c // b.plast` | `-` | `-` | `b.plast` | `-` | `INSTRUCTION` | -| `0x03e0` | `cb040045` | `sub x5, x2, x4` | `-` | `-` | `x4` | `-` | `INSTRUCTION` | -| `0x03e4` | `d34cfca5` | `lsr x5, x5, #12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03e8` | `f9000465` | `str x5, [x3, #8]` | `x5` | `-` | `-` | `Write [x3, #8]` | `INSTRUCTION` | -| `0x03ec` | `91001ca6` | `add x6, x5, #0x7` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03f0` | `d343fcc6` | `lsr x6, x6, #3` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03f4` | `91004067` | `add x7, x3, #0x10` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x03f8` | `b4000086` | `cbz x6, 40200408 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x03fc` | `380014ff` | `strb wzr, [x7], #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0400` | `d10004c6` | `sub x6, x6, #0x1` | `-` | `-` | `#0x1` | `-` | `INSTRUCTION` | -| `0x0404` | `17fffffd` | `b 402003f8 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0408` | `58000680` | `ldr x0, 402004d8 ` | `-` | `x0` | `-` | `Literal @ 0x402004d8` | `INSTRUCTION` | -| `0x040c` | `97ffff46` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0410` | `aa0503e0` | `mov x0, x5` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0414` | `a8c17bfd` | `ldp x29, x30, [sp], #16` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | -| `0x0418` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x041c` | `f900047f` | `str xzr, [x3, #8]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0420` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0424` | `a8c17bfd` | `ldp x29, x30, [sp], #16` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | -| `0x0428` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x042c` | `580004e3` | `ldr x3, 402004c8 ` | `-` | `x3` | `-` | `Literal @ 0x402004c8` | `INSTRUCTION` | -| `0x0430` | `f9400062` | `ldr x2, [x3]` | `-` | `x2` | `-` | `Read [x3]` | `INSTRUCTION` | -| `0x0434` | `f9400465` | `ldr x5, [x3, #8]` | `-` | `x5` | `-` | `Read [x3, #8]` | `INSTRUCTION` | -| `0x0438` | `b40002c5` | `cbz x5, 40200490 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x043c` | `91004067` | `add x7, x3, #0x10` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0440` | `d2800008` | `mov x8, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0444` | `eb05011f` | `cmp x8, x5` | `x8, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0448` | `5400024a` | `b.ge 40200490 // b.tcont` | `-` | `-` | `b.tcont` | `-` | `INSTRUCTION` | -| `0x044c` | `d343fd09` | `lsr x9, x8, #3` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0450` | `9240090a` | `and x10, x8, #0x7` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0454` | `386968eb` | `ldrb w11, [x7, x9]` | `-` | `w11` | `-` | `Read [x7, x9]` | `INSTRUCTION` | -| `0x0458` | `5280002c` | `mov w12, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x045c` | `1aca218c` | `lsl w12, w12, w10` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0460` | `6a0c017f` | `tst w11, w12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0464` | `54000060` | `b.eq 40200470 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | -| `0x0468` | `91000508` | `add x8, x8, #0x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x046c` | `17fffff6` | `b 40200444 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | -| `0x0470` | `2a0c016b` | `orr w11, w11, w12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0474` | `382968eb` | `strb w11, [x7, x9]` | `w11` | `-` | `-` | `Write [x7, x9]` | `INSTRUCTION` | -| `0x0478` | `580002c4` | `ldr x4, 402004d0 ` | `-` | `x4` | `-` | `Literal @ 0x402004d0` | `INSTRUCTION` | -| `0x047c` | `d374cd0d` | `lsl x13, x8, #12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0480` | `8b0d0080` | `add x0, x4, x13` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0484` | `eb02001f` | `cmp x0, x2` | `x0, x2` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0488` | `5400004a` | `b.ge 40200490 // b.tcont` | `-` | `-` | `b.tcont` | `-` | `INSTRUCTION` | -| `0x048c` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0490` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0494` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0498` | `580001c1` | `ldr x1, 402004d0 ` | `-` | `x1` | `-` | `Literal @ 0x402004d0` | `INSTRUCTION` | -| `0x049c` | `eb01001f` | `cmp x0, x1` | `x0, x1` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x04a0` | `540000e3` | `b.cc 402004bc // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | -| `0x04a4` | `58000123` | `ldr x3, 402004c8 ` | `-` | `x3` | `-` | `Literal @ 0x402004c8` | `INSTRUCTION` | -| `0x04a8` | `f9400062` | `ldr x2, [x3]` | `-` | `x2` | `-` | `Read [x3]` | `INSTRUCTION` | -| `0x04ac` | `eb02001f` | `cmp x0, x2` | `x0, x2` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x04b0` | `5400006a` | `b.ge 402004bc // b.tcont` | `-` | `-` | `b.tcont` | `-` | `INSTRUCTION` | -| `0x04b4` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04b8` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04bc` | `d2800020` | `mov x0, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04c0` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04c4` | `00000000` | `udf #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04c8` | `40207000` | `.word 0x40207000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0008` | `540009a1` | `b.ne 4020013c <_physics_entry+0x13c> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x000c` | `580011e3` | `ldr x3, 40200248 ` | `-` | `x3` | `-` | `Literal @ 0x40200248` | `INSTRUCTION` | +| `0x0010` | `eb03003f` | `cmp x1, x3` | `x1, x3` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0014` | `54000be1` | `b.ne 40200190 <_physics_entry+0x190> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0018` | `580011c3` | `ldr x3, 40200250 ` | `-` | `x3` | `-` | `Literal @ 0x40200250` | `INSTRUCTION` | +| `0x001c` | `eb03001f` | `cmp x0, x3` | `x0, x3` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0020` | `54000941` | `b.ne 40200148 <_physics_entry+0x148> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0024` | `f9400004` | `ldr x4, [x0]` | `-` | `x4` | `-` | `Read [x0]` | `INSTRUCTION` | +| `0x0028` | `58001185` | `ldr x5, 40200258 ` | `-` | `x5` | `-` | `Literal @ 0x40200258` | `INSTRUCTION` | +| `0x002c` | `eb05009f` | `cmp x4, x5` | `x4, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0030` | `54000921` | `b.ne 40200154 <_physics_entry+0x154> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0034` | `b9400804` | `ldr w4, [x0, #8]` | `-` | `w4` | `-` | `Read [x0, #8]` | `INSTRUCTION` | +| `0x0038` | `7100049f` | `cmp w4, #0x1` | `w4, #0x1` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x003c` | `54000921` | `b.ne 40200160 <_physics_entry+0x160> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0040` | `b9400c04` | `ldr w4, [x0, #12]` | `-` | `w4` | `-` | `Read [x0, #12]` | `INSTRUCTION` | +| `0x0044` | `7101009f` | `cmp w4, #0x40` | `w4, #0x40` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0048` | `54000921` | `b.ne 4020016c <_physics_entry+0x16c> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x004c` | `f9400804` | `ldr x4, [x0, #16]` | `-` | `x4` | `-` | `Read [x0, #16]` | `INSTRUCTION` | +| `0x0050` | `b5000944` | `cbnz x4, 40200178 <_physics_entry+0x178>` | `-` | `-` | `<_physics_entry+0x178>` | `-` | `INSTRUCTION` | +| `0x0054` | `f9400c13` | `ldr x19, [x0, #24]` | `-` | `x19` | `-` | `Read [x0, #24]` | `INSTRUCTION` | +| `0x0058` | `58001045` | `ldr x5, 40200260 ` | `-` | `x5` | `-` | `Literal @ 0x40200260` | `INSTRUCTION` | +| `0x005c` | `eb05027f` | `cmp x19, x5` | `x19, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0060` | `54000921` | `b.ne 40200184 <_physics_entry+0x184> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0064` | `f9401014` | `ldr x20, [x0, #32]` | `-` | `x20` | `-` | `Read [x0, #32]` | `INSTRUCTION` | +| `0x0068` | `58001005` | `ldr x5, 40200268 ` | `-` | `x5` | `-` | `Literal @ 0x40200268` | `INSTRUCTION` | +| `0x006c` | `eb05029f` | `cmp x20, x5` | `x20, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0070` | `540008a1` | `b.ne 40200184 <_physics_entry+0x184> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0074` | `f9401415` | `ldr x21, [x0, #40]` | `-` | `x21` | `-` | `Read [x0, #40]` | `INSTRUCTION` | +| `0x0078` | `58000fc5` | `ldr x5, 40200270 ` | `-` | `x5` | `-` | `Literal @ 0x40200270` | `INSTRUCTION` | +| `0x007c` | `eb0502bf` | `cmp x21, x5` | `x21, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0080` | `54000821` | `b.ne 40200184 <_physics_entry+0x184> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0084` | `f9401816` | `ldr x22, [x0, #48]` | `-` | `x22` | `-` | `Read [x0, #48]` | `INSTRUCTION` | +| `0x0088` | `58000f85` | `ldr x5, 40200278 ` | `-` | `x5` | `-` | `Literal @ 0x40200278` | `INSTRUCTION` | +| `0x008c` | `eb0502df` | `cmp x22, x5` | `x22, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0090` | `540007a1` | `b.ne 40200184 <_physics_entry+0x184> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x0094` | `f9401c17` | `ldr x23, [x0, #56]` | `-` | `x23` | `-` | `Read [x0, #56]` | `INSTRUCTION` | +| `0x0098` | `58000d85` | `ldr x5, 40200248 ` | `-` | `x5` | `-` | `Literal @ 0x40200248` | `INSTRUCTION` | +| `0x009c` | `eb0502ff` | `cmp x23, x5` | `x23, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x00a0` | `54000721` | `b.ne 40200184 <_physics_entry+0x184> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x00a4` | `58000ee8` | `ldr x8, 40200280 ` | `-` | `x8` | `-` | `Literal @ 0x40200280` | `INSTRUCTION` | +| `0x00a8` | `a9401404` | `ldp x4, x5, [x0]` | `-` | `x4, x5` | `-` | `Read [x0]` | `INSTRUCTION` | +| `0x00ac` | `a9001504` | `stp x4, x5, [x8]` | `x4, x5` | `-` | `-` | `Write [x8]` | `INSTRUCTION` | +| `0x00b0` | `a9411404` | `ldp x4, x5, [x0, #16]` | `-` | `x4, x5` | `-` | `Read [x0, #16]` | `INSTRUCTION` | +| `0x00b4` | `a9011504` | `stp x4, x5, [x8, #16]` | `x4, x5` | `-` | `-` | `Write [x8, #16]` | `INSTRUCTION` | +| `0x00b8` | `a9421404` | `ldp x4, x5, [x0, #32]` | `-` | `x4, x5` | `-` | `Read [x0, #32]` | `INSTRUCTION` | +| `0x00bc` | `a9021504` | `stp x4, x5, [x8, #32]` | `x4, x5` | `-` | `-` | `Write [x8, #32]` | `INSTRUCTION` | +| `0x00c0` | `a9431404` | `ldp x4, x5, [x0, #48]` | `-` | `x4, x5` | `-` | `Read [x0, #48]` | `INSTRUCTION` | +| `0x00c4` | `a9031504` | `stp x4, x5, [x8, #48]` | `x4, x5` | `-` | `-` | `Write [x8, #48]` | `INSTRUCTION` | +| `0x00c8` | `d5384249` | `mrs x9, currentel` | `currentel` | `x9` | `-` | `-` | `INSTRUCTION` | +| `0x00cc` | `927e0529` | `and x9, x9, #0xc` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x00d0` | `f100113f` | `cmp x9, #0x4` | `x9, #0x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x00d4` | `540006a1` | `b.ne 402001a8 <_physics_entry+0x1a8> // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x00d8` | `f9002109` | `str x9, [x8, #64]` | `x9` | `-` | `-` | `Write [x8, #64]` | `INSTRUCTION` | +| `0x00dc` | `58000d2a` | `ldr x10, 40200280 ` | `-` | `x10` | `-` | `Literal @ 0x40200280` | `INSTRUCTION` | +| `0x00e0` | `9100015f` | `mov sp, x10` | `x10` | `SP` | `-` | `-` | `INSTRUCTION` | +| `0x00e4` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x00e8` | `58000d00` | `ldr x0, 40200288 ` | `-` | `x0` | `-` | `Literal @ 0x40200288` | `INSTRUCTION` | +| `0x00ec` | `94000032` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x00f0` | `58000d00` | `ldr x0, 40200290 ` | `-` | `x0` | `-` | `Literal @ 0x40200290` | `INSTRUCTION` | +| `0x00f4` | `94000030` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x00f8` | `58000d00` | `ldr x0, 40200298 ` | `-` | `x0` | `-` | `Literal @ 0x40200298` | `INSTRUCTION` | +| `0x00fc` | `9400002e` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0100` | `58000d01` | `ldr x1, 402002a0 ` | `-` | `x1` | `-` | `Literal @ 0x402002a0` | `INSTRUCTION` | +| `0x0104` | `d518c001` | `msr vbar_el1, x1` | `x1` | `vbar_el1` | `-` | `-` | `INSTRUCTION` | +| `0x0108` | `d5033fdf` | `isb` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x010c` | `58000ce0` | `ldr x0, 402002a8 ` | `-` | `x0` | `-` | `Literal @ 0x402002a8` | `INSTRUCTION` | +| `0x0110` | `94000029` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0114` | `58000b68` | `ldr x8, 40200280 ` | `-` | `x8` | `-` | `Literal @ 0x40200280` | `INSTRUCTION` | +| `0x0118` | `f9400d00` | `ldr x0, [x8, #24]` | `-` | `x0` | `-` | `Read [x8, #24]` | `INSTRUCTION` | +| `0x011c` | `f9401101` | `ldr x1, [x8, #32]` | `-` | `x1` | `-` | `Read [x8, #32]` | `INSTRUCTION` | +| `0x0120` | `940000f8` | `bl 40200500 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0124` | `b40003c0` | `cbz x0, 4020019c <_physics_entry+0x19c>` | `-` | `-` | `<_physics_entry+0x19c>` | `-` | `INSTRUCTION` | +| `0x0128` | `9400014a` | `bl 40200650 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x012c` | `58000c20` | `ldr x0, 402002b0 ` | `-` | `x0` | `-` | `Literal @ 0x402002b0` | `INSTRUCTION` | +| `0x0130` | `94000021` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0134` | `d503205f` | `wfe` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0138` | `17ffffff` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x013c` | `58000be0` | `ldr x0, 402002b8 ` | `-` | `x0` | `-` | `Literal @ 0x402002b8` | `INSTRUCTION` | +| `0x0140` | `9400001d` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0144` | `17fffffc` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x0148` | `58000bc0` | `ldr x0, 402002c0 ` | `-` | `x0` | `-` | `Literal @ 0x402002c0` | `INSTRUCTION` | +| `0x014c` | `9400001a` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0150` | `17fffff9` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x0154` | `58000ba0` | `ldr x0, 402002c8 ` | `-` | `x0` | `-` | `Literal @ 0x402002c8` | `INSTRUCTION` | +| `0x0158` | `94000017` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x015c` | `17fffff6` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x0160` | `58000b80` | `ldr x0, 402002d0 ` | `-` | `x0` | `-` | `Literal @ 0x402002d0` | `INSTRUCTION` | +| `0x0164` | `94000014` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0168` | `17fffff3` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x016c` | `58000b60` | `ldr x0, 402002d8 ` | `-` | `x0` | `-` | `Literal @ 0x402002d8` | `INSTRUCTION` | +| `0x0170` | `94000011` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0174` | `17fffff0` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x0178` | `58000b40` | `ldr x0, 402002e0 ` | `-` | `x0` | `-` | `Literal @ 0x402002e0` | `INSTRUCTION` | +| `0x017c` | `9400000e` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0180` | `17ffffed` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x0184` | `58000b20` | `ldr x0, 402002e8 ` | `-` | `x0` | `-` | `Literal @ 0x402002e8` | `INSTRUCTION` | +| `0x0188` | `9400000b` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x018c` | `17ffffea` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x0190` | `58000b00` | `ldr x0, 402002f0 ` | `-` | `x0` | `-` | `Literal @ 0x402002f0` | `INSTRUCTION` | +| `0x0194` | `94000008` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0198` | `17ffffe7` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x019c` | `58000ae0` | `ldr x0, 402002f8 ` | `-` | `x0` | `-` | `Literal @ 0x402002f8` | `INSTRUCTION` | +| `0x01a0` | `94000005` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01a4` | `17ffffe4` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x01a8` | `58000ac0` | `ldr x0, 40200300 ` | `-` | `x0` | `-` | `Literal @ 0x40200300` | `INSTRUCTION` | +| `0x01ac` | `94000002` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01b0` | `17ffffe1` | `b 40200134 <_physics_entry+0x134>` | `-` | `-` | `<_physics_entry+0x134>` | `-` | `INSTRUCTION` | +| `0x01b4` | `580005f0` | `ldr x16, 40200270 ` | `-` | `x16` | `-` | `Literal @ 0x40200270` | `INSTRUCTION` | +| `0x01b8` | `38401401` | `ldrb w1, [x0], #1` | `-` | `w1` | `-` | `Read [x0]` | `INSTRUCTION` | +| `0x01bc` | `340000a1` | `cbz w1, 402001d0 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01c0` | `b9401a02` | `ldr w2, [x16, #24]` | `-` | `w2` | `-` | `Read [x16, #24]` | `INSTRUCTION` | +| `0x01c4` | `372fffe2` | `tbnz w2, #5, 402001c0 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01c8` | `b9000201` | `str w1, [x16]` | `w1` | `-` | `-` | `Write [x16]` | `INSTRUCTION` | +| `0x01cc` | `17fffffb` | `b 402001b8 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01d0` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01d4` | `580004f0` | `ldr x16, 40200270 ` | `-` | `x16` | `-` | `Literal @ 0x40200270` | `INSTRUCTION` | +| `0x01d8` | `b9401a02` | `ldr w2, [x16, #24]` | `-` | `w2` | `-` | `Read [x16, #24]` | `INSTRUCTION` | +| `0x01dc` | `372fffe2` | `tbnz w2, #5, 402001d8 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x01e0` | `b9000200` | `str w0, [x16]` | `w0` | `-` | `-` | `Write [x16]` | `INSTRUCTION` | +| `0x01e4` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01e8` | `a9be7bfd` | `stp x29, x30, [sp, #-32]!` | `x29, x30` | `-` | `-` | `Write [sp, #-32]` | `INSTRUCTION` | +| `0x01ec` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01f0` | `a90153f3` | `stp x19, x20, [sp, #16]` | `x19, x20` | `-` | `-` | `Write [sp, #16]` | `INSTRUCTION` | +| `0x01f4` | `aa0003f3` | `mov x19, x0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01f8` | `52800600` | `mov w0, #0x30 // #48` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x01fc` | `97fffff6` | `bl 402001d4 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0200` | `52800f00` | `mov w0, #0x78 // #120` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0204` | `97fffff4` | `bl 402001d4 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0208` | `52800794` | `mov w20, #0x3c // #60` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x020c` | `9ad42662` | `lsr x2, x19, x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0210` | `12000c42` | `and w2, w2, #0xf` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0214` | `7100285f` | `cmp w2, #0xa` | `w2, #0xa` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0218` | `5400006b` | `b.lt 40200224 // b.tstop` | `-` | `-` | `b.tstop` | `-` | `INSTRUCTION` | +| `0x021c` | `11015c40` | `add w0, w2, #0x57` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0220` | `14000002` | `b 40200228 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0224` | `1100c040` | `add w0, w2, #0x30` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0228` | `97ffffeb` | `bl 402001d4 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x022c` | `71001294` | `subs w20, w20, #0x4` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0230` | `54fffeea` | `b.ge 4020020c // b.tcont` | `-` | `-` | `b.tcont` | `-` | `INSTRUCTION` | +| `0x0234` | `a94153f3` | `ldp x19, x20, [sp, #16]` | `-` | `x19, x20` | `-` | `Read [sp, #16]` | `INSTRUCTION` | +| `0x0238` | `a8c27bfd` | `ldp x29, x30, [sp], #32` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | +| `0x023c` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0240` | `49435330` | `.word 0x49435330` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0244` | `50485953` | `.word 0x50485953` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0248` | `00001800` | `.word 0x00001800` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x024c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0250` | `401fe000` | `.word 0x401fe000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0254` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0258` | `435f3031` | `.word 0x435f3031` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x025c` | `4d424453` | `.word 0x4d424453` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0260` | `40000000` | `.word 0x40000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0264` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0268` | `08000000` | `.word 0x08000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x026c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0270` | `09000000` | `.word 0x09000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0274` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0278` | `40200000` | `.word 0x40200000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x027c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0280` | `40205800` | `.word 0x40205800` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0284` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0288` | `40200740` | `.word 0x40200740` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x028c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0290` | `40200751` | `.word 0x40200751` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0294` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0298` | `40200769` | `.word 0x40200769` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x029c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02a0` | `40201000` | `.word 0x40201000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02a4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02a8` | `40200786` | `.word 0x40200786` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02ac` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02b0` | `4020079f` | `.word 0x4020079f` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02b4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02b8` | `402007b9` | `.word 0x402007b9` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02bc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02c0` | `402007d4` | `.word 0x402007d4` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02c4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02c8` | `402007f7` | `.word 0x402007f7` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02cc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02d0` | `40200816` | `.word 0x40200816` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02d4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02d8` | `40200837` | `.word 0x40200837` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02dc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02e0` | `40200857` | `.word 0x40200857` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02e4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02e8` | `40200879` | `.word 0x40200879` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02ec` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02f0` | `40200899` | `.word 0x40200899` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02f4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02f8` | `402008ba` | `.word 0x402008ba` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x02fc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0300` | `402008da` | `.word 0x402008da` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0304` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0308` | `d51bd041` | `msr tpidr_el0, x1` | `x1` | `tpidr_el0` | `-` | `-` | `INSTRUCTION` | +| `0x030c` | `d2a80401` | `mov x1, #0x40200000 // #1075838976` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0310` | `f28b1001` | `movk x1, #0x5880` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0314` | `a9010c22` | `stp x2, x3, [x1, #16]` | `x2, x3` | `-` | `-` | `Write [x1, #16]` | `INSTRUCTION` | +| `0x0318` | `a9021424` | `stp x4, x5, [x1, #32]` | `x4, x5` | `-` | `-` | `Write [x1, #32]` | `INSTRUCTION` | +| `0x031c` | `a9031c26` | `stp x6, x7, [x1, #48]` | `x6, x7` | `-` | `-` | `Write [x1, #48]` | `INSTRUCTION` | +| `0x0320` | `a9042428` | `stp x8, x9, [x1, #64]` | `x8, x9` | `-` | `-` | `Write [x1, #64]` | `INSTRUCTION` | +| `0x0324` | `a9052c2a` | `stp x10, x11, [x1, #80]` | `x10, x11` | `-` | `-` | `Write [x1, #80]` | `INSTRUCTION` | +| `0x0328` | `a906342c` | `stp x12, x13, [x1, #96]` | `x12, x13` | `-` | `-` | `Write [x1, #96]` | `INSTRUCTION` | +| `0x032c` | `a9073c2e` | `stp x14, x15, [x1, #112]` | `x14, x15` | `-` | `-` | `Write [x1, #112]` | `INSTRUCTION` | +| `0x0330` | `a9084430` | `stp x16, x17, [x1, #128]` | `x16, x17` | `-` | `-` | `Write [x1, #128]` | `INSTRUCTION` | +| `0x0334` | `a9094c32` | `stp x18, x19, [x1, #144]` | `x18, x19` | `-` | `-` | `Write [x1, #144]` | `INSTRUCTION` | +| `0x0338` | `a90a5434` | `stp x20, x21, [x1, #160]` | `x20, x21` | `-` | `-` | `Write [x1, #160]` | `INSTRUCTION` | +| `0x033c` | `a90b5c36` | `stp x22, x23, [x1, #176]` | `x22, x23` | `-` | `-` | `Write [x1, #176]` | `INSTRUCTION` | +| `0x0340` | `a90c6438` | `stp x24, x25, [x1, #192]` | `x24, x25` | `-` | `-` | `Write [x1, #192]` | `INSTRUCTION` | +| `0x0344` | `a90d6c3a` | `stp x26, x27, [x1, #208]` | `x26, x27` | `-` | `-` | `Write [x1, #208]` | `INSTRUCTION` | +| `0x0348` | `a90e743c` | `stp x28, x29, [x1, #224]` | `x28, x29` | `-` | `-` | `Write [x1, #224]` | `INSTRUCTION` | +| `0x034c` | `f900783e` | `str x30, [x1, #240]` | `x30` | `-` | `-` | `Write [x1, #240]` | `INSTRUCTION` | +| `0x0350` | `d538d082` | `mrs x2, tpidr_el1` | `tpidr_el1` | `x2` | `-` | `-` | `INSTRUCTION` | +| `0x0354` | `d53bd043` | `mrs x3, tpidr_el0` | `tpidr_el0` | `x3` | `-` | `-` | `INSTRUCTION` | +| `0x0358` | `a9000c22` | `stp x2, x3, [x1]` | `x2, x3` | `-` | `-` | `Write [x1]` | `INSTRUCTION` | +| `0x035c` | `910003e2` | `mov x2, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0360` | `f9007c22` | `str x2, [x1, #248]` | `x2` | `-` | `-` | `Write [x1, #248]` | `INSTRUCTION` | +| `0x0364` | `f9008020` | `str x0, [x1, #256]` | `x0` | `-` | `-` | `Write [x1, #256]` | `INSTRUCTION` | +| `0x0368` | `d5384242` | `mrs x2, currentel` | `currentel` | `x2` | `-` | `-` | `INSTRUCTION` | +| `0x036c` | `927e0442` | `and x2, x2, #0xc` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0370` | `f9008422` | `str x2, [x1, #264]` | `x2` | `-` | `-` | `Write [x1, #264]` | `INSTRUCTION` | +| `0x0374` | `d5385203` | `mrs x3, esr_el1` | `esr_el1` | `x3` | `-` | `-` | `INSTRUCTION` | +| `0x0378` | `f9008823` | `str x3, [x1, #272]` | `x3` | `-` | `-` | `Write [x1, #272]` | `INSTRUCTION` | +| `0x037c` | `d5384024` | `mrs x4, elr_el1` | `elr_el1` | `x4` | `-` | `-` | `INSTRUCTION` | +| `0x0380` | `f9008c24` | `str x4, [x1, #280]` | `x4` | `-` | `-` | `Write [x1, #280]` | `INSTRUCTION` | +| `0x0384` | `d5384005` | `mrs x5, spsr_el1` | `spsr_el1` | `x5` | `-` | `-` | `INSTRUCTION` | +| `0x0388` | `f9009025` | `str x5, [x1, #288]` | `x5` | `-` | `-` | `Write [x1, #288]` | `INSTRUCTION` | +| `0x038c` | `d35a7c66` | `ubfx x6, x3, #26, #6` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0390` | `f10088df` | `cmp x6, #0x22` | `x6, #0x22` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0394` | `540001e0` | `b.eq 402003d0 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x0398` | `f100d0df` | `cmp x6, #0x34` | `x6, #0x34` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x039c` | `540001a0` | `b.eq 402003d0 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x03a0` | `f100d4df` | `cmp x6, #0x35` | `x6, #0x35` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x03a4` | `54000160` | `b.eq 402003d0 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x03a8` | `f10080df` | `cmp x6, #0x20` | `x6, #0x20` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x03ac` | `54000100` | `b.eq 402003cc // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x03b0` | `f10084df` | `cmp x6, #0x21` | `x6, #0x21` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x03b4` | `540000c0` | `b.eq 402003cc // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x03b8` | `f10090df` | `cmp x6, #0x24` | `x6, #0x24` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x03bc` | `54000080` | `b.eq 402003cc // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x03c0` | `f10094df` | `cmp x6, #0x25` | `x6, #0x25` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x03c4` | `54000040` | `b.eq 402003cc // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x03c8` | `14000005` | `b 402003dc ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x03cc` | `37500083` | `tbnz w3, #10, 402003dc ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x03d0` | `d5386007` | `mrs x7, far_el1` | `far_el1` | `x7` | `-` | `-` | `INSTRUCTION` | +| `0x03d4` | `d2800028` | `mov x8, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x03d8` | `14000003` | `b 402003e4 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x03dc` | `d2800007` | `mov x7, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x03e0` | `d2800008` | `mov x8, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x03e4` | `a912a027` | `stp x7, x8, [x1, #296]` | `x7, x8` | `-` | `-` | `Write [x1, #296]` | `INSTRUCTION` | +| `0x03e8` | `580005c9` | `ldr x9, 402004a0 ` | `-` | `x9` | `-` | `Literal @ 0x402004a0` | `INSTRUCTION` | +| `0x03ec` | `f9009c29` | `str x9, [x1, #312]` | `x9` | `-` | `-` | `Write [x1, #312]` | `INSTRUCTION` | +| `0x03f0` | `d5033f9f` | `dsb sy` | `-` | `-` | `sy` | `-` | `INSTRUCTION` | +| `0x03f4` | `aa0103f3` | `mov x19, x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x03f8` | `58000582` | `ldr x2, 402004a8 ` | `-` | `x2` | `-` | `Literal @ 0x402004a8` | `INSTRUCTION` | +| `0x03fc` | `9100005f` | `mov sp, x2` | `x2` | `SP` | `-` | `-` | `INSTRUCTION` | +| `0x0400` | `58000580` | `ldr x0, 402004b0 ` | `-` | `x0` | `-` | `Literal @ 0x402004b0` | `INSTRUCTION` | +| `0x0404` | `97ffff6c` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0408` | `58000580` | `ldr x0, 402004b8 ` | `-` | `x0` | `-` | `Literal @ 0x402004b8` | `INSTRUCTION` | +| `0x040c` | `f9408261` | `ldr x1, [x19, #256]` | `-` | `x1` | `-` | `Read [x19, #256]` | `INSTRUCTION` | +| `0x0410` | `94000017` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0414` | `58000560` | `ldr x0, 402004c0 ` | `-` | `x0` | `-` | `Literal @ 0x402004c0` | `INSTRUCTION` | +| `0x0418` | `f9408661` | `ldr x1, [x19, #264]` | `-` | `x1` | `-` | `Read [x19, #264]` | `INSTRUCTION` | +| `0x041c` | `94000014` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0420` | `58000540` | `ldr x0, 402004c8 ` | `-` | `x0` | `-` | `Literal @ 0x402004c8` | `INSTRUCTION` | +| `0x0424` | `f9408a61` | `ldr x1, [x19, #272]` | `-` | `x1` | `-` | `Read [x19, #272]` | `INSTRUCTION` | +| `0x0428` | `94000011` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x042c` | `58000520` | `ldr x0, 402004d0 ` | `-` | `x0` | `-` | `Literal @ 0x402004d0` | `INSTRUCTION` | +| `0x0430` | `f9408e61` | `ldr x1, [x19, #280]` | `-` | `x1` | `-` | `Read [x19, #280]` | `INSTRUCTION` | +| `0x0434` | `9400000e` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0438` | `58000500` | `ldr x0, 402004d8 ` | `-` | `x0` | `-` | `Literal @ 0x402004d8` | `INSTRUCTION` | +| `0x043c` | `f9409261` | `ldr x1, [x19, #288]` | `-` | `x1` | `-` | `Read [x19, #288]` | `INSTRUCTION` | +| `0x0440` | `9400000b` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0444` | `580004e0` | `ldr x0, 402004e0 ` | `-` | `x0` | `-` | `Literal @ 0x402004e0` | `INSTRUCTION` | +| `0x0448` | `f9409661` | `ldr x1, [x19, #296]` | `-` | `x1` | `-` | `Read [x19, #296]` | `INSTRUCTION` | +| `0x044c` | `94000008` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0450` | `580004c0` | `ldr x0, 402004e8 ` | `-` | `x0` | `-` | `Literal @ 0x402004e8` | `INSTRUCTION` | +| `0x0454` | `f9409a61` | `ldr x1, [x19, #304]` | `-` | `x1` | `-` | `Read [x19, #304]` | `INSTRUCTION` | +| `0x0458` | `94000005` | `bl 4020046c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x045c` | `580004a0` | `ldr x0, 402004f0 ` | `-` | `x0` | `-` | `Literal @ 0x402004f0` | `INSTRUCTION` | +| `0x0460` | `97ffff55` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0464` | `d503205f` | `wfe` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0468` | `17ffffff` | `b 40200464 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x046c` | `a9be7bfd` | `stp x29, x30, [sp, #-32]!` | `x29, x30` | `-` | `-` | `Write [sp, #-32]` | `INSTRUCTION` | +| `0x0470` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0474` | `f9000bf4` | `str x20, [sp, #16]` | `x20` | `-` | `-` | `Write [sp, #16]` | `INSTRUCTION` | +| `0x0478` | `aa0103f4` | `mov x20, x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x047c` | `97ffff4e` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0480` | `aa1403e0` | `mov x0, x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0484` | `97ffff59` | `bl 402001e8 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0488` | `58000380` | `ldr x0, 402004f8 ` | `-` | `x0` | `-` | `Literal @ 0x402004f8` | `INSTRUCTION` | +| `0x048c` | `97ffff4a` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0490` | `f9400bf4` | `ldr x20, [sp, #16]` | `-` | `x20` | `-` | `Read [sp, #16]` | `INSTRUCTION` | +| `0x0494` | `a8c27bfd` | `ldp x29, x30, [sp], #32` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | +| `0x0498` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x049c` | `00000000` | `udf #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04a0` | `50415254` | `.word 0x50415254` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04a4` | `314d5246` | `.word 0x314d5246` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04a8` | `40205800` | `.word 0x40205800` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04ac` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04b0` | `40200900` | `.word 0x40200900` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04b4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04b8` | `4020091c` | `.word 0x4020091c` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04bc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04c0` | `40200925` | `.word 0x40200925` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04c4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04c8` | `40200934` | `.word 0x40200934` | `-` | `-` | `-` | `-` | `INSTRUCTION` | | `0x04cc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04d0` | `40208000` | `.word 0x40208000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04d0` | `4020093c` | `.word 0x4020093c` | `-` | `-` | `-` | `-` | `INSTRUCTION` | | `0x04d4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04d8` | `402006e8` | `.word 0x402006e8` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04d8` | `40200944` | `.word 0x40200944` | `-` | `-` | `-` | `-` | `INSTRUCTION` | | `0x04dc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04e0` | `a9bf7bfd` | `stp x29, x30, [sp, #-16]!` | `x29, x30` | `-` | `-` | `Write [sp, #-16]` | `INSTRUCTION` | -| `0x04e4` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04e8` | `58000600` | `ldr x0, 402005a8 ` | `-` | `x0` | `-` | `Literal @ 0x402005a8` | `INSTRUCTION` | -| `0x04ec` | `52800001` | `mov w1, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04f0` | `b9000001` | `str w1, [x0]` | `w1` | `-` | `-` | `Write [x0]` | `INSTRUCTION` | -| `0x04f4` | `52800021` | `mov w1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x04f8` | `b9000401` | `str w1, [x0, #4]` | `w1` | `-` | `-` | `Write [x0, #4]` | `INSTRUCTION` | -| `0x04fc` | `d2800021` | `mov x1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0500` | `f9000401` | `str x1, [x0, #8]` | `x1` | `-` | `-` | `Write [x0, #8]` | `INSTRUCTION` | -| `0x0504` | `12800001` | `mov w1, #0xffffffff // #-1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0508` | `b9001001` | `str w1, [x0, #16]` | `w1` | `-` | `-` | `Write [x0, #16]` | `INSTRUCTION` | -| `0x050c` | `b9001401` | `str w1, [x0, #20]` | `w1` | `-` | `-` | `Write [x0, #20]` | `INSTRUCTION` | -| `0x0510` | `58000501` | `ldr x1, 402005b0 ` | `-` | `x1` | `-` | `Literal @ 0x402005b0` | `INSTRUCTION` | -| `0x0514` | `f9000c01` | `str x1, [x0, #24]` | `x1` | `-` | `-` | `Write [x0, #24]` | `INSTRUCTION` | -| `0x0518` | `58000501` | `ldr x1, 402005b8 ` | `-` | `x1` | `-` | `Literal @ 0x402005b8` | `INSTRUCTION` | -| `0x051c` | `f9001001` | `str x1, [x0, #32]` | `x1` | `-` | `-` | `Write [x0, #32]` | `INSTRUCTION` | -| `0x0520` | `52800021` | `mov w1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0524` | `b9002801` | `str w1, [x0, #40]` | `w1` | `-` | `-` | `Write [x0, #40]` | `INSTRUCTION` | -| `0x0528` | `52800001` | `mov w1, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x052c` | `b9002c01` | `str w1, [x0, #44]` | `w1` | `-` | `-` | `Write [x0, #44]` | `INSTRUCTION` | -| `0x0530` | `70000f81` | `adr x1, 40200723 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0534` | `a9400c22` | `ldp x2, x3, [x1]` | `-` | `x2, x3` | `-` | `Read [x1]` | `INSTRUCTION` | -| `0x0538` | `a9411424` | `ldp x4, x5, [x1, #16]` | `-` | `x4, x5` | `-` | `Read [x1, #16]` | `INSTRUCTION` | -| `0x053c` | `a9030c02` | `stp x2, x3, [x0, #48]` | `x2, x3` | `-` | `-` | `Write [x0, #48]` | `INSTRUCTION` | -| `0x0540` | `a9041404` | `stp x4, x5, [x0, #64]` | `x4, x5` | `-` | `-` | `Write [x0, #64]` | `INSTRUCTION` | -| `0x0544` | `580003e0` | `ldr x0, 402005c0 ` | `-` | `x0` | `-` | `Literal @ 0x402005c0` | `INSTRUCTION` | -| `0x0548` | `97fffef7` | `bl 40200124 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x054c` | `a8c17bfd` | `ldp x29, x30, [sp], #16` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | -| `0x0550` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0554` | `b9402804` | `ldr w4, [x0, #40]` | `-` | `w4` | `-` | `Read [x0, #40]` | `INSTRUCTION` | -| `0x0558` | `7100049f` | `cmp w4, #0x1` | `w4, #0x1` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x055c` | `54000221` | `b.ne 402005a0 // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | -| `0x0560` | `b9401404` | `ldr w4, [x0, #20]` | `-` | `w4` | `-` | `Read [x0, #20]` | `INSTRUCTION` | -| `0x0564` | `0a010085` | `and w5, w4, w1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0568` | `6b0100bf` | `cmp w5, w1` | `w5, w1` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x056c` | `540001a1` | `b.ne 402005a0 // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | -| `0x0570` | `f9400c04` | `ldr x4, [x0, #24]` | `-` | `x4` | `-` | `Read [x0, #24]` | `INSTRUCTION` | -| `0x0574` | `eb04005f` | `cmp x2, x4` | `x2, x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0578` | `54000143` | `b.cc 402005a0 // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | -| `0x057c` | `8b030045` | `add x5, x2, x3` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0580` | `eb0200bf` | `cmp x5, x2` | `x5, x2` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0584` | `540000e3` | `b.cc 402005a0 // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | -| `0x0588` | `f9401006` | `ldr x6, [x0, #32]` | `-` | `x6` | `-` | `Read [x0, #32]` | `INSTRUCTION` | -| `0x058c` | `8b060087` | `add x7, x4, x6` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x0590` | `eb0700bf` | `cmp x5, x7` | `x5, x7` | `NZCV` | `-` | `-` | `INSTRUCTION` | -| `0x0594` | `54000068` | `b.hi 402005a0 // b.pmore` | `-` | `-` | `b.pmore` | `-` | `INSTRUCTION` | -| `0x0598` | `d2800020` | `mov x0, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x059c` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05a0` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05a4` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05a8` | `40206000` | `.word 0x40206000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05ac` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05b0` | `40208000` | `.word 0x40208000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05b4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05b8` | `07df8000` | `.word 0x07df8000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05bc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05c0` | `40200708` | `.word 0x40200708` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05c4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | -| `0x05c8` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05cc` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05d0` | `41574120` | `.word 0x41574120` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05d4` | `0a4e454b` | `.word 0x0a4e454b` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05d8` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05dc` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05e0` | `4e49203a` | `.word 0x4e49203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05e4` | `53455247` | `.word 0x53455247` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05e8` | `41565f53` | `.word 0x41565f53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05ec` | `0a44494c` | `.word 0x0a44494c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05f0` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05f4` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05f8` | `4256203a` | `.word 0x4256203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x05fc` | `495f5241` | `.word 0x495f5241` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0600` | `4154534e` | `.word 0x4154534e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0604` | `44454c4c` | `.word 0x44454c4c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0608` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x060c` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0610` | `51203a53` | `.word 0x51203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0614` | `53454955` | `.word 0x53454955` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0618` | `544e4543` | `.word 0x544e4543` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x061c` | `4145525f` | `.word 0x4145525f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0620` | `000a5944` | `.word 0x000a5944` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0624` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0628` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x062c` | `4e415020` | `.word 0x4e415020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0630` | `425f4349` | `.word 0x425f4349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0634` | `435f4441` | `.word 0x435f4441` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0638` | `494b4f4f` | `.word 0x494b4f4f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x063c` | `50000a45` | `.word 0x50000a45` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0640` | `49535948` | `.word 0x49535948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0644` | `203a5343` | `.word 0x203a5343` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0648` | `494e4150` | `.word 0x494e4150` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x064c` | `41425f43` | `.word 0x41425f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0650` | `45445f44` | `.word 0x45445f44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0654` | `49524353` | `.word 0x49524353` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0658` | `524f5450` | `.word 0x524f5450` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x065c` | `5254505f` | `.word 0x5254505f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0660` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0664` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0668` | `50203a53` | `.word 0x50203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x066c` | `43494e41` | `.word 0x43494e41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0670` | `474e495f` | `.word 0x474e495f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0674` | `53534552` | `.word 0x53534552` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0678` | `524f435f` | `.word 0x524f435f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x067c` | `54505552` | `.word 0x54505552` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0680` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0684` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0688` | `50203a53` | `.word 0x50203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x068c` | `43494e41` | `.word 0x43494e41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0690` | `434e555f` | `.word 0x434e555f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0694` | `52544e4f` | `.word 0x52544e4f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0698` | `45544341` | `.word 0x45544341` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x069c` | `4c455f44` | `.word 0x4c455f44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06a0` | `0000000a` | `.word 0x0000000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06a4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06a8` | `41465b0a` | `.word 0x41465b0a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06ac` | `5d544c55` | `.word 0x5d544c55` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06b0` | `43584520` | `.word 0x43584520` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06b4` | `49545045` | `.word 0x49545045` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06b8` | `54204e4f` | `.word 0x54204e4f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06bc` | `50504152` | `.word 0x50504152` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06c0` | `000a4445` | `.word 0x000a4445` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06c4` | `4c532020` | `.word 0x4c532020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06c8` | `203a544f` | `.word 0x203a544f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06cc` | `45202000` | `.word 0x45202000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06d0` | `203a5253` | `.word 0x203a5253` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06d4` | `46202000` | `.word 0x46202000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06d8` | `203a5241` | `.word 0x203a5241` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06dc` | `45202000` | `.word 0x45202000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06e0` | `203a524c` | `.word 0x203a524c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06e4` | `00000a00` | `.word 0x00000a00` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06e8` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06ec` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06f0` | `41524620` | `.word 0x41524620` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06f4` | `415f454d` | `.word 0x415f454d` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06f8` | `5f485455` | `.word 0x5f485455` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x06fc` | `4e554f42` | `.word 0x4e554f42` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0700` | `00000a44` | `.word 0x00000a44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0704` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0708` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x070c` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0710` | `50414320` | `.word 0x50414320` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0714` | `4f4f525f` | `.word 0x4f4f525f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0718` | `45475f54` | `.word 0x45475f54` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x071c` | `4953454e` | `.word 0x4953454e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0720` | `f7000a53` | `.word 0xf7000a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0724` | `b4012580` | `.word 0xb4012580` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0728` | `9ec1a010` | `.word 0x9ec1a010` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x072c` | `ca8f7bff` | `.word 0xca8f7bff` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0730` | `bac96588` | `.word 0xbac96588` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0734` | `a4bf969c` | `.word 0xa4bf969c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0738` | `a85c06f8` | `.word 0xa85c06f8` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x073c` | `77b608f5` | `.word 0x77b608f5` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0740` | `00a5b948` | `.word 0x00a5b948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0744` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | -| `0x0748` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x074c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0750` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0754` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0758` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x075c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0760` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0764` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0768` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x076c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0770` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0774` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0778` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x077c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0780` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0784` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0788` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x078c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0790` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0794` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0798` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x079c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07a0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07a4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07a8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07ac` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07b0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07b4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07b8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07bc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07c0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07c4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07c8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07cc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07d0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07d4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07d8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07dc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07e0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07e4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07e8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07ec` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07f0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07f4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07f8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x07fc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0800` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0804` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0808` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x080c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0810` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0814` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0818` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x081c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0820` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0824` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0828` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x082c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0830` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0834` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0838` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x083c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0840` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0844` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0848` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x084c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0850` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0854` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0858` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x085c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0860` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0864` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0868` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x086c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0870` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0874` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0878` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x087c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0880` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0884` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0888` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x088c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0890` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0894` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0898` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x089c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08a0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08a4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08a8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08ac` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08b0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08b4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08b8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08bc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08c0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08c4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08c8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08cc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08d0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08d4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08d8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08dc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08e0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08e4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08e8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08ec` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08f0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08f4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08f8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x08fc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0900` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0904` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0908` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x090c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0910` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0914` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0918` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x091c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0920` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0924` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0928` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x092c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0930` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0934` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0938` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x093c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0940` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0944` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0948` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x094c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0950` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0954` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0958` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x095c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0960` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0964` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0968` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x096c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0970` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0974` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0978` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x097c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0980` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0984` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0988` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x098c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0990` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0994` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x0998` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x099c` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09a0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09a4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09a8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09ac` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09b0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09b4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09b8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09bc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09c0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09c4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09c8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09cc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09d0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09d4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09d8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09dc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09e0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x09e4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | +| `0x04e0` | `4020094d` | `.word 0x4020094d` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04e4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04e8` | `40200955` | `.word 0x40200955` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04ec` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04f0` | `40200963` | `.word 0x40200963` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04f4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04f8` | `40200981` | `.word 0x40200981` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x04fc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0500` | `a9bf7bfd` | `stp x29, x30, [sp, #-16]!` | `x29, x30` | `-` | `-` | `Write [sp, #-16]` | `INSTRUCTION` | +| `0x0504` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0508` | `ab010002` | `adds x2, x0, x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x050c` | `540003a2` | `b.cs 40200580 // b.hs, b.nlast` | `-` | `-` | `b.nlast` | `-` | `INSTRUCTION` | +| `0x0510` | `58000904` | `ldr x4, 40200630 ` | `-` | `x4` | `-` | `Literal @ 0x40200630` | `INSTRUCTION` | +| `0x0514` | `eb04005f` | `cmp x2, x4` | `x2, x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0518` | `54000341` | `b.ne 40200580 // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x051c` | `580008e4` | `ldr x4, 40200638 ` | `-` | `x4` | `-` | `Literal @ 0x40200638` | `INSTRUCTION` | +| `0x0520` | `eb04005f` | `cmp x2, x4` | `x2, x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0524` | `540002e9` | `b.ls 40200580 // b.plast` | `-` | `-` | `b.plast` | `-` | `INSTRUCTION` | +| `0x0528` | `cb040045` | `sub x5, x2, x4` | `-` | `-` | `x4` | `-` | `INSTRUCTION` | +| `0x052c` | `d34cfca5` | `lsr x5, x5, #12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0530` | `91001ca6` | `add x6, x5, #0x7` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0534` | `d343fcc6` | `lsr x6, x6, #3` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0538` | `910080c7` | `add x7, x6, #0x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x053c` | `f14004ff` | `cmp x7, #0x1, lsl #12` | `x7, #0x1` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0540` | `54000208` | `b.hi 40200580 // b.pmore` | `-` | `-` | `b.pmore` | `-` | `INSTRUCTION` | +| `0x0544` | `580007e3` | `ldr x3, 40200640 ` | `-` | `x3` | `-` | `Literal @ 0x40200640` | `INSTRUCTION` | +| `0x0548` | `f9000062` | `str x2, [x3]` | `x2` | `-` | `-` | `Write [x3]` | `INSTRUCTION` | +| `0x054c` | `f9000465` | `str x5, [x3, #8]` | `x5` | `-` | `-` | `Write [x3, #8]` | `INSTRUCTION` | +| `0x0550` | `f900087f` | `str xzr, [x3, #16]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0554` | `f9000c7f` | `str xzr, [x3, #24]` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0558` | `91008067` | `add x7, x3, #0x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x055c` | `b4000086` | `cbz x6, 4020056c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x0560` | `380014ff` | `strb wzr, [x7], #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0564` | `d10004c6` | `sub x6, x6, #0x1` | `-` | `-` | `#0x1` | `-` | `INSTRUCTION` | +| `0x0568` | `17fffffd` | `b 4020055c ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x056c` | `580006e0` | `ldr x0, 40200648 ` | `-` | `x0` | `-` | `Literal @ 0x40200648` | `INSTRUCTION` | +| `0x0570` | `97ffff11` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0574` | `aa0503e0` | `mov x0, x5` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0578` | `a8c17bfd` | `ldp x29, x30, [sp], #16` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | +| `0x057c` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0580` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0584` | `a8c17bfd` | `ldp x29, x30, [sp], #16` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | +| `0x0588` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x058c` | `580005a3` | `ldr x3, 40200640 ` | `-` | `x3` | `-` | `Literal @ 0x40200640` | `INSTRUCTION` | +| `0x0590` | `f9400062` | `ldr x2, [x3]` | `-` | `x2` | `-` | `Read [x3]` | `INSTRUCTION` | +| `0x0594` | `f9400465` | `ldr x5, [x3, #8]` | `-` | `x5` | `-` | `Read [x3, #8]` | `INSTRUCTION` | +| `0x0598` | `b4000305` | `cbz x5, 402005f8 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x059c` | `f9400868` | `ldr x8, [x3, #16]` | `-` | `x8` | `-` | `Read [x3, #16]` | `INSTRUCTION` | +| `0x05a0` | `91008067` | `add x7, x3, #0x20` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05a4` | `eb05011f` | `cmp x8, x5` | `x8, x5` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x05a8` | `54000282` | `b.cs 402005f8 // b.hs, b.nlast` | `-` | `-` | `b.nlast` | `-` | `INSTRUCTION` | +| `0x05ac` | `d343fd09` | `lsr x9, x8, #3` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05b0` | `9240090a` | `and x10, x8, #0x7` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05b4` | `386968eb` | `ldrb w11, [x7, x9]` | `-` | `w11` | `-` | `Read [x7, x9]` | `INSTRUCTION` | +| `0x05b8` | `5280002c` | `mov w12, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05bc` | `1aca218c` | `lsl w12, w12, w10` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05c0` | `6a0c017f` | `tst w11, w12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05c4` | `54000060` | `b.eq 402005d0 // b.none` | `-` | `-` | `b.none` | `-` | `INSTRUCTION` | +| `0x05c8` | `91000508` | `add x8, x8, #0x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05cc` | `17fffff6` | `b 402005a4 ` | `-` | `-` | `` | `-` | `INSTRUCTION` | +| `0x05d0` | `58000344` | `ldr x4, 40200638 ` | `-` | `x4` | `-` | `Literal @ 0x40200638` | `INSTRUCTION` | +| `0x05d4` | `d374cd0d` | `lsl x13, x8, #12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05d8` | `8b0d0080` | `add x0, x4, x13` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05dc` | `eb02001f` | `cmp x0, x2` | `x0, x2` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x05e0` | `540000c2` | `b.cs 402005f8 // b.hs, b.nlast` | `-` | `-` | `b.nlast` | `-` | `INSTRUCTION` | +| `0x05e4` | `2a0c016b` | `orr w11, w11, w12` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05e8` | `382968eb` | `strb w11, [x7, x9]` | `w11` | `-` | `-` | `Write [x7, x9]` | `INSTRUCTION` | +| `0x05ec` | `9100050e` | `add x14, x8, #0x1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05f0` | `f900086e` | `str x14, [x3, #16]` | `x14` | `-` | `-` | `Write [x3, #16]` | `INSTRUCTION` | +| `0x05f4` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05f8` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x05fc` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0600` | `580001c1` | `ldr x1, 40200638 ` | `-` | `x1` | `-` | `Literal @ 0x40200638` | `INSTRUCTION` | +| `0x0604` | `eb01001f` | `cmp x0, x1` | `x0, x1` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0608` | `540000e3` | `b.cc 40200624 // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | +| `0x060c` | `580001a3` | `ldr x3, 40200640 ` | `-` | `x3` | `-` | `Literal @ 0x40200640` | `INSTRUCTION` | +| `0x0610` | `f9400062` | `ldr x2, [x3]` | `-` | `x2` | `-` | `Read [x3]` | `INSTRUCTION` | +| `0x0614` | `eb02001f` | `cmp x0, x2` | `x0, x2` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0618` | `54000062` | `b.cs 40200624 // b.hs, b.nlast` | `-` | `-` | `b.nlast` | `-` | `INSTRUCTION` | +| `0x061c` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0620` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0624` | `d2800020` | `mov x0, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0628` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x062c` | `00000000` | `udf #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0630` | `48000000` | `.word 0x48000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0634` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0638` | `40208000` | `.word 0x40208000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x063c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0640` | `40207000` | `.word 0x40207000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0644` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0648` | `40200988` | `.word 0x40200988` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x064c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0650` | `a9bf7bfd` | `stp x29, x30, [sp, #-16]!` | `x29, x30` | `-` | `-` | `Write [sp, #-16]` | `INSTRUCTION` | +| `0x0654` | `910003fd` | `mov x29, sp` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0658` | `58000640` | `ldr x0, 40200720 ` | `-` | `x0` | `-` | `Literal @ 0x40200720` | `INSTRUCTION` | +| `0x065c` | `52800001` | `mov w1, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0660` | `b9000001` | `str w1, [x0]` | `w1` | `-` | `-` | `Write [x0]` | `INSTRUCTION` | +| `0x0664` | `52800021` | `mov w1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0668` | `b9000401` | `str w1, [x0, #4]` | `w1` | `-` | `-` | `Write [x0, #4]` | `INSTRUCTION` | +| `0x066c` | `d2800021` | `mov x1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0670` | `f9000401` | `str x1, [x0, #8]` | `x1` | `-` | `-` | `Write [x0, #8]` | `INSTRUCTION` | +| `0x0674` | `52800021` | `mov w1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0678` | `b9001001` | `str w1, [x0, #16]` | `w1` | `-` | `-` | `Write [x0, #16]` | `INSTRUCTION` | +| `0x067c` | `12800001` | `mov w1, #0xffffffff // #-1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0680` | `b9001401` | `str w1, [x0, #20]` | `w1` | `-` | `-` | `Write [x0, #20]` | `INSTRUCTION` | +| `0x0684` | `58000521` | `ldr x1, 40200728 ` | `-` | `x1` | `-` | `Literal @ 0x40200728` | `INSTRUCTION` | +| `0x0688` | `f9000c01` | `str x1, [x0, #24]` | `x1` | `-` | `-` | `Write [x0, #24]` | `INSTRUCTION` | +| `0x068c` | `58000521` | `ldr x1, 40200730 ` | `-` | `x1` | `-` | `Literal @ 0x40200730` | `INSTRUCTION` | +| `0x0690` | `f9001001` | `str x1, [x0, #32]` | `x1` | `-` | `-` | `Write [x0, #32]` | `INSTRUCTION` | +| `0x0694` | `52800021` | `mov w1, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0698` | `b9002801` | `str w1, [x0, #40]` | `w1` | `-` | `-` | `Write [x0, #40]` | `INSTRUCTION` | +| `0x069c` | `52800001` | `mov w1, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x06a0` | `b9002c01` | `str w1, [x0, #44]` | `w1` | `-` | `-` | `Write [x0, #44]` | `INSTRUCTION` | +| `0x06a4` | `700018e1` | `adr x1, 402009c3 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x06a8` | `a9400c22` | `ldp x2, x3, [x1]` | `-` | `x2, x3` | `-` | `Read [x1]` | `INSTRUCTION` | +| `0x06ac` | `a9411424` | `ldp x4, x5, [x1, #16]` | `-` | `x4, x5` | `-` | `Read [x1, #16]` | `INSTRUCTION` | +| `0x06b0` | `a9030c02` | `stp x2, x3, [x0, #48]` | `x2, x3` | `-` | `-` | `Write [x0, #48]` | `INSTRUCTION` | +| `0x06b4` | `a9041404` | `stp x4, x5, [x0, #64]` | `x4, x5` | `-` | `-` | `Write [x0, #64]` | `INSTRUCTION` | +| `0x06b8` | `58000400` | `ldr x0, 40200738 ` | `-` | `x0` | `-` | `Literal @ 0x40200738` | `INSTRUCTION` | +| `0x06bc` | `97fffebe` | `bl 402001b4 ` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x06c0` | `a8c17bfd` | `ldp x29, x30, [sp], #16` | `-` | `x29, x30` | `-` | `Read [sp]` | `INSTRUCTION` | +| `0x06c4` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x06c8` | `b9402804` | `ldr w4, [x0, #40]` | `-` | `w4` | `-` | `Read [x0, #40]` | `INSTRUCTION` | +| `0x06cc` | `7100049f` | `cmp w4, #0x1` | `w4, #0x1` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x06d0` | `54000221` | `b.ne 40200714 // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x06d4` | `b9401404` | `ldr w4, [x0, #20]` | `-` | `w4` | `-` | `Read [x0, #20]` | `INSTRUCTION` | +| `0x06d8` | `0a010085` | `and w5, w4, w1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x06dc` | `6b0100bf` | `cmp w5, w1` | `w5, w1` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x06e0` | `540001a1` | `b.ne 40200714 // b.any` | `-` | `-` | `b.any` | `-` | `INSTRUCTION` | +| `0x06e4` | `f9400c04` | `ldr x4, [x0, #24]` | `-` | `x4` | `-` | `Read [x0, #24]` | `INSTRUCTION` | +| `0x06e8` | `eb04005f` | `cmp x2, x4` | `x2, x4` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x06ec` | `54000143` | `b.cc 40200714 // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | +| `0x06f0` | `8b030045` | `add x5, x2, x3` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x06f4` | `eb0200bf` | `cmp x5, x2` | `x5, x2` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x06f8` | `540000e3` | `b.cc 40200714 // b.lo, b.ul, b.last` | `-` | `-` | `b.last` | `-` | `INSTRUCTION` | +| `0x06fc` | `f9401006` | `ldr x6, [x0, #32]` | `-` | `x6` | `-` | `Read [x0, #32]` | `INSTRUCTION` | +| `0x0700` | `8b060087` | `add x7, x4, x6` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0704` | `eb0700bf` | `cmp x5, x7` | `x5, x7` | `NZCV` | `-` | `-` | `INSTRUCTION` | +| `0x0708` | `54000068` | `b.hi 40200714 // b.pmore` | `-` | `-` | `b.pmore` | `-` | `INSTRUCTION` | +| `0x070c` | `d2800020` | `mov x0, #0x1 // #1` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0710` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0714` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0718` | `d65f03c0` | `ret` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x071c` | `00000000` | `udf #0` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0720` | `40206000` | `.word 0x40206000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0724` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0728` | `40208000` | `.word 0x40208000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x072c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0730` | `07df8000` | `.word 0x07df8000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0734` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0738` | `402009a8` | `.word 0x402009a8` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x073c` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `-` | `INSTRUCTION` | +| `0x0740` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0744` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0748` | `41574120` | `.word 0x41574120` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x074c` | `0a4e454b` | `.word 0x0a4e454b` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0750` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0754` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0758` | `4e49203a` | `.word 0x4e49203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x075c` | `53455247` | `.word 0x53455247` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0760` | `41565f53` | `.word 0x41565f53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0764` | `0a44494c` | `.word 0x0a44494c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0768` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x076c` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0770` | `4e45203a` | `.word 0x4e45203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0774` | `5f595254` | `.word 0x5f595254` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0778` | `5f314c45` | `.word 0x5f314c45` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x077c` | `49524556` | `.word 0x49524556` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0780` | `44454946` | `.word 0x44454946` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0784` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0788` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x078c` | `56203a53` | `.word 0x56203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0790` | `5f524142` | `.word 0x5f524142` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0794` | `54534e49` | `.word 0x54534e49` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0798` | `454c4c41` | `.word 0x454c4c41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x079c` | `50000a44` | `.word 0x50000a44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07a0` | `49535948` | `.word 0x49535948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07a4` | `203a5343` | `.word 0x203a5343` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07a8` | `45495551` | `.word 0x45495551` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07ac` | `4e454353` | `.word 0x4e454353` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07b0` | `45525f54` | `.word 0x45525f54` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07b4` | `0a594441` | `.word 0x0a594441` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07b8` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07bc` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07c0` | `4150203a` | `.word 0x4150203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07c4` | `5f43494e` | `.word 0x5f43494e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07c8` | `5f444142` | `.word 0x5f444142` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07cc` | `4b4f4f43` | `.word 0x4b4f4f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07d0` | `000a4549` | `.word 0x000a4549` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07d4` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07d8` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07dc` | `4e415020` | `.word 0x4e415020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07e0` | `425f4349` | `.word 0x425f4349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07e4` | `445f4441` | `.word 0x445f4441` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07e8` | `52435345` | `.word 0x52435345` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07ec` | `4f545049` | `.word 0x4f545049` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07f0` | `54505f52` | `.word 0x54505f52` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07f4` | `50000a52` | `.word 0x50000a52` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07f8` | `49535948` | `.word 0x49535948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x07fc` | `203a5343` | `.word 0x203a5343` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0800` | `494e4150` | `.word 0x494e4150` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0804` | `41425f43` | `.word 0x41425f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0808` | `45445f44` | `.word 0x45445f44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x080c` | `4d5f4353` | `.word 0x4d5f4353` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0810` | `43494741` | `.word 0x43494741` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0814` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0818` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x081c` | `50203a53` | `.word 0x50203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0820` | `43494e41` | `.word 0x43494e41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0824` | `4441425f` | `.word 0x4441425f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0828` | `5345445f` | `.word 0x5345445f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x082c` | `45565f43` | `.word 0x45565f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0830` | `4f495352` | `.word 0x4f495352` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0834` | `50000a4e` | `.word 0x50000a4e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0838` | `49535948` | `.word 0x49535948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x083c` | `203a5343` | `.word 0x203a5343` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0840` | `494e4150` | `.word 0x494e4150` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0844` | `41425f43` | `.word 0x41425f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0848` | `45445f44` | `.word 0x45445f44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x084c` | `4c5f4353` | `.word 0x4c5f4353` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0850` | `54474e45` | `.word 0x54474e45` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0854` | `50000a48` | `.word 0x50000a48` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0858` | `49535948` | `.word 0x49535948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x085c` | `203a5343` | `.word 0x203a5343` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0860` | `494e4150` | `.word 0x494e4150` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0864` | `41425f43` | `.word 0x41425f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0868` | `45445f44` | `.word 0x45445f44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x086c` | `525f4353` | `.word 0x525f4353` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0870` | `52455345` | `.word 0x52455345` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0874` | `0a444556` | `.word 0x0a444556` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0878` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x087c` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0880` | `4150203a` | `.word 0x4150203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0884` | `5f43494e` | `.word 0x5f43494e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0888` | `52474e49` | `.word 0x52474e49` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x088c` | `5f535345` | `.word 0x5f535345` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0890` | `52524f43` | `.word 0x52524f43` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0894` | `0a545055` | `.word 0x0a545055` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0898` | `59485000` | `.word 0x59485000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x089c` | `53434953` | `.word 0x53434953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08a0` | `4150203a` | `.word 0x4150203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08a4` | `5f43494e` | `.word 0x5f43494e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08a8` | `5f444142` | `.word 0x5f444142` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08ac` | `4c594150` | `.word 0x4c594150` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08b0` | `5f44414f` | `.word 0x5f44414f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08b4` | `455a4953` | `.word 0x455a4953` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08b8` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08bc` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08c0` | `50203a53` | `.word 0x50203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08c4` | `43494e41` | `.word 0x43494e41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08c8` | `4152465f` | `.word 0x4152465f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08cc` | `415f454d` | `.word 0x415f454d` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08d0` | `4f485455` | `.word 0x4f485455` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08d4` | `59544952` | `.word 0x59544952` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08d8` | `4850000a` | `.word 0x4850000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08dc` | `43495359` | `.word 0x43495359` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08e0` | `50203a53` | `.word 0x50203a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08e4` | `43494e41` | `.word 0x43494e41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08e8` | `434e555f` | `.word 0x434e555f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08ec` | `52544e4f` | `.word 0x52544e4f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08f0` | `45544341` | `.word 0x45544341` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08f4` | `4c455f44` | `.word 0x4c455f44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08f8` | `0000000a` | `.word 0x0000000a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x08fc` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0900` | `41465b0a` | `.word 0x41465b0a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0904` | `5d544c55` | `.word 0x5d544c55` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0908` | `43584520` | `.word 0x43584520` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x090c` | `49545045` | `.word 0x49545045` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0910` | `54204e4f` | `.word 0x54204e4f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0914` | `50504152` | `.word 0x50504152` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0918` | `000a4445` | `.word 0x000a4445` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x091c` | `4c532020` | `.word 0x4c532020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0920` | `203a544f` | `.word 0x203a544f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0924` | `43202000` | `.word 0x43202000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0928` | `45525255` | `.word 0x45525255` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x092c` | `455f544e` | `.word 0x455f544e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0930` | `00203a4c` | `.word 0x00203a4c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0934` | `53452020` | `.word 0x53452020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0938` | `00203a52` | `.word 0x00203a52` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x093c` | `4c452020` | `.word 0x4c452020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0940` | `00203a52` | `.word 0x00203a52` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0944` | `50532020` | `.word 0x50532020` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0948` | `203a5253` | `.word 0x203a5253` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x094c` | `46202000` | `.word 0x46202000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0950` | `203a5241` | `.word 0x203a5241` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0954` | `46202000` | `.word 0x46202000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0958` | `565f5241` | `.word 0x565f5241` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x095c` | `44494c41` | `.word 0x44494c41` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0960` | `5000203a` | `.word 0x5000203a` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0964` | `49535948` | `.word 0x49535948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0968` | `203a5343` | `.word 0x203a5343` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x096c` | `50415254` | `.word 0x50415254` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0970` | `4152465f` | `.word 0x4152465f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0974` | `435f454d` | `.word 0x435f454d` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0978` | `55545041` | `.word 0x55545041` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x097c` | `0a444552` | `.word 0x0a444552` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0980` | `00000a00` | `.word 0x00000a00` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0984` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0988` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x098c` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0990` | `41524620` | `.word 0x41524620` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0994` | `415f454d` | `.word 0x415f454d` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x0998` | `5f485455` | `.word 0x5f485455` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x099c` | `4e554f42` | `.word 0x4e554f42` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09a0` | `00000a44` | `.word 0x00000a44` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09a4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09a8` | `53594850` | `.word 0x53594850` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09ac` | `3a534349` | `.word 0x3a534349` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09b0` | `50414320` | `.word 0x50414320` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09b4` | `4f4f525f` | `.word 0x4f4f525f` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09b8` | `45475f54` | `.word 0x45475f54` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09bc` | `4953454e` | `.word 0x4953454e` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09c0` | `f7000a53` | `.word 0xf7000a53` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09c4` | `b4012580` | `.word 0xb4012580` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09c8` | `9ec1a010` | `.word 0x9ec1a010` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09cc` | `ca8f7bff` | `.word 0xca8f7bff` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09d0` | `bac96588` | `.word 0xbac96588` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09d4` | `a4bf969c` | `.word 0xa4bf969c` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09d8` | `a85c06f8` | `.word 0xa85c06f8` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09dc` | `77b608f5` | `.word 0x77b608f5` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09e0` | `00a5b948` | `.word 0x00a5b948` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | +| `0x09e4` | `00000000` | `.word 0x00000000` | `-` | `-` | `-` | `Read-Only Constant` | `RODATA / CONSTANT` | | `0x09e8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | | `0x09ec` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | | `0x09f0` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | @@ -1033,9 +1033,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x0ff4` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | | `0x0ff8` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | | `0x0ffc` | `00000000` | `.word 0x00000000 (align pad)` | `-` | `-` | `-` | `Padding to 2 KiB VBAR Boundary` | `CANONICAL PADDING` | -| `0x1000` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1004` | `17fffc89` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1008` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1000` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1004` | `d2800000` | `mov x0, #0x0 // #0` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1008` | `17fffcc0` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x100c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1010` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1014` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1065,9 +1065,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1074` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1078` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x107c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1080` | `d2800020` | `mov x0, #0x1 // #1` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1084` | `17fffc69` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1088` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1080` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1084` | `d2800020` | `mov x0, #0x1 // #1` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1088` | `17fffca0` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x108c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1090` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1094` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1097,9 +1097,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x10f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x10f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x10fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1100` | `d2800040` | `mov x0, #0x2 // #2` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1104` | `17fffc49` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1108` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1100` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1104` | `d2800040` | `mov x0, #0x2 // #2` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1108` | `17fffc80` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x110c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1110` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1114` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1129,9 +1129,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1174` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1178` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x117c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1180` | `d2800060` | `mov x0, #0x3 // #3` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1184` | `17fffc29` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1188` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1180` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1184` | `d2800060` | `mov x0, #0x3 // #3` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1188` | `17fffc60` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x118c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1190` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1194` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1161,9 +1161,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x11f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x11f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x11fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1200` | `d2800080` | `mov x0, #0x4 // #4` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1204` | `17fffc09` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1208` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1200` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1204` | `d2800080` | `mov x0, #0x4 // #4` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1208` | `17fffc40` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x120c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1210` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1214` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1193,9 +1193,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1274` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1278` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x127c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1280` | `d28000a0` | `mov x0, #0x5 // #5` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1284` | `17fffbe9` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1288` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1280` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1284` | `d28000a0` | `mov x0, #0x5 // #5` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1288` | `17fffc20` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x128c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1290` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1294` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1225,9 +1225,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x12f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x12f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x12fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1300` | `d28000c0` | `mov x0, #0x6 // #6` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1304` | `17fffbc9` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1308` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1300` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1304` | `d28000c0` | `mov x0, #0x6 // #6` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1308` | `17fffc00` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x130c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1310` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1314` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1257,9 +1257,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1374` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1378` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x137c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1380` | `d28000e0` | `mov x0, #0x7 // #7` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1384` | `17fffba9` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1388` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1380` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1384` | `d28000e0` | `mov x0, #0x7 // #7` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1388` | `17fffbe0` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x138c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1390` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1394` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1289,9 +1289,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x13f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x13f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x13fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1400` | `d2800100` | `mov x0, #0x8 // #8` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1404` | `17fffb89` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1408` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1400` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1404` | `d2800100` | `mov x0, #0x8 // #8` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1408` | `17fffbc0` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x140c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1410` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1414` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1321,9 +1321,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1474` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1478` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x147c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1480` | `d2800120` | `mov x0, #0x9 // #9` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1484` | `17fffb69` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1488` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1480` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1484` | `d2800120` | `mov x0, #0x9 // #9` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1488` | `17fffba0` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x148c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1490` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1494` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1353,9 +1353,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x14f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x14f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x14fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1500` | `d2800140` | `mov x0, #0xa // #10` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1504` | `17fffb49` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1508` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1500` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1504` | `d2800140` | `mov x0, #0xa // #10` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1508` | `17fffb80` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x150c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1510` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1514` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1385,9 +1385,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1574` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1578` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x157c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1580` | `d2800160` | `mov x0, #0xb // #11` | `-` | `-` | `#11` | `-` | `VECTOR_ENTRY` | -| `0x1584` | `17fffb29` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1588` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1580` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1584` | `d2800160` | `mov x0, #0xb // #11` | `-` | `-` | `#11` | `-` | `VECTOR_ENTRY` | +| `0x1588` | `17fffb60` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x158c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1590` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1594` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1417,9 +1417,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x15f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x15f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x15fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1600` | `d2800180` | `mov x0, #0xc // #12` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1604` | `17fffb09` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1608` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1600` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1604` | `d2800180` | `mov x0, #0xc // #12` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1608` | `17fffb40` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x160c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1610` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1614` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1449,9 +1449,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1674` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1678` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x167c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1680` | `d28001a0` | `mov x0, #0xd // #13` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1684` | `17fffae9` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1688` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1680` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1684` | `d28001a0` | `mov x0, #0xd // #13` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1688` | `17fffb20` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x168c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1690` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1694` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1481,9 +1481,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x16f4` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x16f8` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x16fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1700` | `d28001c0` | `mov x0, #0xe // #14` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1704` | `17fffac9` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1708` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1700` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1704` | `d28001c0` | `mov x0, #0xe // #14` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1708` | `17fffb00` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x170c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1710` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1714` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1513,9 +1513,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x1774` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1778` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x177c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1780` | `d28001e0` | `mov x0, #0xf // #15` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | -| `0x1784` | `17fffaa9` | `b 40200228 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | -| `0x1788` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1780` | `d518d080` | `msr tpidr_el1, x0` | `x0` | `tpidr_el1` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1784` | `d28001e0` | `mov x0, #0xf // #15` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | +| `0x1788` | `17fffae0` | `b 40200308 ` | `-` | `-` | `` | `-` | `VECTOR_ENTRY` | | `0x178c` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1790` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | | `0x1794` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | @@ -1547,9 +1547,9 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) | `0x17fc` | `d503201f` | `nop` | `-` | `-` | `-` | `-` | `VECTOR_ENTRY` | ## Mathematical Reconciliation Summary -- Decoded Kernel Code Instructions: 370 (x 4 bytes = 1480 bytes) -- Read-Only Data (rodata) Words: 96 (x 4 bytes = 384 bytes) -- Canonical Alignment Padding Words: 558 (x 4 bytes = 2232 bytes) +- Decoded Kernel Code Instructions: 464 (x 4 bytes = 1856 bytes) +- Read-Only Data (rodata) Words: 170 (x 4 bytes = 680 bytes) +- Canonical Alignment Padding Words: 390 (x 4 bytes = 1560 bytes) - Vector Table (VBAR) Words: 512 (x 4 bytes = 2048 bytes) - Reconciled Total Word Count: 1536 words - Reconciled Total Byte Count: 6144 bytes @@ -1558,6 +1558,6 @@ Milestone 2: Physics Authority Nucleus (PHYSICS_BOOT) ### Generalized Byte Accounting Formula Conformance ```text -CODE_BYTES (1480) + RODATA_BYTES (384) + CANONICAL_PADDING_BYTES (2232) + VECTOR_TABLE_BYTES (2048) = 6144 BYTES +CODE_BYTES (1856) + RODATA_BYTES (680) + CANONICAL_PADDING_BYTES (1560) + VECTOR_TABLE_BYTES (2048) = 6144 BYTES EXACT DISCREPANCY: 0 BYTES ``` diff --git a/physics.bin b/physics.bin index 3a2d7d6..78bb079 100755 Binary files a/physics.bin and b/physics.bin differ diff --git a/physics.decode b/physics.decode index 8fd7345..95eb7d9 100644 --- a/physics.decode +++ b/physics.decode @@ -1,405 +1,501 @@ -./physics.elf: file format elf64-littleaarch64 +/home/drakestapleton/workspace/physics-m2/build/canonical/physics.elf: file format elf64-littleaarch64 Disassembly of section .text: 0000000040200000 <_physics_entry>: - 40200000: 58000d83 ldr x3, 402001b0 + 40200000: 58001203 ldr x3, 40200240 40200004: eb03005f cmp x2, x3 - 40200008: 540006e1 b.ne 402000e4 <_physics_entry+0xe4> // b.any - 4020000c: 58000d63 ldr x3, 402001b8 - 40200010: eb03001f cmp x0, x3 - 40200014: 54000701 b.ne 402000f4 <_physics_entry+0xf4> // b.any - 40200018: f9400013 ldr x19, [x0] - 4020001c: f9400414 ldr x20, [x0, #8] - 40200020: f9400815 ldr x21, [x0, #16] - 40200024: b4000714 cbz x20, 40200104 <_physics_entry+0x104> - 40200028: 8b140264 add x4, x19, x20 - 4020002c: eb13009f cmp x4, x19 - 40200030: 540006a9 b.ls 40200104 <_physics_entry+0x104> // b.plast - 40200034: 58000c65 ldr x5, 402001c0 - 40200038: eb1300bf cmp x5, x19 - 4020003c: 54000643 b.cc 40200104 <_physics_entry+0x104> // b.lo, b.ul, b.last - 40200040: 58000c46 ldr x6, 402001c8 - 40200044: eb0400df cmp x6, x4 - 40200048: 540005e8 b.hi 40200104 <_physics_entry+0x104> // b.pmore - 4020004c: 58000c27 ldr x7, 402001d0 - 40200050: eb0702bf cmp x21, x7 - 40200054: 54000581 b.ne 40200104 <_physics_entry+0x104> // b.any - 40200058: 58000c08 ldr x8, 402001d8 - 4020005c: f9000113 str x19, [x8] - 40200060: f9000514 str x20, [x8, #8] - 40200064: f9000915 str x21, [x8, #16] - 40200068: d5384249 mrs x9, currentel - 4020006c: 927e0529 and x9, x9, #0xc - 40200070: f9000d09 str x9, [x8, #24] - 40200074: 58000b2a ldr x10, 402001d8 - 40200078: 9100015f mov sp, x10 - 4020007c: d2800000 mov x0, #0x0 // #0 - 40200080: 58000b00 ldr x0, 402001e0 - 40200084: 94000028 bl 40200124 - 40200088: 58000b00 ldr x0, 402001e8 - 4020008c: 94000026 bl 40200124 - 40200090: 58000b01 ldr x1, 402001f0 - 40200094: f100113f cmp x9, #0x4 - 40200098: 54000080 b.eq 402000a8 <_physics_entry+0xa8> // b.none - 4020009c: f100213f cmp x9, #0x8 - 402000a0: 540000a0 b.eq 402000b4 <_physics_entry+0xb4> // b.none - 402000a4: 1400001c b 40200114 <_physics_entry+0x114> - 402000a8: d518c001 msr vbar_el1, x1 - 402000ac: d5033fdf isb - 402000b0: 14000003 b 402000bc <_physics_entry+0xbc> - 402000b4: d51cc001 msr vbar_el2, x1 - 402000b8: d5033fdf isb - 402000bc: 580009e0 ldr x0, 402001f8 - 402000c0: 94000019 bl 40200124 - 402000c4: aa1303e0 mov x0, x19 - 402000c8: aa1403e1 mov x1, x20 - 402000cc: 940000bd bl 402003c0 - 402000d0: 94000104 bl 402004e0 - 402000d4: 58000960 ldr x0, 40200200 - 402000d8: 94000013 bl 40200124 - 402000dc: d503205f wfe - 402000e0: 17ffffff b 402000dc <_physics_entry+0xdc> - 402000e4: 58000774 ldr x20, 402001d0 - 402000e8: 58000900 ldr x0, 40200208 - 402000ec: 9400000e bl 40200124 - 402000f0: 17fffffb b 402000dc <_physics_entry+0xdc> - 402000f4: 580006f4 ldr x20, 402001d0 - 402000f8: 580008c0 ldr x0, 40200210 - 402000fc: 9400000a bl 40200124 - 40200100: 17fffff7 b 402000dc <_physics_entry+0xdc> - 40200104: 58000674 ldr x20, 402001d0 - 40200108: 58000880 ldr x0, 40200218 - 4020010c: 94000006 bl 40200124 - 40200110: 17fffff3 b 402000dc <_physics_entry+0xdc> - 40200114: 580005f4 ldr x20, 402001d0 - 40200118: 58000840 ldr x0, 40200220 - 4020011c: 94000002 bl 40200124 - 40200120: 17ffffef b 402000dc <_physics_entry+0xdc> + 40200008: 540009a1 b.ne 4020013c <_physics_entry+0x13c> // b.any + 4020000c: 580011e3 ldr x3, 40200248 + 40200010: eb03003f cmp x1, x3 + 40200014: 54000be1 b.ne 40200190 <_physics_entry+0x190> // b.any + 40200018: 580011c3 ldr x3, 40200250 + 4020001c: eb03001f cmp x0, x3 + 40200020: 54000941 b.ne 40200148 <_physics_entry+0x148> // b.any + 40200024: f9400004 ldr x4, [x0] + 40200028: 58001185 ldr x5, 40200258 + 4020002c: eb05009f cmp x4, x5 + 40200030: 54000921 b.ne 40200154 <_physics_entry+0x154> // b.any + 40200034: b9400804 ldr w4, [x0, #8] + 40200038: 7100049f cmp w4, #0x1 + 4020003c: 54000921 b.ne 40200160 <_physics_entry+0x160> // b.any + 40200040: b9400c04 ldr w4, [x0, #12] + 40200044: 7101009f cmp w4, #0x40 + 40200048: 54000921 b.ne 4020016c <_physics_entry+0x16c> // b.any + 4020004c: f9400804 ldr x4, [x0, #16] + 40200050: b5000944 cbnz x4, 40200178 <_physics_entry+0x178> + 40200054: f9400c13 ldr x19, [x0, #24] + 40200058: 58001045 ldr x5, 40200260 + 4020005c: eb05027f cmp x19, x5 + 40200060: 54000921 b.ne 40200184 <_physics_entry+0x184> // b.any + 40200064: f9401014 ldr x20, [x0, #32] + 40200068: 58001005 ldr x5, 40200268 + 4020006c: eb05029f cmp x20, x5 + 40200070: 540008a1 b.ne 40200184 <_physics_entry+0x184> // b.any + 40200074: f9401415 ldr x21, [x0, #40] + 40200078: 58000fc5 ldr x5, 40200270 + 4020007c: eb0502bf cmp x21, x5 + 40200080: 54000821 b.ne 40200184 <_physics_entry+0x184> // b.any + 40200084: f9401816 ldr x22, [x0, #48] + 40200088: 58000f85 ldr x5, 40200278 + 4020008c: eb0502df cmp x22, x5 + 40200090: 540007a1 b.ne 40200184 <_physics_entry+0x184> // b.any + 40200094: f9401c17 ldr x23, [x0, #56] + 40200098: 58000d85 ldr x5, 40200248 + 4020009c: eb0502ff cmp x23, x5 + 402000a0: 54000721 b.ne 40200184 <_physics_entry+0x184> // b.any + 402000a4: 58000ee8 ldr x8, 40200280 + 402000a8: a9401404 ldp x4, x5, [x0] + 402000ac: a9001504 stp x4, x5, [x8] + 402000b0: a9411404 ldp x4, x5, [x0, #16] + 402000b4: a9011504 stp x4, x5, [x8, #16] + 402000b8: a9421404 ldp x4, x5, [x0, #32] + 402000bc: a9021504 stp x4, x5, [x8, #32] + 402000c0: a9431404 ldp x4, x5, [x0, #48] + 402000c4: a9031504 stp x4, x5, [x8, #48] + 402000c8: d5384249 mrs x9, currentel + 402000cc: 927e0529 and x9, x9, #0xc + 402000d0: f100113f cmp x9, #0x4 + 402000d4: 540006a1 b.ne 402001a8 <_physics_entry+0x1a8> // b.any + 402000d8: f9002109 str x9, [x8, #64] + 402000dc: 58000d2a ldr x10, 40200280 + 402000e0: 9100015f mov sp, x10 + 402000e4: d2800000 mov x0, #0x0 // #0 + 402000e8: 58000d00 ldr x0, 40200288 + 402000ec: 94000032 bl 402001b4 + 402000f0: 58000d00 ldr x0, 40200290 + 402000f4: 94000030 bl 402001b4 + 402000f8: 58000d00 ldr x0, 40200298 + 402000fc: 9400002e bl 402001b4 + 40200100: 58000d01 ldr x1, 402002a0 + 40200104: d518c001 msr vbar_el1, x1 + 40200108: d5033fdf isb + 4020010c: 58000ce0 ldr x0, 402002a8 + 40200110: 94000029 bl 402001b4 + 40200114: 58000b68 ldr x8, 40200280 + 40200118: f9400d00 ldr x0, [x8, #24] + 4020011c: f9401101 ldr x1, [x8, #32] + 40200120: 940000f8 bl 40200500 + 40200124: b40003c0 cbz x0, 4020019c <_physics_entry+0x19c> + 40200128: 9400014a bl 40200650 + 4020012c: 58000c20 ldr x0, 402002b0 + 40200130: 94000021 bl 402001b4 + 40200134: d503205f wfe + 40200138: 17ffffff b 40200134 <_physics_entry+0x134> + 4020013c: 58000be0 ldr x0, 402002b8 + 40200140: 9400001d bl 402001b4 + 40200144: 17fffffc b 40200134 <_physics_entry+0x134> + 40200148: 58000bc0 ldr x0, 402002c0 + 4020014c: 9400001a bl 402001b4 + 40200150: 17fffff9 b 40200134 <_physics_entry+0x134> + 40200154: 58000ba0 ldr x0, 402002c8 + 40200158: 94000017 bl 402001b4 + 4020015c: 17fffff6 b 40200134 <_physics_entry+0x134> + 40200160: 58000b80 ldr x0, 402002d0 + 40200164: 94000014 bl 402001b4 + 40200168: 17fffff3 b 40200134 <_physics_entry+0x134> + 4020016c: 58000b60 ldr x0, 402002d8 + 40200170: 94000011 bl 402001b4 + 40200174: 17fffff0 b 40200134 <_physics_entry+0x134> + 40200178: 58000b40 ldr x0, 402002e0 + 4020017c: 9400000e bl 402001b4 + 40200180: 17ffffed b 40200134 <_physics_entry+0x134> + 40200184: 58000b20 ldr x0, 402002e8 + 40200188: 9400000b bl 402001b4 + 4020018c: 17ffffea b 40200134 <_physics_entry+0x134> + 40200190: 58000b00 ldr x0, 402002f0 + 40200194: 94000008 bl 402001b4 + 40200198: 17ffffe7 b 40200134 <_physics_entry+0x134> + 4020019c: 58000ae0 ldr x0, 402002f8 + 402001a0: 94000005 bl 402001b4 + 402001a4: 17ffffe4 b 40200134 <_physics_entry+0x134> + 402001a8: 58000ac0 ldr x0, 40200300 + 402001ac: 94000002 bl 402001b4 + 402001b0: 17ffffe1 b 40200134 <_physics_entry+0x134> -0000000040200124 : - 40200124: 58000574 ldr x20, 402001d0 - 40200128: 38401401 ldrb w1, [x0], #1 - 4020012c: 340000a1 cbz w1, 40200140 - 40200130: b9401a82 ldr w2, [x20, #24] - 40200134: 372fffe2 tbnz w2, #5, 40200130 - 40200138: b9000281 str w1, [x20] - 4020013c: 17fffffb b 40200128 - 40200140: d65f03c0 ret +00000000402001b4 : + 402001b4: 580005f0 ldr x16, 40200270 + 402001b8: 38401401 ldrb w1, [x0], #1 + 402001bc: 340000a1 cbz w1, 402001d0 + 402001c0: b9401a02 ldr w2, [x16, #24] + 402001c4: 372fffe2 tbnz w2, #5, 402001c0 + 402001c8: b9000201 str w1, [x16] + 402001cc: 17fffffb b 402001b8 + 402001d0: d65f03c0 ret -0000000040200144 : - 40200144: 58000474 ldr x20, 402001d0 - 40200148: b9401a82 ldr w2, [x20, #24] - 4020014c: 372fffe2 tbnz w2, #5, 40200148 - 40200150: b9000280 str w0, [x20] - 40200154: d65f03c0 ret +00000000402001d4 : + 402001d4: 580004f0 ldr x16, 40200270 + 402001d8: b9401a02 ldr w2, [x16, #24] + 402001dc: 372fffe2 tbnz w2, #5, 402001d8 + 402001e0: b9000200 str w0, [x16] + 402001e4: d65f03c0 ret -0000000040200158 : - 40200158: a9be7bfd stp x29, x30, [sp, #-32]! - 4020015c: 910003fd mov x29, sp - 40200160: f9000bf3 str x19, [sp, #16] - 40200164: aa0003f3 mov x19, x0 - 40200168: 52800600 mov w0, #0x30 // #48 - 4020016c: 97fffff6 bl 40200144 - 40200170: 52800f00 mov w0, #0x78 // #120 - 40200174: 97fffff4 bl 40200144 - 40200178: 52800781 mov w1, #0x3c // #60 - 4020017c: 9ac12662 lsr x2, x19, x1 - 40200180: 12000c42 and w2, w2, #0xf - 40200184: 7100285f cmp w2, #0xa - 40200188: 5400006b b.lt 40200194 // b.tstop - 4020018c: 11015c40 add w0, w2, #0x57 - 40200190: 14000002 b 40200198 - 40200194: 1100c040 add w0, w2, #0x30 - 40200198: 97ffffeb bl 40200144 - 4020019c: 71001021 subs w1, w1, #0x4 - 402001a0: 54fffeea b.ge 4020017c // b.tcont - 402001a4: f9400bf3 ldr x19, [sp, #16] - 402001a8: a8c27bfd ldp x29, x30, [sp], #32 - 402001ac: d65f03c0 ret - 402001b0: 49435330 .word 0x49435330 - 402001b4: 50485953 .word 0x50485953 - 402001b8: 401fe000 .word 0x401fe000 - 402001bc: 00000000 .word 0x00000000 - 402001c0: 40200000 .word 0x40200000 - 402001c4: 00000000 .word 0x00000000 - 402001c8: 40208000 .word 0x40208000 - 402001cc: 00000000 .word 0x00000000 - 402001d0: 09000000 .word 0x09000000 - 402001d4: 00000000 .word 0x00000000 - 402001d8: 40205800 .word 0x40205800 - 402001dc: 00000000 .word 0x00000000 - 402001e0: 402005c8 .word 0x402005c8 - 402001e4: 00000000 .word 0x00000000 - 402001e8: 402005d9 .word 0x402005d9 - 402001ec: 00000000 .word 0x00000000 - 402001f0: 40201000 .word 0x40201000 - 402001f4: 00000000 .word 0x00000000 - 402001f8: 402005f1 .word 0x402005f1 - 402001fc: 00000000 .word 0x00000000 - 40200200: 4020060a .word 0x4020060a - 40200204: 00000000 .word 0x00000000 - 40200208: 40200624 .word 0x40200624 - 4020020c: 00000000 .word 0x00000000 - 40200210: 4020063f .word 0x4020063f - 40200214: 00000000 .word 0x00000000 - 40200218: 40200662 .word 0x40200662 - 4020021c: 00000000 .word 0x00000000 - 40200220: 40200682 .word 0x40200682 - 40200224: 00000000 .word 0x00000000 +00000000402001e8 : + 402001e8: a9be7bfd stp x29, x30, [sp, #-32]! + 402001ec: 910003fd mov x29, sp + 402001f0: a90153f3 stp x19, x20, [sp, #16] + 402001f4: aa0003f3 mov x19, x0 + 402001f8: 52800600 mov w0, #0x30 // #48 + 402001fc: 97fffff6 bl 402001d4 + 40200200: 52800f00 mov w0, #0x78 // #120 + 40200204: 97fffff4 bl 402001d4 + 40200208: 52800794 mov w20, #0x3c // #60 + 4020020c: 9ad42662 lsr x2, x19, x20 + 40200210: 12000c42 and w2, w2, #0xf + 40200214: 7100285f cmp w2, #0xa + 40200218: 5400006b b.lt 40200224 // b.tstop + 4020021c: 11015c40 add w0, w2, #0x57 + 40200220: 14000002 b 40200228 + 40200224: 1100c040 add w0, w2, #0x30 + 40200228: 97ffffeb bl 402001d4 + 4020022c: 71001294 subs w20, w20, #0x4 + 40200230: 54fffeea b.ge 4020020c // b.tcont + 40200234: a94153f3 ldp x19, x20, [sp, #16] + 40200238: a8c27bfd ldp x29, x30, [sp], #32 + 4020023c: d65f03c0 ret + 40200240: 49435330 .word 0x49435330 + 40200244: 50485953 .word 0x50485953 + 40200248: 00001800 .word 0x00001800 + 4020024c: 00000000 .word 0x00000000 + 40200250: 401fe000 .word 0x401fe000 + 40200254: 00000000 .word 0x00000000 + 40200258: 435f3031 .word 0x435f3031 + 4020025c: 4d424453 .word 0x4d424453 + 40200260: 40000000 .word 0x40000000 + 40200264: 00000000 .word 0x00000000 + 40200268: 08000000 .word 0x08000000 + 4020026c: 00000000 .word 0x00000000 + 40200270: 09000000 .word 0x09000000 + 40200274: 00000000 .word 0x00000000 + 40200278: 40200000 .word 0x40200000 + 4020027c: 00000000 .word 0x00000000 + 40200280: 40205800 .word 0x40205800 + 40200284: 00000000 .word 0x00000000 + 40200288: 40200740 .word 0x40200740 + 4020028c: 00000000 .word 0x00000000 + 40200290: 40200751 .word 0x40200751 + 40200294: 00000000 .word 0x00000000 + 40200298: 40200769 .word 0x40200769 + 4020029c: 00000000 .word 0x00000000 + 402002a0: 40201000 .word 0x40201000 + 402002a4: 00000000 .word 0x00000000 + 402002a8: 40200786 .word 0x40200786 + 402002ac: 00000000 .word 0x00000000 + 402002b0: 4020079f .word 0x4020079f + 402002b4: 00000000 .word 0x00000000 + 402002b8: 402007b9 .word 0x402007b9 + 402002bc: 00000000 .word 0x00000000 + 402002c0: 402007d4 .word 0x402007d4 + 402002c4: 00000000 .word 0x00000000 + 402002c8: 402007f7 .word 0x402007f7 + 402002cc: 00000000 .word 0x00000000 + 402002d0: 40200816 .word 0x40200816 + 402002d4: 00000000 .word 0x00000000 + 402002d8: 40200837 .word 0x40200837 + 402002dc: 00000000 .word 0x00000000 + 402002e0: 40200857 .word 0x40200857 + 402002e4: 00000000 .word 0x00000000 + 402002e8: 40200879 .word 0x40200879 + 402002ec: 00000000 .word 0x00000000 + 402002f0: 40200899 .word 0x40200899 + 402002f4: 00000000 .word 0x00000000 + 402002f8: 402008ba .word 0x402008ba + 402002fc: 00000000 .word 0x00000000 + 40200300: 402008da .word 0x402008da + 40200304: 00000000 .word 0x00000000 -0000000040200228 : - 40200228: 58000ad3 ldr x19, 40200380 - 4020022c: f9000260 str x0, [x19] - 40200230: d5384242 mrs x2, currentel - 40200234: 927e0442 and x2, x2, #0xc - 40200238: f9000662 str x2, [x19, #8] - 4020023c: f100205f cmp x2, #0x8 - 40200240: 54000340 b.eq 402002a8 // b.none - 40200244: d5385203 mrs x3, esr_el1 - 40200248: f9000a63 str x3, [x19, #16] - 4020024c: d5384024 mrs x4, elr_el1 - 40200250: f9000e64 str x4, [x19, #24] - 40200254: d5384005 mrs x5, spsr_el1 - 40200258: f9001265 str x5, [x19, #32] - 4020025c: 531a7c66 lsr w6, w3, #26 - 40200260: 710080df cmp w6, #0x20 - 40200264: 54000180 b.eq 40200294 // b.none - 40200268: 710084df cmp w6, #0x21 - 4020026c: 54000140 b.eq 40200294 // b.none - 40200270: 710088df cmp w6, #0x22 - 40200274: 54000100 b.eq 40200294 // b.none - 40200278: 710090df cmp w6, #0x24 - 4020027c: 540000c0 b.eq 40200294 // b.none - 40200280: 710094df cmp w6, #0x25 - 40200284: 54000080 b.eq 40200294 // b.none - 40200288: f900167f str xzr, [x19, #40] - 4020028c: f9001a7f str xzr, [x19, #48] - 40200290: 1400001e b 40200308 - 40200294: d5386007 mrs x7, far_el1 - 40200298: f9001667 str x7, [x19, #40] - 4020029c: d2800028 mov x8, #0x1 // #1 - 402002a0: f9001a68 str x8, [x19, #48] - 402002a4: 14000019 b 40200308 - 402002a8: d53c5203 mrs x3, esr_el2 - 402002ac: f9000a63 str x3, [x19, #16] - 402002b0: d53c4024 mrs x4, elr_el2 - 402002b4: f9000e64 str x4, [x19, #24] - 402002b8: d53c4005 mrs x5, spsr_el2 - 402002bc: f9001265 str x5, [x19, #32] - 402002c0: 531a7c66 lsr w6, w3, #26 - 402002c4: 710080df cmp w6, #0x20 - 402002c8: 54000180 b.eq 402002f8 // b.none - 402002cc: 710084df cmp w6, #0x21 - 402002d0: 54000140 b.eq 402002f8 // b.none - 402002d4: 710088df cmp w6, #0x22 - 402002d8: 54000100 b.eq 402002f8 // b.none - 402002dc: 710090df cmp w6, #0x24 - 402002e0: 540000c0 b.eq 402002f8 // b.none - 402002e4: 710094df cmp w6, #0x25 - 402002e8: 54000080 b.eq 402002f8 // b.none - 402002ec: f900167f str xzr, [x19, #40] - 402002f0: f9001a7f str xzr, [x19, #48] - 402002f4: 14000005 b 40200308 - 402002f8: d53c6007 mrs x7, far_el2 - 402002fc: f9001667 str x7, [x19, #40] - 40200300: d2800028 mov x8, #0x1 // #1 - 40200304: f9001a68 str x8, [x19, #48] - 40200308: 58000414 ldr x20, 40200388 - 4020030c: 58000420 ldr x0, 40200390 - 40200310: 97ffff85 bl 40200124 - 40200314: 58000420 ldr x0, 40200398 - 40200318: 97ffff83 bl 40200124 - 4020031c: f9400260 ldr x0, [x19] - 40200320: 97ffff8e bl 40200158 - 40200324: 580003e0 ldr x0, 402003a0 - 40200328: 97ffff7f bl 40200124 - 4020032c: 580003e0 ldr x0, 402003a8 - 40200330: 97ffff7d bl 40200124 - 40200334: f9400a60 ldr x0, [x19, #16] - 40200338: 97ffff88 bl 40200158 - 4020033c: 58000320 ldr x0, 402003a0 - 40200340: 97ffff79 bl 40200124 - 40200344: 58000360 ldr x0, 402003b0 - 40200348: 97ffff77 bl 40200124 - 4020034c: f9401660 ldr x0, [x19, #40] - 40200350: 97ffff82 bl 40200158 - 40200354: 58000260 ldr x0, 402003a0 - 40200358: 97ffff73 bl 40200124 - 4020035c: 580002e0 ldr x0, 402003b8 - 40200360: 97ffff71 bl 40200124 - 40200364: f9400e60 ldr x0, [x19, #24] - 40200368: 97ffff7c bl 40200158 - 4020036c: 580001a0 ldr x0, 402003a0 - 40200370: 97ffff6d bl 40200124 - 40200374: d503205f wfe - 40200378: 17ffffff b 40200374 - 4020037c: 00000000 udf #0 - 40200380: 40205840 .word 0x40205840 - 40200384: 00000000 .word 0x00000000 - 40200388: 09000000 .word 0x09000000 - 4020038c: 00000000 .word 0x00000000 - 40200390: 402006a8 .word 0x402006a8 - 40200394: 00000000 .word 0x00000000 - 40200398: 402006c4 .word 0x402006c4 - 4020039c: 00000000 .word 0x00000000 - 402003a0: 402006e5 .word 0x402006e5 - 402003a4: 00000000 .word 0x00000000 - 402003a8: 402006cd .word 0x402006cd - 402003ac: 00000000 .word 0x00000000 - 402003b0: 402006d5 .word 0x402006d5 - 402003b4: 00000000 .word 0x00000000 - 402003b8: 402006dd .word 0x402006dd - 402003bc: 00000000 .word 0x00000000 +0000000040200308 : + 40200308: d51bd041 msr tpidr_el0, x1 + 4020030c: d2a80401 mov x1, #0x40200000 // #1075838976 + 40200310: f28b1001 movk x1, #0x5880 + 40200314: a9010c22 stp x2, x3, [x1, #16] + 40200318: a9021424 stp x4, x5, [x1, #32] + 4020031c: a9031c26 stp x6, x7, [x1, #48] + 40200320: a9042428 stp x8, x9, [x1, #64] + 40200324: a9052c2a stp x10, x11, [x1, #80] + 40200328: a906342c stp x12, x13, [x1, #96] + 4020032c: a9073c2e stp x14, x15, [x1, #112] + 40200330: a9084430 stp x16, x17, [x1, #128] + 40200334: a9094c32 stp x18, x19, [x1, #144] + 40200338: a90a5434 stp x20, x21, [x1, #160] + 4020033c: a90b5c36 stp x22, x23, [x1, #176] + 40200340: a90c6438 stp x24, x25, [x1, #192] + 40200344: a90d6c3a stp x26, x27, [x1, #208] + 40200348: a90e743c stp x28, x29, [x1, #224] + 4020034c: f900783e str x30, [x1, #240] + 40200350: d538d082 mrs x2, tpidr_el1 + 40200354: d53bd043 mrs x3, tpidr_el0 + 40200358: a9000c22 stp x2, x3, [x1] + 4020035c: 910003e2 mov x2, sp + 40200360: f9007c22 str x2, [x1, #248] + 40200364: f9008020 str x0, [x1, #256] + 40200368: d5384242 mrs x2, currentel + 4020036c: 927e0442 and x2, x2, #0xc + 40200370: f9008422 str x2, [x1, #264] + 40200374: d5385203 mrs x3, esr_el1 + 40200378: f9008823 str x3, [x1, #272] + 4020037c: d5384024 mrs x4, elr_el1 + 40200380: f9008c24 str x4, [x1, #280] + 40200384: d5384005 mrs x5, spsr_el1 + 40200388: f9009025 str x5, [x1, #288] + 4020038c: d35a7c66 ubfx x6, x3, #26, #6 + 40200390: f10088df cmp x6, #0x22 + 40200394: 540001e0 b.eq 402003d0 // b.none + 40200398: f100d0df cmp x6, #0x34 + 4020039c: 540001a0 b.eq 402003d0 // b.none + 402003a0: f100d4df cmp x6, #0x35 + 402003a4: 54000160 b.eq 402003d0 // b.none + 402003a8: f10080df cmp x6, #0x20 + 402003ac: 54000100 b.eq 402003cc // b.none + 402003b0: f10084df cmp x6, #0x21 + 402003b4: 540000c0 b.eq 402003cc // b.none + 402003b8: f10090df cmp x6, #0x24 + 402003bc: 54000080 b.eq 402003cc // b.none + 402003c0: f10094df cmp x6, #0x25 + 402003c4: 54000040 b.eq 402003cc // b.none + 402003c8: 14000005 b 402003dc + 402003cc: 37500083 tbnz w3, #10, 402003dc + 402003d0: d5386007 mrs x7, far_el1 + 402003d4: d2800028 mov x8, #0x1 // #1 + 402003d8: 14000003 b 402003e4 + 402003dc: d2800007 mov x7, #0x0 // #0 + 402003e0: d2800008 mov x8, #0x0 // #0 + 402003e4: a912a027 stp x7, x8, [x1, #296] + 402003e8: 580005c9 ldr x9, 402004a0 + 402003ec: f9009c29 str x9, [x1, #312] + 402003f0: d5033f9f dsb sy + 402003f4: aa0103f3 mov x19, x1 + 402003f8: 58000582 ldr x2, 402004a8 + 402003fc: 9100005f mov sp, x2 + 40200400: 58000580 ldr x0, 402004b0 + 40200404: 97ffff6c bl 402001b4 + 40200408: 58000580 ldr x0, 402004b8 + 4020040c: f9408261 ldr x1, [x19, #256] + 40200410: 94000017 bl 4020046c + 40200414: 58000560 ldr x0, 402004c0 + 40200418: f9408661 ldr x1, [x19, #264] + 4020041c: 94000014 bl 4020046c + 40200420: 58000540 ldr x0, 402004c8 + 40200424: f9408a61 ldr x1, [x19, #272] + 40200428: 94000011 bl 4020046c + 4020042c: 58000520 ldr x0, 402004d0 + 40200430: f9408e61 ldr x1, [x19, #280] + 40200434: 9400000e bl 4020046c + 40200438: 58000500 ldr x0, 402004d8 + 4020043c: f9409261 ldr x1, [x19, #288] + 40200440: 9400000b bl 4020046c + 40200444: 580004e0 ldr x0, 402004e0 + 40200448: f9409661 ldr x1, [x19, #296] + 4020044c: 94000008 bl 4020046c + 40200450: 580004c0 ldr x0, 402004e8 + 40200454: f9409a61 ldr x1, [x19, #304] + 40200458: 94000005 bl 4020046c + 4020045c: 580004a0 ldr x0, 402004f0 + 40200460: 97ffff55 bl 402001b4 + 40200464: d503205f wfe + 40200468: 17ffffff b 40200464 -00000000402003c0 : - 402003c0: a9bf7bfd stp x29, x30, [sp, #-16]! - 402003c4: 910003fd mov x29, sp - 402003c8: 8b010002 add x2, x0, x1 - 402003cc: 580007e3 ldr x3, 402004c8 - 402003d0: f9000062 str x2, [x3] - 402003d4: 580007e4 ldr x4, 402004d0 - 402003d8: eb04005f cmp x2, x4 - 402003dc: 54000209 b.ls 4020041c // b.plast - 402003e0: cb040045 sub x5, x2, x4 - 402003e4: d34cfca5 lsr x5, x5, #12 - 402003e8: f9000465 str x5, [x3, #8] - 402003ec: 91001ca6 add x6, x5, #0x7 - 402003f0: d343fcc6 lsr x6, x6, #3 - 402003f4: 91004067 add x7, x3, #0x10 - 402003f8: b4000086 cbz x6, 40200408 - 402003fc: 380014ff strb wzr, [x7], #1 - 40200400: d10004c6 sub x6, x6, #0x1 - 40200404: 17fffffd b 402003f8 - 40200408: 58000680 ldr x0, 402004d8 - 4020040c: 97ffff46 bl 40200124 - 40200410: aa0503e0 mov x0, x5 - 40200414: a8c17bfd ldp x29, x30, [sp], #16 - 40200418: d65f03c0 ret - 4020041c: f900047f str xzr, [x3, #8] - 40200420: d2800000 mov x0, #0x0 // #0 - 40200424: a8c17bfd ldp x29, x30, [sp], #16 - 40200428: d65f03c0 ret - -000000004020042c : - 4020042c: 580004e3 ldr x3, 402004c8 - 40200430: f9400062 ldr x2, [x3] - 40200434: f9400465 ldr x5, [x3, #8] - 40200438: b40002c5 cbz x5, 40200490 - 4020043c: 91004067 add x7, x3, #0x10 - 40200440: d2800008 mov x8, #0x0 // #0 - 40200444: eb05011f cmp x8, x5 - 40200448: 5400024a b.ge 40200490 // b.tcont - 4020044c: d343fd09 lsr x9, x8, #3 - 40200450: 9240090a and x10, x8, #0x7 - 40200454: 386968eb ldrb w11, [x7, x9] - 40200458: 5280002c mov w12, #0x1 // #1 - 4020045c: 1aca218c lsl w12, w12, w10 - 40200460: 6a0c017f tst w11, w12 - 40200464: 54000060 b.eq 40200470 // b.none - 40200468: 91000508 add x8, x8, #0x1 - 4020046c: 17fffff6 b 40200444 - 40200470: 2a0c016b orr w11, w11, w12 - 40200474: 382968eb strb w11, [x7, x9] - 40200478: 580002c4 ldr x4, 402004d0 - 4020047c: d374cd0d lsl x13, x8, #12 - 40200480: 8b0d0080 add x0, x4, x13 - 40200484: eb02001f cmp x0, x2 - 40200488: 5400004a b.ge 40200490 // b.tcont - 4020048c: d65f03c0 ret - 40200490: d2800000 mov x0, #0x0 // #0 - 40200494: d65f03c0 ret - -0000000040200498 : - 40200498: 580001c1 ldr x1, 402004d0 - 4020049c: eb01001f cmp x0, x1 - 402004a0: 540000e3 b.cc 402004bc // b.lo, b.ul, b.last - 402004a4: 58000123 ldr x3, 402004c8 - 402004a8: f9400062 ldr x2, [x3] - 402004ac: eb02001f cmp x0, x2 - 402004b0: 5400006a b.ge 402004bc // b.tcont - 402004b4: d2800000 mov x0, #0x0 // #0 - 402004b8: d65f03c0 ret - 402004bc: d2800020 mov x0, #0x1 // #1 - 402004c0: d65f03c0 ret - 402004c4: 00000000 udf #0 - 402004c8: 40207000 .word 0x40207000 +000000004020046c : + 4020046c: a9be7bfd stp x29, x30, [sp, #-32]! + 40200470: 910003fd mov x29, sp + 40200474: f9000bf4 str x20, [sp, #16] + 40200478: aa0103f4 mov x20, x1 + 4020047c: 97ffff4e bl 402001b4 + 40200480: aa1403e0 mov x0, x20 + 40200484: 97ffff59 bl 402001e8 + 40200488: 58000380 ldr x0, 402004f8 + 4020048c: 97ffff4a bl 402001b4 + 40200490: f9400bf4 ldr x20, [sp, #16] + 40200494: a8c27bfd ldp x29, x30, [sp], #32 + 40200498: d65f03c0 ret + 4020049c: 00000000 udf #0 + 402004a0: 50415254 .word 0x50415254 + 402004a4: 314d5246 .word 0x314d5246 + 402004a8: 40205800 .word 0x40205800 + 402004ac: 00000000 .word 0x00000000 + 402004b0: 40200900 .word 0x40200900 + 402004b4: 00000000 .word 0x00000000 + 402004b8: 4020091c .word 0x4020091c + 402004bc: 00000000 .word 0x00000000 + 402004c0: 40200925 .word 0x40200925 + 402004c4: 00000000 .word 0x00000000 + 402004c8: 40200934 .word 0x40200934 402004cc: 00000000 .word 0x00000000 - 402004d0: 40208000 .word 0x40208000 + 402004d0: 4020093c .word 0x4020093c 402004d4: 00000000 .word 0x00000000 - 402004d8: 402006e8 .word 0x402006e8 + 402004d8: 40200944 .word 0x40200944 402004dc: 00000000 .word 0x00000000 + 402004e0: 4020094d .word 0x4020094d + 402004e4: 00000000 .word 0x00000000 + 402004e8: 40200955 .word 0x40200955 + 402004ec: 00000000 .word 0x00000000 + 402004f0: 40200963 .word 0x40200963 + 402004f4: 00000000 .word 0x00000000 + 402004f8: 40200981 .word 0x40200981 + 402004fc: 00000000 .word 0x00000000 + +0000000040200500 : + 40200500: a9bf7bfd stp x29, x30, [sp, #-16]! + 40200504: 910003fd mov x29, sp + 40200508: ab010002 adds x2, x0, x1 + 4020050c: 540003a2 b.cs 40200580 // b.hs, b.nlast + 40200510: 58000904 ldr x4, 40200630 + 40200514: eb04005f cmp x2, x4 + 40200518: 54000341 b.ne 40200580 // b.any + 4020051c: 580008e4 ldr x4, 40200638 + 40200520: eb04005f cmp x2, x4 + 40200524: 540002e9 b.ls 40200580 // b.plast + 40200528: cb040045 sub x5, x2, x4 + 4020052c: d34cfca5 lsr x5, x5, #12 + 40200530: 91001ca6 add x6, x5, #0x7 + 40200534: d343fcc6 lsr x6, x6, #3 + 40200538: 910080c7 add x7, x6, #0x20 + 4020053c: f14004ff cmp x7, #0x1, lsl #12 + 40200540: 54000208 b.hi 40200580 // b.pmore + 40200544: 580007e3 ldr x3, 40200640 + 40200548: f9000062 str x2, [x3] + 4020054c: f9000465 str x5, [x3, #8] + 40200550: f900087f str xzr, [x3, #16] + 40200554: f9000c7f str xzr, [x3, #24] + 40200558: 91008067 add x7, x3, #0x20 + 4020055c: b4000086 cbz x6, 4020056c + 40200560: 380014ff strb wzr, [x7], #1 + 40200564: d10004c6 sub x6, x6, #0x1 + 40200568: 17fffffd b 4020055c + 4020056c: 580006e0 ldr x0, 40200648 + 40200570: 97ffff11 bl 402001b4 + 40200574: aa0503e0 mov x0, x5 + 40200578: a8c17bfd ldp x29, x30, [sp], #16 + 4020057c: d65f03c0 ret + 40200580: d2800000 mov x0, #0x0 // #0 + 40200584: a8c17bfd ldp x29, x30, [sp], #16 + 40200588: d65f03c0 ret + +000000004020058c : + 4020058c: 580005a3 ldr x3, 40200640 + 40200590: f9400062 ldr x2, [x3] + 40200594: f9400465 ldr x5, [x3, #8] + 40200598: b4000305 cbz x5, 402005f8 + 4020059c: f9400868 ldr x8, [x3, #16] + 402005a0: 91008067 add x7, x3, #0x20 + 402005a4: eb05011f cmp x8, x5 + 402005a8: 54000282 b.cs 402005f8 // b.hs, b.nlast + 402005ac: d343fd09 lsr x9, x8, #3 + 402005b0: 9240090a and x10, x8, #0x7 + 402005b4: 386968eb ldrb w11, [x7, x9] + 402005b8: 5280002c mov w12, #0x1 // #1 + 402005bc: 1aca218c lsl w12, w12, w10 + 402005c0: 6a0c017f tst w11, w12 + 402005c4: 54000060 b.eq 402005d0 // b.none + 402005c8: 91000508 add x8, x8, #0x1 + 402005cc: 17fffff6 b 402005a4 + 402005d0: 58000344 ldr x4, 40200638 + 402005d4: d374cd0d lsl x13, x8, #12 + 402005d8: 8b0d0080 add x0, x4, x13 + 402005dc: eb02001f cmp x0, x2 + 402005e0: 540000c2 b.cs 402005f8 // b.hs, b.nlast + 402005e4: 2a0c016b orr w11, w11, w12 + 402005e8: 382968eb strb w11, [x7, x9] + 402005ec: 9100050e add x14, x8, #0x1 + 402005f0: f900086e str x14, [x3, #16] + 402005f4: d65f03c0 ret + 402005f8: d2800000 mov x0, #0x0 // #0 + 402005fc: d65f03c0 ret + +0000000040200600 : + 40200600: 580001c1 ldr x1, 40200638 + 40200604: eb01001f cmp x0, x1 + 40200608: 540000e3 b.cc 40200624 // b.lo, b.ul, b.last + 4020060c: 580001a3 ldr x3, 40200640 + 40200610: f9400062 ldr x2, [x3] + 40200614: eb02001f cmp x0, x2 + 40200618: 54000062 b.cs 40200624 // b.hs, b.nlast + 4020061c: d2800000 mov x0, #0x0 // #0 + 40200620: d65f03c0 ret + 40200624: d2800020 mov x0, #0x1 // #1 + 40200628: d65f03c0 ret + 4020062c: 00000000 udf #0 + 40200630: 48000000 .word 0x48000000 + 40200634: 00000000 .word 0x00000000 + 40200638: 40208000 .word 0x40208000 + 4020063c: 00000000 .word 0x00000000 + 40200640: 40207000 .word 0x40207000 + 40200644: 00000000 .word 0x00000000 + 40200648: 40200988 .word 0x40200988 + 4020064c: 00000000 .word 0x00000000 -00000000402004e0 : - 402004e0: a9bf7bfd stp x29, x30, [sp, #-16]! - 402004e4: 910003fd mov x29, sp - 402004e8: 58000600 ldr x0, 402005a8 - 402004ec: 52800001 mov w1, #0x0 // #0 - 402004f0: b9000001 str w1, [x0] - 402004f4: 52800021 mov w1, #0x1 // #1 - 402004f8: b9000401 str w1, [x0, #4] - 402004fc: d2800021 mov x1, #0x1 // #1 - 40200500: f9000401 str x1, [x0, #8] - 40200504: 12800001 mov w1, #0xffffffff // #-1 - 40200508: b9001001 str w1, [x0, #16] - 4020050c: b9001401 str w1, [x0, #20] - 40200510: 58000501 ldr x1, 402005b0 - 40200514: f9000c01 str x1, [x0, #24] - 40200518: 58000501 ldr x1, 402005b8 - 4020051c: f9001001 str x1, [x0, #32] - 40200520: 52800021 mov w1, #0x1 // #1 - 40200524: b9002801 str w1, [x0, #40] - 40200528: 52800001 mov w1, #0x0 // #0 - 4020052c: b9002c01 str w1, [x0, #44] - 40200530: 70000f81 adr x1, 40200723 - 40200534: a9400c22 ldp x2, x3, [x1] - 40200538: a9411424 ldp x4, x5, [x1, #16] - 4020053c: a9030c02 stp x2, x3, [x0, #48] - 40200540: a9041404 stp x4, x5, [x0, #64] - 40200544: 580003e0 ldr x0, 402005c0 - 40200548: 97fffef7 bl 40200124 - 4020054c: a8c17bfd ldp x29, x30, [sp], #16 - 40200550: d65f03c0 ret +0000000040200650 : + 40200650: a9bf7bfd stp x29, x30, [sp, #-16]! + 40200654: 910003fd mov x29, sp + 40200658: 58000640 ldr x0, 40200720 + 4020065c: 52800001 mov w1, #0x0 // #0 + 40200660: b9000001 str w1, [x0] + 40200664: 52800021 mov w1, #0x1 // #1 + 40200668: b9000401 str w1, [x0, #4] + 4020066c: d2800021 mov x1, #0x1 // #1 + 40200670: f9000401 str x1, [x0, #8] + 40200674: 52800021 mov w1, #0x1 // #1 + 40200678: b9001001 str w1, [x0, #16] + 4020067c: 12800001 mov w1, #0xffffffff // #-1 + 40200680: b9001401 str w1, [x0, #20] + 40200684: 58000521 ldr x1, 40200728 + 40200688: f9000c01 str x1, [x0, #24] + 4020068c: 58000521 ldr x1, 40200730 + 40200690: f9001001 str x1, [x0, #32] + 40200694: 52800021 mov w1, #0x1 // #1 + 40200698: b9002801 str w1, [x0, #40] + 4020069c: 52800001 mov w1, #0x0 // #0 + 402006a0: b9002c01 str w1, [x0, #44] + 402006a4: 700018e1 adr x1, 402009c3 + 402006a8: a9400c22 ldp x2, x3, [x1] + 402006ac: a9411424 ldp x4, x5, [x1, #16] + 402006b0: a9030c02 stp x2, x3, [x0, #48] + 402006b4: a9041404 stp x4, x5, [x0, #64] + 402006b8: 58000400 ldr x0, 40200738 + 402006bc: 97fffebe bl 402001b4 + 402006c0: a8c17bfd ldp x29, x30, [sp], #16 + 402006c4: d65f03c0 ret -0000000040200554 : - 40200554: b9402804 ldr w4, [x0, #40] - 40200558: 7100049f cmp w4, #0x1 - 4020055c: 54000221 b.ne 402005a0 // b.any - 40200560: b9401404 ldr w4, [x0, #20] - 40200564: 0a010085 and w5, w4, w1 - 40200568: 6b0100bf cmp w5, w1 - 4020056c: 540001a1 b.ne 402005a0 // b.any - 40200570: f9400c04 ldr x4, [x0, #24] - 40200574: eb04005f cmp x2, x4 - 40200578: 54000143 b.cc 402005a0 // b.lo, b.ul, b.last - 4020057c: 8b030045 add x5, x2, x3 - 40200580: eb0200bf cmp x5, x2 - 40200584: 540000e3 b.cc 402005a0 // b.lo, b.ul, b.last - 40200588: f9401006 ldr x6, [x0, #32] - 4020058c: 8b060087 add x7, x4, x6 - 40200590: eb0700bf cmp x5, x7 - 40200594: 54000068 b.hi 402005a0 // b.pmore - 40200598: d2800020 mov x0, #0x1 // #1 - 4020059c: d65f03c0 ret - 402005a0: d2800000 mov x0, #0x0 // #0 - 402005a4: d65f03c0 ret - 402005a8: 40206000 .word 0x40206000 - 402005ac: 00000000 .word 0x00000000 - 402005b0: 40208000 .word 0x40208000 - 402005b4: 00000000 .word 0x00000000 - 402005b8: 07df8000 .word 0x07df8000 - 402005bc: 00000000 .word 0x00000000 - 402005c0: 40200708 .word 0x40200708 - 402005c4: 00000000 .word 0x00000000 +00000000402006c8 : + 402006c8: b9402804 ldr w4, [x0, #40] + 402006cc: 7100049f cmp w4, #0x1 + 402006d0: 54000221 b.ne 40200714 // b.any + 402006d4: b9401404 ldr w4, [x0, #20] + 402006d8: 0a010085 and w5, w4, w1 + 402006dc: 6b0100bf cmp w5, w1 + 402006e0: 540001a1 b.ne 40200714 // b.any + 402006e4: f9400c04 ldr x4, [x0, #24] + 402006e8: eb04005f cmp x2, x4 + 402006ec: 54000143 b.cc 40200714 // b.lo, b.ul, b.last + 402006f0: 8b030045 add x5, x2, x3 + 402006f4: eb0200bf cmp x5, x2 + 402006f8: 540000e3 b.cc 40200714 // b.lo, b.ul, b.last + 402006fc: f9401006 ldr x6, [x0, #32] + 40200700: 8b060087 add x7, x4, x6 + 40200704: eb0700bf cmp x5, x7 + 40200708: 54000068 b.hi 40200714 // b.pmore + 4020070c: d2800020 mov x0, #0x1 // #1 + 40200710: d65f03c0 ret + 40200714: d2800000 mov x0, #0x0 // #0 + 40200718: d65f03c0 ret + 4020071c: 00000000 udf #0 + 40200720: 40206000 .word 0x40206000 + 40200724: 00000000 .word 0x00000000 + 40200728: 40208000 .word 0x40208000 + 4020072c: 00000000 .word 0x00000000 + 40200730: 07df8000 .word 0x07df8000 + 40200734: 00000000 .word 0x00000000 + 40200738: 402009a8 .word 0x402009a8 + 4020073c: 00000000 .word 0x00000000 Disassembly of section .vectors: 0000000040201000 : - 40201000: d2800000 mov x0, #0x0 // #0 - 40201004: 17fffc89 b 40200228 - 40201008: d503201f nop + 40201000: d518d080 msr tpidr_el1, x0 + 40201004: d2800000 mov x0, #0x0 // #0 + 40201008: 17fffcc0 b 40200308 4020100c: d503201f nop 40201010: d503201f nop 40201014: d503201f nop @@ -429,9 +525,9 @@ Disassembly of section .vectors: 40201074: d503201f nop 40201078: d503201f nop 4020107c: d503201f nop - 40201080: d2800020 mov x0, #0x1 // #1 - 40201084: 17fffc69 b 40200228 - 40201088: d503201f nop + 40201080: d518d080 msr tpidr_el1, x0 + 40201084: d2800020 mov x0, #0x1 // #1 + 40201088: 17fffca0 b 40200308 4020108c: d503201f nop 40201090: d503201f nop 40201094: d503201f nop @@ -461,9 +557,9 @@ Disassembly of section .vectors: 402010f4: d503201f nop 402010f8: d503201f nop 402010fc: d503201f nop - 40201100: d2800040 mov x0, #0x2 // #2 - 40201104: 17fffc49 b 40200228 - 40201108: d503201f nop + 40201100: d518d080 msr tpidr_el1, x0 + 40201104: d2800040 mov x0, #0x2 // #2 + 40201108: 17fffc80 b 40200308 4020110c: d503201f nop 40201110: d503201f nop 40201114: d503201f nop @@ -493,9 +589,9 @@ Disassembly of section .vectors: 40201174: d503201f nop 40201178: d503201f nop 4020117c: d503201f nop - 40201180: d2800060 mov x0, #0x3 // #3 - 40201184: 17fffc29 b 40200228 - 40201188: d503201f nop + 40201180: d518d080 msr tpidr_el1, x0 + 40201184: d2800060 mov x0, #0x3 // #3 + 40201188: 17fffc60 b 40200308 4020118c: d503201f nop 40201190: d503201f nop 40201194: d503201f nop @@ -525,9 +621,9 @@ Disassembly of section .vectors: 402011f4: d503201f nop 402011f8: d503201f nop 402011fc: d503201f nop - 40201200: d2800080 mov x0, #0x4 // #4 - 40201204: 17fffc09 b 40200228 - 40201208: d503201f nop + 40201200: d518d080 msr tpidr_el1, x0 + 40201204: d2800080 mov x0, #0x4 // #4 + 40201208: 17fffc40 b 40200308 4020120c: d503201f nop 40201210: d503201f nop 40201214: d503201f nop @@ -557,9 +653,9 @@ Disassembly of section .vectors: 40201274: d503201f nop 40201278: d503201f nop 4020127c: d503201f nop - 40201280: d28000a0 mov x0, #0x5 // #5 - 40201284: 17fffbe9 b 40200228 - 40201288: d503201f nop + 40201280: d518d080 msr tpidr_el1, x0 + 40201284: d28000a0 mov x0, #0x5 // #5 + 40201288: 17fffc20 b 40200308 4020128c: d503201f nop 40201290: d503201f nop 40201294: d503201f nop @@ -589,9 +685,9 @@ Disassembly of section .vectors: 402012f4: d503201f nop 402012f8: d503201f nop 402012fc: d503201f nop - 40201300: d28000c0 mov x0, #0x6 // #6 - 40201304: 17fffbc9 b 40200228 - 40201308: d503201f nop + 40201300: d518d080 msr tpidr_el1, x0 + 40201304: d28000c0 mov x0, #0x6 // #6 + 40201308: 17fffc00 b 40200308 4020130c: d503201f nop 40201310: d503201f nop 40201314: d503201f nop @@ -621,9 +717,9 @@ Disassembly of section .vectors: 40201374: d503201f nop 40201378: d503201f nop 4020137c: d503201f nop - 40201380: d28000e0 mov x0, #0x7 // #7 - 40201384: 17fffba9 b 40200228 - 40201388: d503201f nop + 40201380: d518d080 msr tpidr_el1, x0 + 40201384: d28000e0 mov x0, #0x7 // #7 + 40201388: 17fffbe0 b 40200308 4020138c: d503201f nop 40201390: d503201f nop 40201394: d503201f nop @@ -653,9 +749,9 @@ Disassembly of section .vectors: 402013f4: d503201f nop 402013f8: d503201f nop 402013fc: d503201f nop - 40201400: d2800100 mov x0, #0x8 // #8 - 40201404: 17fffb89 b 40200228 - 40201408: d503201f nop + 40201400: d518d080 msr tpidr_el1, x0 + 40201404: d2800100 mov x0, #0x8 // #8 + 40201408: 17fffbc0 b 40200308 4020140c: d503201f nop 40201410: d503201f nop 40201414: d503201f nop @@ -685,9 +781,9 @@ Disassembly of section .vectors: 40201474: d503201f nop 40201478: d503201f nop 4020147c: d503201f nop - 40201480: d2800120 mov x0, #0x9 // #9 - 40201484: 17fffb69 b 40200228 - 40201488: d503201f nop + 40201480: d518d080 msr tpidr_el1, x0 + 40201484: d2800120 mov x0, #0x9 // #9 + 40201488: 17fffba0 b 40200308 4020148c: d503201f nop 40201490: d503201f nop 40201494: d503201f nop @@ -717,9 +813,9 @@ Disassembly of section .vectors: 402014f4: d503201f nop 402014f8: d503201f nop 402014fc: d503201f nop - 40201500: d2800140 mov x0, #0xa // #10 - 40201504: 17fffb49 b 40200228 - 40201508: d503201f nop + 40201500: d518d080 msr tpidr_el1, x0 + 40201504: d2800140 mov x0, #0xa // #10 + 40201508: 17fffb80 b 40200308 4020150c: d503201f nop 40201510: d503201f nop 40201514: d503201f nop @@ -749,9 +845,9 @@ Disassembly of section .vectors: 40201574: d503201f nop 40201578: d503201f nop 4020157c: d503201f nop - 40201580: d2800160 mov x0, #0xb // #11 - 40201584: 17fffb29 b 40200228 - 40201588: d503201f nop + 40201580: d518d080 msr tpidr_el1, x0 + 40201584: d2800160 mov x0, #0xb // #11 + 40201588: 17fffb60 b 40200308 4020158c: d503201f nop 40201590: d503201f nop 40201594: d503201f nop @@ -781,9 +877,9 @@ Disassembly of section .vectors: 402015f4: d503201f nop 402015f8: d503201f nop 402015fc: d503201f nop - 40201600: d2800180 mov x0, #0xc // #12 - 40201604: 17fffb09 b 40200228 - 40201608: d503201f nop + 40201600: d518d080 msr tpidr_el1, x0 + 40201604: d2800180 mov x0, #0xc // #12 + 40201608: 17fffb40 b 40200308 4020160c: d503201f nop 40201610: d503201f nop 40201614: d503201f nop @@ -813,9 +909,9 @@ Disassembly of section .vectors: 40201674: d503201f nop 40201678: d503201f nop 4020167c: d503201f nop - 40201680: d28001a0 mov x0, #0xd // #13 - 40201684: 17fffae9 b 40200228 - 40201688: d503201f nop + 40201680: d518d080 msr tpidr_el1, x0 + 40201684: d28001a0 mov x0, #0xd // #13 + 40201688: 17fffb20 b 40200308 4020168c: d503201f nop 40201690: d503201f nop 40201694: d503201f nop @@ -845,9 +941,9 @@ Disassembly of section .vectors: 402016f4: d503201f nop 402016f8: d503201f nop 402016fc: d503201f nop - 40201700: d28001c0 mov x0, #0xe // #14 - 40201704: 17fffac9 b 40200228 - 40201708: d503201f nop + 40201700: d518d080 msr tpidr_el1, x0 + 40201704: d28001c0 mov x0, #0xe // #14 + 40201708: 17fffb00 b 40200308 4020170c: d503201f nop 40201710: d503201f nop 40201714: d503201f nop @@ -877,9 +973,9 @@ Disassembly of section .vectors: 40201774: d503201f nop 40201778: d503201f nop 4020177c: d503201f nop - 40201780: d28001e0 mov x0, #0xf // #15 - 40201784: 17fffaa9 b 40200228 - 40201788: d503201f nop + 40201780: d518d080 msr tpidr_el1, x0 + 40201784: d28001e0 mov x0, #0xf // #15 + 40201788: 17fffae0 b 40200308 4020178c: d503201f nop 40201790: d503201f nop 40201794: d503201f nop diff --git a/physics.manifest b/physics.manifest index 2077696..29f83e1 100644 --- a/physics.manifest +++ b/physics.manifest @@ -4,22 +4,22 @@ "entry_point": "0x40200000", "size_bytes": 6144, "total_words": 1536, - "sha256": "4ab2f5abc083b1c38aa15c136a94837f0de706eb86a53915b32a27b7a516422e", + "sha256": "4b22a08cd408b5cf90258af13b833b97a5211b4d2480fa74be357228f4aed3bd", "vector_base_address": "0x40201000", "vector_table_span_bytes": 2048, "vector_slots": 16, "vector_slot_stride_bytes": 128, "provenance_anchor": "f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5", "accounting": { - "code_bytes": 1480, - "rodata_bytes": 384, - "canonical_padding_bytes": 2232, + "code_bytes": 1856, + "rodata_bytes": 680, + "canonical_padding_bytes": 1560, "vector_table_bytes": 2048, "total_bytes": 6144, "discrepancy_bytes": 0 }, "anti_bloat": { - "text_bytes": 1480, + "text_bytes": 1856, "text_max_allowed_bytes": 32768, "total_image_bytes": 6144, "total_image_max_allowed_bytes": 65536, diff --git a/physics.s b/physics.s index 1930a18..fc0ff6e 100644 --- a/physics.s +++ b/physics.s @@ -22,65 +22,115 @@ _physics_entry: _start: /* * 1. Validate Verification Cookie in x2: - * Must match 0x5048595349435330 (ASCII 'PHYSICS0'). + * Must match strictly 0x5048595349435330 (ASCII 'PHYSICS0'). */ ldr x3, =0x5048595349435330 cmp x2, x3 b.ne .Lpanic_bad_cookie + /* + * 1b. Validate payload size in x1 against PHYSICS_ENTRY_ABI (6144 bytes). + */ + ldr x3, =6144 + cmp x1, x3 + b.ne .Lpanic_bad_payload_size + /* * 2. Validate Boot Descriptor Pointer in x0: - * Must match 0x401FE000. + * Must match strictly 0x401FE000. */ ldr x3, =0x401FE000 cmp x0, x3 b.ne .Lpanic_bad_descriptor /* - * 3. Validate Descriptor Contents (Ingress Validation Boundary): - * [x0, #0] : RAM Base - * [x0, #8] : RAM Size - * [x0, #16] : UART MMIO Base + * 3. Validate Descriptor Structural Header: + * +0x00: magic (u64 == 0x4D424453435F3031, 'MBDSC_01') + * +0x08: version (u32 == 1) + * +0x0C: length (u32 == 64) + * +0x10: flags_reserved (u64 == 0) + */ + ldr x4, [x0, #0] + ldr x5, =0x4D424453435F3031 + cmp x4, x5 + b.ne .Lpanic_bad_desc_magic + + ldr w4, [x0, #8] + cmp w4, #1 + b.ne .Lpanic_bad_desc_version + + ldr w4, [x0, #12] + cmp w4, #64 + b.ne .Lpanic_bad_desc_length + + ldr x4, [x0, #16] + cbnz x4, .Lpanic_bad_desc_reserved + + /* + * 4. Validate Machine Profile (Ingress Authority Anti-Expansion Boundary): + * For CONTRACT-QEMU-VIRT-AARCH64-M2, require EXACT machine profile matches: + * +0x18: ram_base == 0x40000000 + * +0x20: ram_size == 0x08000000 (128 MiB, DRAM_END strictly 0x48000000) + * +0x28: uart_base == 0x09000000 (PL011 MMIO) + * +0x30: physics_base == 0x40200000 + * +0x38: physics_size == 6144 */ - ldr x19, [x0, #0] /* x19 = RAM Base (e.g. 0x40000000) */ - ldr x20, [x0, #8] /* x20 = RAM Size (e.g. 0x08000000) */ - ldr x21, [x0, #16] /* x21 = UART MMIO Base (0x09000000) */ + ldr x19, [x0, #24] /* x19 = ram_base */ + ldr x5, =0x40000000 + cmp x19, x5 + b.ne .Lpanic_ingress_corrupt - /* Check RAM Size non-zero */ - cbz x20, .Lpanic_ingress_corrupt + ldr x20, [x0, #32] /* x20 = ram_size */ + ldr x5, =0x08000000 + cmp x20, x5 + b.ne .Lpanic_ingress_corrupt - /* Check arithmetic overflow: RAM Base + RAM Size */ - add x4, x19, x20 - cmp x4, x19 - b.ls .Lpanic_ingress_corrupt /* Overflowed */ + ldr x21, [x0, #40] /* x21 = uart_base */ + ldr x5, =0x09000000 + cmp x21, x5 + b.ne .Lpanic_ingress_corrupt - /* Check Physics Image Containment: 0x40200000 >= RAM Base && 0x40208000 <= RAM End */ + ldr x22, [x0, #48] /* x22 = physics_base */ ldr x5, =0x40200000 - cmp x5, x19 - b.lo .Lpanic_ingress_corrupt - ldr x6, =0x40208000 - cmp x6, x4 - b.hi .Lpanic_ingress_corrupt - - /* Check UART MMIO Base: strictly 0x09000000 on QEMU virt */ - ldr x7, =0x09000000 - cmp x21, x7 + cmp x22, x5 + b.ne .Lpanic_ingress_corrupt + + ldr x23, [x0, #56] /* x23 = physics_size */ + ldr x5, =6144 + cmp x23, x5 b.ne .Lpanic_ingress_corrupt /* - * 4. Copy Validated Ingress Data to PHYSICS_BOOT_STATE @ 0x40205800: + * 5. Copy Validated Ingress Data to PHYSICS_BOOT_STATE @ 0x40205800: + * Copy all 64 bytes (8 x 64-bit words) from [x0] to [0x40205800]. */ ldr x8, =0x40205800 - str x19, [x8, #0] /* +0: RAM Base */ - str x20, [x8, #8] /* +8: RAM Size */ - str x21, [x8, #16] /* +16: UART MMIO Base */ + ldp x4, x5, [x0, #0] + stp x4, x5, [x8, #0] + ldp x4, x5, [x0, #16] + stp x4, x5, [x8, #16] + ldp x4, x5, [x0, #32] + stp x4, x5, [x8, #32] + ldp x4, x5, [x0, #48] + stp x4, x5, [x8, #48] + /* + * 6. Contract-Driven Exception Level Verification (Item 6): + * For CONTRACT-QEMU-VIRT-AARCH64-M2, entry level MUST be strictly EL1 (0x04). + */ mrs x9, CurrentEL and x9, x9, #0x0C - str x9, [x8, #24] /* +24: Ingress CurrentEL */ + cmp x9, #0x04 + b.ne .Lpanic_uncontracted_el /* - * 5. Switch to Dedicated Kernel Stack: + * Record the verified CurrentEL in the PHYSICS_BOOT_STATE entry record + * (+0x40), outside the 64-byte descriptor copy at +0x00..+0x3F. + */ + str x9, [x8, #0x40] + + /* + * 7. Switch to Dedicated Kernel Stack: * SP = 0x40205800 (growing downward toward 0x40201800, 16 KiB span). * Zero x0 to abandon Atlas scratchpad pointer. */ @@ -89,7 +139,7 @@ _start: mov x0, #0 /* - * 6. Emit Initial Diagnostics: + * 8. Emit Diagnostic Checkpoints: */ ldr x0, =msg_awaken bl print_string @@ -97,48 +147,37 @@ _start: ldr x0, =msg_ingress_valid bl print_string + ldr x0, =msg_entry_el1_verified + bl print_string + /* - * 7. Contract-Driven Exception Level & VBAR Setup: - * If CurrentEL == 0x04 (EL1): msr vbar_el1, x1 - * If CurrentEL == 0x08 (EL2): msr vbar_el2, x1 - * Else: panic uncontracted EL + * 9. Install Exception Vector Table: */ ldr x1, =vector_table - cmp x9, #0x04 - b.eq .Linstall_vbar_el1 - cmp x9, #0x08 - b.eq .Linstall_vbar_el2 - b .Lpanic_uncontracted_el - -.Linstall_vbar_el1: msr vbar_el1, x1 isb - b .Lvbar_done - -.Linstall_vbar_el2: - msr vbar_el2, x1 - isb -.Lvbar_done: ldr x0, =msg_vbar_installed bl print_string /* - * 8. Initialize Physical Frame Authority: - * init_frame_authority(ram_base=x19, ram_size=x20) + * 10. Initialize Physical Frame Authority: + * init_frame_authority(ram_base=0x40000000, ram_size=0x08000000) */ - mov x0, x19 - mov x1, x20 + ldr x8, =0x40205800 + ldr x0, [x8, #24] /* ram_base from PHYSICS-owned copy */ + ldr x1, [x8, #32] /* ram_size from PHYSICS-owned copy */ bl init_frame_authority + cbz x0, .Lpanic_frame_authority /* - * 9. Initialize Root Capability (CAP_ROOT): - * init_root_capability() + * 11. Initialize Root Capability (CAP_ROOT): + * init_root_capability() */ bl init_root_capability /* - * 10. Normal Boot Milestone Complete: + * 12. Normal Boot Milestone Complete: * Emit "PHYSICS: QUIESCENT_READY\n" and enter wfe loop. */ ldr x0, =msg_quiescent_ready @@ -152,59 +191,87 @@ _start: * Fail-Closed Panic Traps */ .Lpanic_bad_cookie: - ldr x20, =0x09000000 ldr x0, =msg_panic_cookie bl print_string b .Lquiescent_halt .Lpanic_bad_descriptor: - ldr x20, =0x09000000 ldr x0, =msg_panic_desc bl print_string b .Lquiescent_halt +.Lpanic_bad_desc_magic: + ldr x0, =msg_panic_desc_magic + bl print_string + b .Lquiescent_halt + +.Lpanic_bad_desc_version: + ldr x0, =msg_panic_desc_version + bl print_string + b .Lquiescent_halt + +.Lpanic_bad_desc_length: + ldr x0, =msg_panic_desc_length + bl print_string + b .Lquiescent_halt + +.Lpanic_bad_desc_reserved: + ldr x0, =msg_panic_desc_reserved + bl print_string + b .Lquiescent_halt + .Lpanic_ingress_corrupt: - ldr x20, =0x09000000 ldr x0, =msg_panic_ingress bl print_string b .Lquiescent_halt +.Lpanic_bad_payload_size: + ldr x0, =msg_panic_payload_size + bl print_string + b .Lquiescent_halt + +.Lpanic_frame_authority: + ldr x0, =msg_panic_frame_auth + bl print_string + b .Lquiescent_halt + .Lpanic_uncontracted_el: - ldr x20, =0x09000000 ldr x0, =msg_panic_el bl print_string b .Lquiescent_halt /* * Polled UART String Routines - * Uses MMIO base 0x09000000 (PL011 UART) + * Uses MMIO base 0x09000000 (PL011 UART). + * Clobbers only x0, x2 and x16 (print_string also x1). Callee-saved + * registers x19-x28 are never touched, so callers may keep state there. */ print_string: - ldr x20, =0x09000000 + ldr x16, =0x09000000 .Lprint_str_loop: ldrb w1, [x0], #1 cbz w1, .Lprint_str_ret .Lpoll_txff: - ldr w2, [x20, #24] /* UART Flag Register (FR) */ + ldr w2, [x16, #24] /* UART Flag Register (FR) */ tbnz w2, #5, .Lpoll_txff /* Wait if TXFF (bit 5) is set */ - str w1, [x20, #0] /* UART Data Register (DR) */ + str w1, [x16, #0] /* UART Data Register (DR) */ b .Lprint_str_loop .Lprint_str_ret: ret print_char: - ldr x20, =0x09000000 + ldr x16, =0x09000000 .Lpoll_char: - ldr w2, [x20, #24] + ldr w2, [x16, #24] tbnz w2, #5, .Lpoll_char - str w0, [x20, #0] + str w0, [x16, #0] ret print_hex64: /* Prints 64-bit value in x0 as 16 hex digits with '0x' prefix */ stp x29, x30, [sp, #-32]! mov x29, sp - str x19, [sp, #16] + stp x19, x20, [sp, #16] mov x19, x0 @@ -215,22 +282,22 @@ print_hex64: bl print_char /* Print 16 nibbles from MSB to LSB */ - mov w1, #60 + mov w20, #60 .Lhex_loop: - lsr x2, x19, x1 + lsr x2, x19, x20 and w2, w2, #0x0F cmp w2, #10 - blt .Lhex_digit + b.lt .Lhex_digit add w0, w2, #('a' - 10) b .Lhex_out .Lhex_digit: add w0, w2, #'0' .Lhex_out: bl print_char - subs w1, w1, #4 - bge .Lhex_loop + subs w20, w20, #4 + b.ge .Lhex_loop - ldr x19, [sp, #16] + ldp x19, x20, [sp, #16] ldp x29, x30, [sp], #32 ret @@ -240,6 +307,8 @@ msg_awaken: .asciz "PHYSICS: AWAKEN\n" msg_ingress_valid: .asciz "PHYSICS: INGRESS_VALID\n" +msg_entry_el1_verified: + .asciz "PHYSICS: ENTRY_EL1_VERIFIED\n" msg_vbar_installed: .asciz "PHYSICS: VBAR_INSTALLED\n" msg_quiescent_ready: @@ -249,7 +318,19 @@ msg_panic_cookie: .asciz "PHYSICS: PANIC_BAD_COOKIE\n" msg_panic_desc: .asciz "PHYSICS: PANIC_BAD_DESCRIPTOR_PTR\n" +msg_panic_desc_magic: + .asciz "PHYSICS: PANIC_BAD_DESC_MAGIC\n" +msg_panic_desc_version: + .asciz "PHYSICS: PANIC_BAD_DESC_VERSION\n" +msg_panic_desc_length: + .asciz "PHYSICS: PANIC_BAD_DESC_LENGTH\n" +msg_panic_desc_reserved: + .asciz "PHYSICS: PANIC_BAD_DESC_RESERVED\n" msg_panic_ingress: .asciz "PHYSICS: PANIC_INGRESS_CORRUPT\n" +msg_panic_payload_size: + .asciz "PHYSICS: PANIC_BAD_PAYLOAD_SIZE\n" +msg_panic_frame_auth: + .asciz "PHYSICS: PANIC_FRAME_AUTHORITY\n" msg_panic_el: .asciz "PHYSICS: PANIC_UNCONTRACTED_EL\n" diff --git a/physics.sha256 b/physics.sha256 index a0d0018..0b7f6a9 100644 --- a/physics.sha256 +++ b/physics.sha256 @@ -1 +1 @@ -4ab2f5abc083b1c38aa15c136a94837f0de706eb86a53915b32a27b7a516422e physics.bin +4b22a08cd408b5cf90258af13b833b97a5211b4d2480fa74be357228f4aed3bd physics.bin diff --git a/physics_pin.inc b/physics_pin.inc new file mode 100644 index 0000000..232df3a --- /dev/null +++ b/physics_pin.inc @@ -0,0 +1,4 @@ +/* Generated by m2_build.py: SHA-256 of the pinned physics.bin. */ +/* 4b22a08cd408b5cf90258af13b833b97a5211b4d2480fa74be357228f4aed3bd */ + .word 0x4b22a08c, 0xd408b5cf, 0x90258af1, 0x3b833b97 + .word 0xa5211b4d, 0x2480fa74, 0xbe357228, 0xf4aed3bd diff --git a/qualification_receipt.json b/qualification_receipt.json index 5b61883..c8a71c7 100644 --- a/qualification_receipt.json +++ b/qualification_receipt.json @@ -1,22 +1,59 @@ { "milestone": "MILESTONE 2 \u2014 PHYSICS_BOOT", + "contract_id": "CONTRACT-QEMU-VIRT-AARCH64-M2", "status": "QUALIFIED_QEMU_VIRT", - "timestamp": "2026-09-26T05:37:45.839959+00:00", + "timestamp": "2026-09-26T05:58:21.520389+00:00", + "source": { + "base_commit": "16ad5a226b6d7305d4e4ddbdb61d98a2f31fd341", + "tracked_changes_at_run": false, + "note": "base_commit is HEAD when the gates ran; the receipt is committed on top of it" + }, + "environment": { + "qemu": "QEMU emulator version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.18)", + "machine": "virt, cortex-a57, 128M, tcg thread=single" + }, "canonical_artifact": { "name": "physics.bin", - "sha256": "4ab2f5abc083b1c38aa15c136a94837f0de706eb86a53915b32a27b7a516422e", + "sha256": "4b22a08cd408b5cf90258af13b833b97a5211b4d2480fa74be357228f4aed3bd", "size_bytes": 6144, "total_words": 1536, "entry_point": "0x40200000", "provenance_anchor": "f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5" }, + "atlas_handoff_artifact": { + "name": "atlas_m2.bin", + "sha256": "1d6d75a6881bb9d9b17a777ec7dee885780386c4699d776adc7cc1c277b09012", + "size_bytes": 1764 + }, + "bound_file_sha256": { + "machine_contract.json": "8ef99d44abfc5f2076b1858c145c95ce7e4b79f2dbee7464c679c69d38a2b6a6", + "physics.audit": "4db61d0191ed93db61942aefa6f378907c1c128a7f6c77dd87290ecdb5e0b6f3", + "physics.manifest": "452a92caf455fd764e2ec87f6e2907eb8e5212e992fa3874c936276e41de587c", + "physics.memory-map": "3523ee71b4be6f7f1f1f93e80ce5b3ab84024d9be86b44082722c5f8d0ce8730", + "seam1_physics_audit.py": "d761f4b90e9c6006936924f03f5ad25e43e272069b62c9623cb6ea46f3096395", + "seam2_physics_harness.py": "5c9de9c7dba0958f0860ef61f80939ecc015dd62e854ec3e70248f845a3f8155", + "run_milestone2_gates.py": "a069f3302f1847c62bdedf0973f0516cf073b34f07b451e60f3ba58eaa7ce03f", + "generate_physics_audit.py": "5f9a4cad4b85ae777412eae50fa6b86395884b8652402fdbb260e01a24f61da9", + "m2_build.py": "bdaba6c23622cab43edc9cbf90616b100b63647adeefea7f6f2b2bc202cde9b9", + "atlas_m2.bin": "1d6d75a6881bb9d9b17a777ec7dee885780386c4699d776adc7cc1c277b09012", + "physics.bin": "4b22a08cd408b5cf90258af13b833b97a5211b4d2480fa74be357228f4aed3bd", + "physics_pin.inc": "9ae18bd1cebf48415c17ff984880dc3c39f20870420a7f35e38a239262965760", + "atlas.sha256": "501191627d8948956a178db5d4f6e8bd9c748b147bb95d2ee51276ac85a27a2a", + "atlas_m2.s": "4fa39c5347600618b4e0085f5fe9004d1341856578af43d7eaa01d159bf12ec1", + "physics.s": "0254a65243e98c36b7cfac49fa1ac0a7c97f8318862cf050306a8d45388e4b60", + "vector_table.s": "a94dd5d84618a7ebf5ecaf97c5029b39efb8d2d6e266b08551bc6028589dfebf", + "memory_alloc.s": "f6d710e6acd8604b832703ad1a357386203e853621ac42f5c2e3dee3380e4183", + "capability.s": "96808a14f4d1a1795ffaec50995ebbcc23d720f6731f1b89373fa922848cf303", + "sha256_clean.c": "35989415a49f8d3df6adf9bd761dc70f4d633034a797d6acda45cf2163d00d1e", + "physics.ld": "03dd48e5210d2ffc9bd271b60a35dabad8af6bc8dd91801938551564d1502649" + }, "audit_accounting": { - "decoded_instructions": 370, - "instruction_bytes": 1480, - "rodata_words": 96, - "rodata_bytes": 384, - "canonical_padding_words": 558, - "canonical_padding_bytes": 2232, + "decoded_instructions": 464, + "instruction_bytes": 1856, + "rodata_words": 170, + "rodata_bytes": 680, + "canonical_padding_words": 390, + "canonical_padding_bytes": 1560, "vector_table_words": 512, "vector_table_bytes": 2048, "total_words": 1536, diff --git a/run_milestone2_gates.py b/run_milestone2_gates.py index a7cf3f8..c71da1a 100755 --- a/run_milestone2_gates.py +++ b/run_milestone2_gates.py @@ -36,9 +36,14 @@ import datetime import json import os import re +import shutil +import subprocess import sys import time +import generate_physics_audit +from m2_build import sha256_file + from seam1_physics_audit import verify_seam1 from seam2_physics_harness import verify_seam2 @@ -51,17 +56,22 @@ def run_milestone2_gates(): start_time = time.time() + # 0. Regenerate every artifact from source in a clean build tree. + shutil.rmtree("build", ignore_errors=True) + generate_physics_audit.main() + print() + # 1. Run Seam 1 (Artifact Audit Seam) seam1_results = verify_seam1(".") - if not seam1_results or not all(seam1_results.values()): - print("\nFATAL: Seam 1 static audit failed!") + if not seam1_results: + print("\nFATAL: Seam 1 static audit did not run!") sys.exit(1) print() # 2. Run Seam 2 (Execution Harness Seam) seam2_results = verify_seam2(".") - if not seam2_results or not all(seam2_results.values()): - print("\nFATAL: Seam 2 runtime execution failed!") + if not seam2_results: + print("\nFATAL: Seam 2 runtime execution did not run!") sys.exit(1) all_gates = {} @@ -112,18 +122,45 @@ def run_milestone2_gates(): print(f"Execution Duration: {duration:.2f} seconds") print("=" * 70) + bound_files = [ + "machine_contract.json", "physics.audit", "physics.manifest", "physics.memory-map", + "seam1_physics_audit.py", "seam2_physics_harness.py", "run_milestone2_gates.py", + "generate_physics_audit.py", "m2_build.py", + "atlas_m2.bin", "physics.bin", "physics_pin.inc", "atlas.sha256", + "atlas_m2.s", "physics.s", "vector_table.s", "memory_alloc.s", "capability.s", + "sha256_clean.c", "physics.ld", + ] + head = subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True).stdout.strip() + dirty = subprocess.run(["git", "status", "--porcelain", "--untracked-files=no"], + capture_output=True, text=True).stdout.strip() + qemu = subprocess.run(["qemu-system-aarch64", "--version"], capture_output=True, + text=True).stdout.splitlines()[0] + receipt = { "milestone": "MILESTONE 2 — PHYSICS_BOOT", - "status": "QUALIFIED_QEMU_VIRT", + "contract_id": "CONTRACT-QEMU-VIRT-AARCH64-M2", + "status": "QUALIFIED_QEMU_VIRT" if all_passed else "NOT_QUALIFIED", "timestamp": datetime.datetime.now(datetime.timezone.utc).isoformat(), + "source": { + "base_commit": head, + "tracked_changes_at_run": bool(dirty), + "note": "base_commit is HEAD when the gates ran; the receipt is committed on top of it", + }, + "environment": {"qemu": qemu, "machine": "virt, cortex-a57, 128M, tcg thread=single"}, "canonical_artifact": { "name": "physics.bin", "sha256": physics_sha256, "size_bytes": os.path.getsize("physics.bin"), "total_words": total_words, "entry_point": "0x40200000", - "provenance_anchor": manifest.get("provenance_anchor") + "provenance_anchor": manifest.get("provenance_anchor"), + }, + "atlas_handoff_artifact": { + "name": "atlas_m2.bin", + "sha256": sha256_file("atlas_m2.bin"), + "size_bytes": os.path.getsize("atlas_m2.bin"), }, + "bound_file_sha256": {name: sha256_file(name) for name in bound_files}, "audit_accounting": { "decoded_instructions": inst_count, "instruction_bytes": inst_count * 4, @@ -135,19 +172,19 @@ def run_milestone2_gates(): "vector_table_bytes": vec_count * 4, "total_words": total_words, "total_bytes": total_words * 4, - "discrepancy_bytes": 0 + "discrepancy_bytes": 0, }, "vector_table": { "base_address": "0x40201000", "alignment_bytes": 2048, "total_span_bytes": 2048, "slots": 16, - "slot_stride_bytes": 128 + "slot_stride_bytes": 128, }, "gates": all_gates, "native_qualification": { "PHYSICS_BOOT_NATIVE_PASS": "PENDING (Strictly decoupled; awaits DGX Spark silicon test)" - } + }, } with open("qualification_receipt.json", "w") as f: diff --git a/seam2_physics_harness.py b/seam2_physics_harness.py index 163215b..5c2e2d6 100644 --- a/seam2_physics_harness.py +++ b/seam2_physics_harness.py @@ -1,413 +1,570 @@ #!/usr/bin/env python3 """ seam2_physics_harness.py - Milestone 2 (PHYSICS_BOOT) External Execution Seam -Runs physics.bin in QEMU bare-metal environment under the Machine Contract. - -Evaluates 8 Runtime Gates: -1. PHYSICS_ENTRY_EL_PASS -2. PHYSICS_DESCRIPTOR_INGRESS_PASS -3. PHYSICS_BOOT_QEMU_PASS -4. PHYSICS_FRAME_BOUNDS_PASS -5. PHYSICS_RESERVED_FRAME_REFUSAL_PASS -6. PHYSICS_CAP_ROOT_PASS -7. PHYSICS_EXCEPTION_STATE_CAPTURE_PASS -8. PHYSICS_CORRUPTION_REFUSAL_PASS + +Runs PHYSICS under QEMU virt (AArch64) and qualifies it by reading machine +state directly through the QEMU monitor (QMP `xp`), not by trusting UART +strings. UART lines are used only to know when a run has reached a terminal +state and to confirm refusal markers. + +Every image is built from source for each run (m2_build); nothing cached. + +Runtime gates: + PHYSICS_ENTRY_EL_PASS recorded CurrentEL == contract value; + real EL2 entry is refused + PHYSICS_DESCRIPTOR_INGRESS_PASS PHYSICS-owned copy == contract descriptor; + header/profile hostile cases refused + PHYSICS_BOOT_QEMU_PASS golden telemetry in order, allocator + header exact, clean quiescence + PHYSICS_FRAME_BOUNDS_PASS full exhaustion: sequential, no duplicate, + last < DRAM_END, then exhaustion; bitmap + confined to PHYSICS_STATIC_DATA (canary) + PHYSICS_RESERVED_FRAME_REFUSAL_PASS every reserved address refused + PHYSICS_CAP_ROOT_PASS all 10 CAP_ROOT fields == contract; root + cannot authorize outside + [FREE_FRAME_BASE, DRAM_END) + PHYSICS_EXCEPTION_STATE_CAPTURE_PASS trap frame read from memory: 31 GPR + sentinels, SP, slot, EL, ESR, ELR, SPSR, + FAR, FAR_VALID (BRK and data abort) + PHYSICS_CORRUPTION_REFUSAL_PASS full hostile ingress matrix refused before + any authority is granted (memory-checked) + +QEMU qualification only. It says nothing about DGX Spark hardware. """ -import hashlib +import json import os import re +import shutil +import socket import subprocess -import sys import time -def run_qemu_instance(bios_bin, payload_bin, payload_addr="0x40200000", timeout_sec=2.0): - cmd = [ - "qemu-system-aarch64", - "-M", "virt", - "-cpu", "cortex-a57", - "-m", "128M", - "-nographic", - "-bios", bios_bin, - "-device", f"loader,file={payload_bin},addr={payload_addr}" - ] - proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) +import m2_build + +BUILD_DIR = os.path.join("build", "seam2") + +BOOT_STATE = 0x40205800 +ENTRY_RECORD = BOOT_STATE + 0x40 +TRAP_FRAME = BOOT_STATE + 0x80 +TEST_RECORD = BOOT_STATE + 0x200 +CAP_TABLE = 0x40206000 +STATIC_DATA = 0x40207000 +BITMAP = STATIC_DATA + 0x20 +FREE_FRAME_BASE = 0x40208000 +DRAM_END = 0x48000000 +TOTAL_FRAMES = (DRAM_END - FREE_FRAME_BASE) >> 12 +BITMAP_BYTES = (TOTAL_FRAMES + 7) // 8 +TRAP_MAGIC = 0x314D524650415254 # 'TRAPFRM1' +UNIT_MAGIC = 0x31305454494E5532 # '2UNITT01' +CANARY = 0xA5 +SENTINEL_BASE = 0x53454E5400000000 # 'SENT' << 32 +ALIGN_BASE = 0x40300000 # RAM (free frame region) for the alignment fault + + +def sentinel(n): + return SENTINEL_BASE | n + + +# --------------------------------------------------------------------------- +# QEMU + QMP +# --------------------------------------------------------------------------- + +class Qmp: + def __init__(self, path, deadline): + while True: + try: + self.sock = socket.socket(socket.AF_UNIX) + self.sock.connect(path) + break + except OSError: + if time.time() > deadline: + raise + time.sleep(0.02) + self.f = self.sock.makefile("rw") + self.f.readline() + self.cmd("qmp_capabilities") + + def cmd(self, name, **args): + msg = {"execute": name} + if args: + msg["arguments"] = args + self.f.write(json.dumps(msg) + "\n") + self.f.flush() + while True: + line = self.f.readline() + if not line: + raise RuntimeError("QMP connection closed") + r = json.loads(line) + if "return" in r: + return r["return"] + if "error" in r: + raise RuntimeError(r["error"]) + + def hmp(self, text): + return self.cmd("human-monitor-command", **{"command-line": text}) + + def read_u64(self, addr, count): + out = self.hmp(f"xp /{count}gx {addr:#x}") + vals = [] + for line in out.splitlines(): + if ":" in line: + vals += [int(v, 16) for v in line.split(":", 1)[1].split()] + assert len(vals) == count, out + return vals + + def read_bytes(self, addr, count): + out = self.hmp(f"xp /{count}bx {addr:#x}") + vals = [] + for line in out.splitlines(): + if ":" in line: + vals += [int(v, 16) for v in line.split(":", 1)[1].split()] + assert len(vals) == count, (count, len(vals)) + return vals + + def close(self): + try: + self.cmd("quit") + except Exception: + pass + self.sock.close() + + +TERMINAL = ("PHYSICS: QUIESCENT_READY", "PANIC", "ATLAS: REFUSE", + "PHYSICS: TRAP_FRAME_CAPTURED", "PHYSICS: UNIT_TESTS_DONE") + + +def run_qemu(run_dir, atlas_bin, physics_bin, inspect, extra_loaders=(), + machine="virt", timeout_sec=20.0): + """Boot atlas_bin (as firmware) + physics_bin, wait for a terminal UART + line, run inspect(qmp) while the machine is still up, then quit. + Returns (uart_lines, inspect_result).""" + os.makedirs(run_dir, exist_ok=True) + serial = os.path.join(run_dir, "serial.txt") + sock = os.path.join(run_dir, "qmp.sock") + for p in (serial, sock): + if os.path.exists(p): + os.remove(p) + cmd = ["qemu-system-aarch64", "-M", machine, "-cpu", "cortex-a57", "-m", "128M", + "-accel", "tcg,thread=single", "-display", "none", "-monitor", "none", + "-serial", f"file:{serial}", "-qmp", f"unix:{sock},server=on,wait=off", + "-bios", atlas_bin, + "-device", f"loader,file={physics_bin},addr=0x40200000,force-raw=on"] + for path, addr in extra_loaders: + cmd += ["-device", f"loader,file={path},addr={addr:#x},force-raw=on"] + proc = subprocess.Popen(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.PIPE) + deadline = time.time() + timeout_sec lines = [] - start_t = time.time() + qmp = None try: - while time.time() - start_t < timeout_sec: - line = proc.stdout.readline() - if not line: - if proc.poll() is not None: - break - time.sleep(0.005) - continue - s_line = line.strip() - lines.append(s_line) - if "PHYSICS: QUIESCENT_READY" in s_line or "PANIC" in s_line or "ELR:" in s_line: + qmp = Qmp(sock, deadline) + while time.time() < deadline: + with open(serial, errors="replace") as f: + lines = [l.strip() for l in f.read().splitlines()] + if any(t in l for l in lines for t in TERMINAL): break - proc.kill() - except Exception: - proc.kill() - return lines - -def build_atlas_runner(source_s, target_bin, pinned_digest): - words = [pinned_digest[i:i+8] for i in range(0, 64, 8)] - w_str = ", ".join([f"0x{w}" for w in words[:4]]) + "\n .word " + ", ".join([f"0x{w}" for w in words[4:]]) - with open("atlas_m2.s", "r") as f: - s = f.read() - s_mod = re.sub(r"pinned_sha256_digest:.*", "pinned_sha256_digest:\n .word " + w_str + "\n", s, flags=re.DOTALL) - - gen_s = source_s - with open(gen_s, "w") as f: - f.write(s_mod) - obj = gen_s.replace(".s", ".o") - elf = gen_s.replace(".s", ".elf") - subprocess.run(["aarch64-linux-gnu-gcc", "-nostdlib", "-ffreestanding", "-c", gen_s, "-o", obj], check=True) - subprocess.run(["aarch64-linux-gnu-ld", "-Ttext=0x00000000", obj, "sha256_clean.o", "-o", elf], check=True) - subprocess.run(["aarch64-linux-gnu-objcopy", "-O", "binary", elf, target_bin], check=True) - -def ensure_base_objects(): - sources = [ - ("physics.s", "physics.o", False), - ("vector_table.s", "vector_table.o", False), - ("memory_alloc.s", "memory_alloc.o", False), - ("capability.s", "capability.o", False), - ("sha256_clean.c", "sha256_clean.o", True), + time.sleep(0.05) + time.sleep(0.2) # let the final telemetry drain + with open(serial, errors="replace") as f: + lines = [l.strip() for l in f.read().splitlines()] + result = inspect(qmp) if inspect else None + finally: + if qmp: + qmp.close() + try: + proc.wait(timeout=5) + except subprocess.TimeoutExpired: + proc.kill() + return lines, result + + +# --------------------------------------------------------------------------- +# Test images +# --------------------------------------------------------------------------- + +QUIESCENT_ANCHOR = " ldr x0, =msg_quiescent_ready\n bl print_string\n" + + +def physics_variant(name, snippet, rodata=""): + """physics.s with the normal-boot QUIESCENT_READY emission replaced by a + test snippet. Everything before it (ingress, EL check, VBAR, frame + authority, CAP_ROOT) is the canonical code path.""" + with open("physics.s") as f: + src = f.read() + assert src.count(QUIESCENT_ANCHOR) == 1, "physics.s quiescent anchor must be unique" + out_dir = os.path.join(BUILD_DIR, name) + os.makedirs(out_dir, exist_ok=True) + path = os.path.join(out_dir, f"physics_{name}.s") + with open(path, "w") as f: + f.write(src.replace(QUIESCENT_ANCHOR, snippet) + rodata) + elf, binary = m2_build.build_physics(out_dir, ".", entry_source=path) + _, atlas = m2_build.build_atlas(out_dir, binary, ".") + return elf, binary, atlas + + +def symbol(elf, name): + out = subprocess.run(["aarch64-linux-gnu-nm", elf], capture_output=True, text=True, + check=True).stdout + for line in out.splitlines(): + parts = line.split() + if len(parts) == 3 and parts[2] == name: + return int(parts[0], 16) + raise KeyError(name) + + +RESERVED_PROBES = [ # (address, expected is_frame_reserved) + (0x0, 1), (0x40000000, 1), (0x401FE000, 1), (0x40200000, 1), (0x40201000, 1), + (0x40205800, 1), (0x40206000, 1), (0x40207000, 1), (0x40207FFF, 1), + (0x48000000, 1), (0xFFFFFFFFFFFFF000, 1), (0x40208000, 0), (0x47FFF000, 0), +] + +CAP_PROBES = [ # (address, size, expected validate_capability) + (0x40208000, 0x1000, 1), (0x47FFF000, 0x1000, 1), (0x40208000, 0x7DF8000, 1), + (0x40207000, 0x1000, 0), (0x47FFF000, 0x2000, 0), (0x48000000, 0x1000, 0), + (0x40208000, 0xFFFFFFFFFFFFFFFF, 0), (0x40200000, 0x1000, 0), (0x0, 0x1000, 0), + (0x40206000, 0x50, 0), +] + + +def unit_snippet(): + s = [ + " /* ---- Seam 2 unit image: runs after CAP_ROOT genesis ---- */", + f" ldr x19, ={TEST_RECORD:#x}", + " ldr x20, =0x40208000 /* expected next frame */", + " mov x21, #0 /* allocation count */", + " mov x22, #0 /* last frame */", + " mov x23, #1 /* order_ok */", + ".Lunit_alloc_loop:", + " bl allocate_frame", + " cbz x0, .Lunit_alloc_done", + " cmp x0, x20", + " csel x23, xzr, x23, ne", + " mov x22, x0", + " add x20, x0, #0x1000", + " add x21, x21, #1", + " b .Lunit_alloc_loop", + ".Lunit_alloc_done:", + " str x21, [x19, #0x00]", + " str x22, [x19, #0x08]", + " bl allocate_frame", + " str x0, [x19, #0x10] /* after exhaustion: must be 0 */", + " str x23, [x19, #0x18]", + " mov x24, #0 /* reserved-probe result bits */", ] - for src, obj, is_c in sources: - if not os.path.exists(obj) and os.path.exists(src): - if is_c: - subprocess.run(["aarch64-linux-gnu-gcc", "-nostdlib", "-ffreestanding", "-mgeneral-regs-only", "-O2", "-c", src, "-o", obj], check=True) - else: - subprocess.run(["aarch64-linux-gnu-gcc", "-nostdlib", "-ffreestanding", "-c", src, "-o", obj], check=True) - - if not os.path.exists("atlas_m2.bin") and os.path.exists("atlas_m2.s"): - subprocess.run(["aarch64-linux-gnu-gcc", "-nostdlib", "-ffreestanding", "-c", "atlas_m2.s", "-o", "atlas_m2.o"], check=True) - subprocess.run(["aarch64-linux-gnu-ld", "-Ttext=0x00000000", "atlas_m2.o", "sha256_clean.o", "-o", "atlas_m2.elf"], check=True) - subprocess.run(["aarch64-linux-gnu-objcopy", "-O", "binary", "atlas_m2.elf", "atlas_m2.bin"], check=True) - -def ensure_unit_test_binaries(): - ensure_base_objects() - if os.path.exists("physics_unit.bin") and os.path.exists("atlas_unit.bin"): - return - with open('physics.s', 'r') as f: - code = f.read() - - test_snip = """ - /* Test Frame Allocation Bounds */ - bl allocate_frame - cbz x0, .Ltest_fail_frame - ldr x1, =0x40208000 - cmp x0, x1 - b.ne .Ltest_fail_frame - - bl allocate_frame - cbz x0, .Ltest_fail_frame - ldr x1, =0x40209000 - cmp x0, x1 - b.ne .Ltest_fail_frame - ldr x0, =msg_frame_bounds_pass - bl print_string - - /* Test Reserved Frame Refusal */ - ldr x0, =0x40200000 - bl is_frame_reserved - cmp x0, #1 - b.ne .Ltest_fail_reserved - - ldr x0, =0x40201000 - bl is_frame_reserved - cmp x0, #1 - b.ne .Ltest_fail_reserved - - ldr x0, =0x40205800 - bl is_frame_reserved - cmp x0, #1 - b.ne .Ltest_fail_reserved - - ldr x0, =0x40207000 - bl is_frame_reserved - cmp x0, #1 - b.ne .Ltest_fail_reserved - - ldr x0, =0x40208000 - bl is_frame_reserved - cbnz x0, .Ltest_fail_reserved - ldr x0, =msg_reserved_refusal_pass - bl print_string - - /* Test CAP_ROOT Structure */ - ldr x2, =0x40206000 - ldr w0, [x2, #0] - cbnz w0, .Ltest_fail_cap - ldr w0, [x2, #4] - cmp w0, #1 - b.ne .Ltest_fail_cap - ldr x0, [x2, #8] - cmp x0, #1 - b.ne .Ltest_fail_cap - ldr x0, [x2, #24] - ldr x1, =0x40208000 - cmp x0, x1 - b.ne .Ltest_fail_cap - ldr x0, [x2, #32] - ldr x1, =0x07DF8000 - cmp x0, x1 - b.ne .Ltest_fail_cap - ldr x0, =msg_cap_root_pass - bl print_string - - ldr x0, =msg_quiescent_ready - bl print_string - b .Lquiescent_halt - -.Ltest_fail_frame: - ldr x0, =msg_fail_frame - bl print_string - b .Lquiescent_halt - -.Ltest_fail_reserved: - ldr x0, =msg_fail_reserved - bl print_string - b .Lquiescent_halt - -.Ltest_fail_cap: - ldr x0, =msg_fail_cap - bl print_string - b .Lquiescent_halt -""" + for i, (addr, _) in enumerate(RESERVED_PROBES): + s += [f" ldr x0, ={addr:#x}", " bl is_frame_reserved", + " and x0, x0, #1", f" lsl x0, x0, #{i}", " orr x24, x24, x0"] + s += [" str x24, [x19, #0x20]", " mov x25, #0 /* cap-probe result bits */"] + for i, (addr, size, _) in enumerate(CAP_PROBES): + s += [f" ldr x0, ={CAP_TABLE:#x}", " mov w1, #1", + f" ldr x2, ={addr:#x}", f" ldr x3, ={size:#x}", " bl validate_capability", + " and x0, x0, #1", f" lsl x0, x0, #{i}", " orr x25, x25, x0"] + s += [" str x25, [x19, #0x28]", + f" ldr x0, ={UNIT_MAGIC:#x}", " str x0, [x19, #0x30]", + " ldr x0, =msg_unit_done", " bl print_string", ""] + return "\n".join(s) + "\n" + + +UNIT_RODATA = '\n .section .rodata\nmsg_unit_done:\n .asciz "PHYSICS: UNIT_TESTS_DONE\\n"\n' + + +def trap_snippet(kind): + s = [" /* ---- Seam 2 trap image: load sentinels, then fault ---- */"] + if kind == "align": + # QEMU 8.2 does not fault unaligned Device accesses with the MMU off, + # so the test image turns on SCTLR_EL1.A (alignment checking). + s += [" mrs x0, sctlr_el1", " orr x0, x0, #2", " msr sctlr_el1, x0", " isb"] + s += [" msr nzcv, xzr /* deterministic SPSR.NZCV */"] + for n in range(31): + s.append(f" ldr x{n}, ={sentinel(n):#x}") + if kind == "brk": + s += [" .global seam2_fault_site", "seam2_fault_site:", " brk #0x4d32"] + else: + # Unaligned 64-bit load with SCTLR_EL1.A set: alignment Data Abort + # with a valid FAR. + s += [f" ldr x28, ={ALIGN_BASE:#x}", + " .global seam2_fault_site", "seam2_fault_site:", " ldr x0, [x28, #1]"] + return "\n".join(s) + "\n" + + +# --------------------------------------------------------------------------- +# Hostile ingress matrix +# --------------------------------------------------------------------------- + +PANIC_COOKIE = "PHYSICS: PANIC_BAD_COOKIE" +PANIC_PAYLOAD = "PHYSICS: PANIC_BAD_PAYLOAD_SIZE" +PANIC_PTR = "PHYSICS: PANIC_BAD_DESCRIPTOR_PTR" +PANIC_MAGIC = "PHYSICS: PANIC_BAD_DESC_MAGIC" +PANIC_VERSION = "PHYSICS: PANIC_BAD_DESC_VERSION" +PANIC_LENGTH = "PHYSICS: PANIC_BAD_DESC_LENGTH" +PANIC_RESERVED = "PHYSICS: PANIC_BAD_DESC_RESERVED" +PANIC_INGRESS = "PHYSICS: PANIC_INGRESS_CORRUPT" +PANIC_EL = "PHYSICS: PANIC_UNCONTRACTED_EL" + +# (tag, description, defsyms, expected panic, descriptor-ingress case?) +HOSTILE_CASES = [ + ("bad_cookie", "bad verification cookie", {"ABI_X2": "0xDEADBEEFCAFEBABE"}, PANIC_COOKIE, False), + ("bad_payload_size", "x1 payload size != 6144", {"ABI_X1": "4096"}, PANIC_PAYLOAD, False), + ("bad_desc_ptr", "descriptor pointer moved", {"ABI_X0": "0x40100000"}, PANIC_PTR, False), + ("bad_magic", "bad descriptor magic", {"DESC_MAGIC": "0x4D424453435F3032"}, PANIC_MAGIC, True), + ("version_2", "unsupported descriptor version 2", {"DESC_VERSION": "2"}, PANIC_VERSION, True), + ("version_0", "unsupported descriptor version 0", {"DESC_VERSION": "0"}, PANIC_VERSION, True), + ("len_truncated", "truncated length 32", {"DESC_LENGTH": "32"}, PANIC_LENGTH, True), + ("len_oversized", "oversized length 128", {"DESC_LENGTH": "128"}, PANIC_LENGTH, True), + ("reserved_low", "reserved flags bit 0 set", {"DESC_FLAGS": "1"}, PANIC_RESERVED, True), + ("reserved_high", "reserved flags bit 63 set", {"DESC_FLAGS": "0x8000000000000000"}, PANIC_RESERVED, True), + ("ram_size_zero", "DRAM size zero", {"DESC_RAM_SIZE": "0"}, PANIC_INGRESS, True), + ("ram_overflow", "DRAM base + size overflow", {"DESC_RAM_SIZE": "0xFFFFFFFFFFFFFFFF"}, PANIC_INGRESS, True), + ("ram_oversized", "valid base + oversized size", {"DESC_RAM_SIZE": "0x09000000"}, PANIC_INGRESS, True), + ("ram_undersized", "undersized RAM", {"DESC_RAM_SIZE": "0x07000000"}, PANIC_INGRESS, True), + ("ram_base_lower", "RAM base shifted lower", {"DESC_RAM_BASE": "0x3FF00000"}, PANIC_INGRESS, True), + ("ram_base_upper", "RAM base shifted upper", {"DESC_RAM_BASE": "0x40100000"}, PANIC_INGRESS, True), + ("ram_beyond_profile", "valid-looking range beyond profile", + {"DESC_RAM_SIZE": "0x100000000"}, PANIC_INGRESS, True), + ("ram_excludes_physics", "DRAM range excluding PHYSICS", {"DESC_RAM_BASE": "0x40300000"}, PANIC_INGRESS, True), + ("uart_out_of_profile", "UART outside machine profile", {"DESC_UART_BASE": "0x08000000"}, PANIC_INGRESS, True), + ("uart_misaligned", "misaligned UART address", {"DESC_UART_BASE": "0x09000001"}, PANIC_INGRESS, True), + ("physics_base_moved", "PHYSICS base moved", {"DESC_PHYSICS_BASE": "0x40300000"}, PANIC_INGRESS, True), + ("physics_size_wrong", "PHYSICS size wrong", {"DESC_PHYSICS_SIZE": "4096"}, PANIC_INGRESS, True), +] + + +def no_authority_granted(q): + """Memory proof that ingress refusal happened before any authority: + entry record, allocator header and CAP_ROOT slot are still zero.""" + entry = q.read_u64(ENTRY_RECORD, 1) + alloc = q.read_u64(STATIC_DATA, 4) + cap = q.read_u64(CAP_TABLE, 10) + return {"entry": entry, "alloc": alloc, "cap": cap, + "clean": not any(alloc) and not any(cap)} + + +# --------------------------------------------------------------------------- +# Seam 2 +# --------------------------------------------------------------------------- + +def load_contract(): + with open("machine_contract.json") as f: + return json.load(f) + + +def expected_descriptor(c): + d = c["boot_descriptor_contract"] + return [int(d["magic"], 16), d["version"] | (d["length"] << 32), d["flags_reserved"], + int(d["ram_base"], 16), int(d["ram_size"], 16), int(d["uart_base"], 16), + int(d["physics_base"], 16), d["physics_size"]] + + +def expected_cap_root(c): + r = c["root_capability_spec"] + digest = bytes.fromhex(r["atlas_provenance_digest"]) + words = [int.from_bytes(digest[i:i + 8], "little") for i in range(0, 32, 8)] + return [r["slot"] | (r["generation"] << 32), int(r["principal_id"], 16), + int(r["resource_type"], 16) | (int(r["allowed_ops"], 16) << 32), + int(r["bound_base"], 16), int(r["bound_size"], 16), + r["revocation_state"] | (r["attenuation_depth"] << 32)] + words + + +def check(results, gate, ok, detail): + results[gate] = results.get(gate, True) and bool(ok) + print(f" [{'OK' if ok else 'FAIL'}] {gate}: {detail}") - code_test = code.replace( - 'ldr x0, =msg_quiescent_ready\n bl print_string', - test_snip - ) - - rodata_extra = """ -msg_frame_bounds_pass: - .asciz "PHYSICS_FRAME_BOUNDS_PASS: OK\\n" -msg_reserved_refusal_pass: - .asciz "PHYSICS_RESERVED_FRAME_REFUSAL_PASS: OK\\n" -msg_cap_root_pass: - .asciz "PHYSICS_CAP_ROOT_PASS: OK\\n" -msg_fail_frame: - .asciz "PHYSICS_FRAME_BOUNDS: FAIL\\n" -msg_fail_reserved: - .asciz "PHYSICS_RESERVED_REFUSAL: FAIL\\n" -msg_fail_cap: - .asciz "PHYSICS_CAP_ROOT: FAIL\\n" -""" - code_test += rodata_extra - with open('physics_unit.s', 'w') as f: - f.write(code_test) - - subprocess.run(['aarch64-linux-gnu-gcc', '-nostdlib', '-ffreestanding', '-c', 'physics_unit.s', '-o', 'physics_unit.o'], check=True) - subprocess.run(['aarch64-linux-gnu-ld', '-T', 'physics.ld', 'physics_unit.o', 'vector_table.o', 'memory_alloc.o', 'capability.o', '-o', 'physics_unit.elf'], check=True) - subprocess.run(['aarch64-linux-gnu-objcopy', '-O', 'binary', 'physics_unit.elf', 'physics_unit.bin'], check=True) - - with open('physics_unit.bin', 'rb') as f: - d = f.read() - h = hashlib.sha256(d).hexdigest() - build_atlas_runner('atlas_unit.s', 'atlas_unit.bin', h) - -def ensure_trap_test_binaries(): - ensure_base_objects() - if os.path.exists("physics_trap.bin") and os.path.exists("atlas_trap.bin"): - return - with open('physics.s', 'r') as f: - code = f.read() - trap_code = code.replace( - 'ldr x0, =msg_quiescent_ready\n bl print_string', - 'brk #0' - ) - with open('physics_trap.s', 'w') as f: - f.write(trap_code) - subprocess.run(['aarch64-linux-gnu-gcc', '-nostdlib', '-ffreestanding', '-c', 'physics_trap.s', '-o', 'physics_trap.o'], check=True) - subprocess.run(['aarch64-linux-gnu-ld', '-T', 'physics.ld', 'physics_trap.o', 'vector_table.o', 'memory_alloc.o', 'capability.o', '-o', 'physics_trap.elf'], check=True) - subprocess.run(['aarch64-linux-gnu-objcopy', '-O', 'binary', 'physics_trap.elf', 'physics_trap.bin'], check=True) - - with open('physics_trap.bin', 'rb') as f: - d = f.read() - h = hashlib.sha256(d).hexdigest() - build_atlas_runner('atlas_trap.s', 'atlas_trap.bin', h) def verify_seam2(base_dir="."): - ensure_base_objects() + os.chdir(base_dir) + shutil.rmtree(BUILD_DIR, ignore_errors=True) + os.makedirs(BUILD_DIR) + c = load_contract() + results = {} print("=" * 70) print("SEAM 2: EXTERNAL EXECUTION SEAM (QEMU AARCH64 VIRT - PHYSICS_BOOT)") print("=" * 70) - results = {} - atlas_bin = os.path.join(base_dir, "atlas_m2.bin") - physics_bin = os.path.join(base_dir, "physics.bin") - - if not os.path.exists(atlas_bin) or not os.path.exists(physics_bin): - print("FAIL: Required base binaries missing!") - return False - - # ----------------------------------------------------------------- - # Test 1: Clean Golden Boot from Reset - # ----------------------------------------------------------------- - print("\n[Exec-1] Executing Clean Golden Boot & Verification Handoff...") - lines = run_qemu_instance(atlas_bin, physics_bin, timeout_sec=2.0) - print(" Emitted Telemetry Stream:") + # Golden images: rebuild from source into build/seam2/golden and require + # they are byte-identical to the canonical files under qualification. + golden_dir = os.path.join(BUILD_DIR, "golden") + _, g_phys = m2_build.build_physics(golden_dir, ".") + _, g_atlas = m2_build.build_atlas(golden_dir, g_phys, ".") + reproducible = (m2_build.sha256_file(g_phys) == m2_build.sha256_file("physics.bin") and + m2_build.sha256_file(g_atlas) == m2_build.sha256_file("atlas_m2.bin")) + check(results, "PHYSICS_BOOT_QEMU_PASS", reproducible, + "physics.bin and atlas_m2.bin rebuild byte-identically from source") + + # ---- Exec-1: golden boot ------------------------------------------------ + print("\n[Exec-1] Golden boot, machine state read over QMP") + + def inspect_golden(q): + return {"desc": q.read_u64(BOOT_STATE, 8), "entry": q.read_u64(ENTRY_RECORD, 1)[0], + "alloc": q.read_u64(STATIC_DATA, 4), "cap": q.read_u64(CAP_TABLE, 10), + "bitmap": q.read_bytes(BITMAP, BITMAP_BYTES + 1), + "trap_magic": q.read_u64(TRAP_FRAME + 0x138, 1)[0]} + + lines, st = run_qemu(os.path.join(BUILD_DIR, "run_golden"), "atlas_m2.bin", "physics.bin", + inspect_golden) for l in lines: print(f" | {l}") - - golden_expected = [ - "ATLAS: AWAKEN", - "ATLAS: VERIFY", - "ATLAS: HANDOFF", - "PHYSICS: AWAKEN", - "PHYSICS: INGRESS_VALID", - "PHYSICS: VBAR_INSTALLED", - "PHYSICS: FRAME_AUTH_BOUND", - "PHYSICS: CAP_ROOT_GENESIS", - "PHYSICS: QUIESCENT_READY" - ] - - boot_pass = all(item in lines for item in golden_expected) - if boot_pass: - print(" -> PHYSICS_ENTRY_EL_PASS: OK (CurrentEL verified EL1/EL2, contract matched)") - print(" -> PHYSICS_DESCRIPTOR_INGRESS_PASS: OK (Descriptor copied, scratchpad vacated)") - print(" -> PHYSICS_BOOT_QEMU_PASS: OK (Clean golden progression to QUIESCENT_READY)") - results["PHYSICS_ENTRY_EL_PASS"] = True - results["PHYSICS_DESCRIPTOR_INGRESS_PASS"] = True - results["PHYSICS_BOOT_QEMU_PASS"] = True - else: - print(" -> PHYSICS_BOOT_QEMU_PASS: FAILED") - results["PHYSICS_ENTRY_EL_PASS"] = False - results["PHYSICS_DESCRIPTOR_INGRESS_PASS"] = False - results["PHYSICS_BOOT_QEMU_PASS"] = False - return results - - # ----------------------------------------------------------------- - # Test 2: Frame Allocation Bounds, Reserved Refusal & Root Capability - # ----------------------------------------------------------------- - print("\n[Exec-2] Testing Physical Frame Authority & Kernel-Private Root Capability...") - ensure_unit_test_binaries() - unit_lines = run_qemu_instance("atlas_unit.bin", "physics_unit.bin", timeout_sec=2.0) - print(" Emitted Telemetry Stream:") - for l in unit_lines: - print(f" | {l}") - - if "PHYSICS_FRAME_BOUNDS_PASS: OK" in unit_lines: - print(" -> PHYSICS_FRAME_BOUNDS_PASS: OK (Frames strictly >= 0x40208000 and < 0x48000000)") - results["PHYSICS_FRAME_BOUNDS_PASS"] = True - else: - print(" -> PHYSICS_FRAME_BOUNDS_PASS: FAILED") - results["PHYSICS_FRAME_BOUNDS_PASS"] = False - - if "PHYSICS_RESERVED_FRAME_REFUSAL_PASS: OK" in unit_lines: - print(" -> PHYSICS_RESERVED_FRAME_REFUSAL_PASS: OK (Reserved pages [0x0, 0x40208000) permanently excluded)") - results["PHYSICS_RESERVED_FRAME_REFUSAL_PASS"] = True - else: - print(" -> PHYSICS_RESERVED_FRAME_REFUSAL_PASS: FAILED") - results["PHYSICS_RESERVED_FRAME_REFUSAL_PASS"] = False - - if "PHYSICS_CAP_ROOT_PASS: OK" in unit_lines: - print(" -> PHYSICS_CAP_ROOT_PASS: OK (CAP_ROOT synthesizes CapabilityId { slot: 0, generation: 1 })") - results["PHYSICS_CAP_ROOT_PASS"] = True - else: - print(" -> PHYSICS_CAP_ROOT_PASS: FAILED") - results["PHYSICS_CAP_ROOT_PASS"] = False - - # ----------------------------------------------------------------- - # Test 3: Synchronous Exception State Capture - # ----------------------------------------------------------------- - print("\n[Exec-3] Testing Synchronous Exception Trapping & State Capture...") - ensure_trap_test_binaries() - trap_lines = run_qemu_instance("atlas_trap.bin", "physics_trap.bin", timeout_sec=2.0) - print(" Emitted Telemetry Stream:") - for l in trap_lines: + golden = ["ATLAS: AWAKEN", "ATLAS: VERIFY", "ATLAS: HANDOFF", "PHYSICS: AWAKEN", + "PHYSICS: INGRESS_VALID", "PHYSICS: ENTRY_EL1_VERIFIED", "PHYSICS: VBAR_INSTALLED", + "PHYSICS: FRAME_AUTH_BOUND", "PHYSICS: CAP_ROOT_GENESIS", "PHYSICS: QUIESCENT_READY"] + check(results, "PHYSICS_BOOT_QEMU_PASS", lines == golden, + "telemetry is exactly the golden sequence, nothing else") + check(results, "PHYSICS_BOOT_QEMU_PASS", st["trap_magic"] == 0, "no exception taken on the normal path") + + el_expect = int(c["architecture"]["expected_entry_el_value"], 16) + check(results, "PHYSICS_ENTRY_EL_PASS", st["entry"] == el_expect, + f"recorded CurrentEL {st['entry']:#x} == contract {el_expect:#x}") + + exp_desc = expected_descriptor(c) + check(results, "PHYSICS_DESCRIPTOR_INGRESS_PASS", st["desc"] == exp_desc, + "PHYSICS-owned descriptor copy == contract descriptor (all 8 words)") + + alloc_ok = st["alloc"] == [DRAM_END, TOTAL_FRAMES, 0, 0] + check(results, "PHYSICS_BOOT_QEMU_PASS", alloc_ok, + f"allocator header DRAM_END={st['alloc'][0]:#x} frames={st['alloc'][1]} " + f"(expect {DRAM_END:#x}, {TOTAL_FRAMES})") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", alloc_ok and not any(st["bitmap"]), + f"fresh bitmap: {BITMAP_BYTES} bytes zero inside PHYSICS_STATIC_DATA") + + exp_cap = expected_cap_root(c) + check(results, "PHYSICS_CAP_ROOT_PASS", st["cap"] == exp_cap, + "CAP_ROOT slot/generation/principal/resource_type/allowed_ops/bounds/" + "revocation/attenuation/32-byte Atlas digest == contract") + with open("atlas.sha256") as f: + atlas_digest = f.read().split()[0] + check(results, "PHYSICS_CAP_ROOT_PASS", + atlas_digest == c["root_capability_spec"]["atlas_provenance_digest"], + "contract provenance digest == atlas.sha256") + cap_end = int(c["root_capability_spec"]["bound_base"], 16) + int(c["root_capability_spec"]["bound_size"], 16) + check(results, "PHYSICS_CAP_ROOT_PASS", + int(c["root_capability_spec"]["bound_base"], 16) == FREE_FRAME_BASE and cap_end == DRAM_END, + "contract CAP_ROOT bounds == [FREE_FRAME_BASE, DRAM_END)") + + # ---- Exec-2: frame authority, reservation, capability probes ----------- + print("\n[Exec-2] In-kernel allocator exhaustion, reserved and capability probes") + canary = os.path.join(BUILD_DIR, "canary.bin") + # One canary byte after the bitmap (last byte of PHYSICS_STATIC_DATA) plus + # the whole first free frame: bitmap writes must never reach them. + canary_base = BITMAP + BITMAP_BYTES + canary_len = FREE_FRAME_BASE + 0x1000 - canary_base + with open(canary, "wb") as f: + f.write(bytes([CANARY]) * canary_len) + _, u_phys, u_atlas = physics_variant("unit", unit_snippet(), UNIT_RODATA) + + def inspect_unit(q): + return {"rec": q.read_u64(TEST_RECORD, 7), "alloc": q.read_u64(STATIC_DATA, 4), + "bitmap": q.read_bytes(BITMAP, BITMAP_BYTES), + "canary": q.read_bytes(canary_base, canary_len)} + + lines, st = run_qemu(os.path.join(BUILD_DIR, "run_unit"), u_atlas, u_phys, inspect_unit, + extra_loaders=[(canary, canary_base)]) + for l in lines: print(f" | {l}") - - has_fault_banner = any("[FAULT] EXCEPTION TRAPPED" in l for l in trap_lines) - has_slot = any("SLOT: 0x0000000000000004" in l for l in trap_lines) - has_esr = any("ESR: 0x00000000f2000000" in l for l in trap_lines) - has_far = any("FAR: 0x0000000000000000" in l for l in trap_lines) - has_elr = any("ELR: 0x00000000402000d4" in l for l in trap_lines) - - if has_fault_banner and has_slot and has_esr and has_far and has_elr: - print(" -> PHYSICS_EXCEPTION_STATE_CAPTURE_PASS: OK (Raw state captured into PHYSICS_BOOT_STATE: Slot 4, ESR=0xf2000000, FAR=0, ELR=0x402000d4)") - results["PHYSICS_EXCEPTION_STATE_CAPTURE_PASS"] = True - else: - print(" -> PHYSICS_EXCEPTION_STATE_CAPTURE_PASS: FAILED") - results["PHYSICS_EXCEPTION_STATE_CAPTURE_PASS"] = False - - # ----------------------------------------------------------------- - # Test 4: Hostile Ingress Corruption Matrix (6 Adversarial Scenarios) - # ----------------------------------------------------------------- - print("\n[Exec-4] Testing Hostile Ingress Corruption Matrix Refusals...") - - corruption_cases = [ - ("Bad Verification Cookie", "x2_bad_cookie", "PHYSICS: PANIC_BAD_COOKIE", - {"corrupt_x2": "0xDEADBEEFCAFEBABE"}), - ("Bad Descriptor Pointer", "x0_bad_ptr", "PHYSICS: PANIC_BAD_DESCRIPTOR_PTR", - {"corrupt_x0": "0x40100000"}), - ("DRAM Size Zero", "zero_dram_size", "PHYSICS: PANIC_INGRESS_CORRUPT", - {"corrupt_desc_size": "0"}), - ("DRAM Base+Size Arithmetic Overflow", "dram_overflow", "PHYSICS: PANIC_INGRESS_CORRUPT", - {"corrupt_desc_size": "0xFFFFFFFFFFFFFFFF"}), - ("Physics Image Not Contained in DRAM", "image_outside_dram", "PHYSICS: PANIC_INGRESS_CORRUPT", - {"corrupt_desc_base": "0x40300000"}), - ("Out-of-Profile UART MMIO Address", "bad_uart_mmio", "PHYSICS: PANIC_INGRESS_CORRUPT", - {"corrupt_uart": "0x08000000"}), - ] - - corr_pass_count = 0 - with open("atlas_m2.s", "r") as f: - base_atlas = f.read() - - for desc, tag, expected_panic, mutations in corruption_cases: - src = base_atlas - if "corrupt_x2" in mutations: - src = src.replace("ldr x2, =0x5048595349435330", f"ldr x2, ={mutations['corrupt_x2']}") - if "corrupt_x0" in mutations: - src = src.replace("mov x0, x22", f"ldr x0, ={mutations['corrupt_x0']}") - if "corrupt_desc_size" in mutations: - src = src.replace("ldr x0, =0x08000000", f"ldr x0, ={mutations['corrupt_desc_size']}") - if "corrupt_desc_base" in mutations: - src = src.replace("ldr x0, =0x40000000", f"ldr x0, ={mutations['corrupt_desc_base']}") - if "corrupt_uart" in mutations: - src = src.replace("mov x0, x20", f"ldr x0, ={mutations['corrupt_uart']}") - - gen_s = f"atlas_corr_{tag}.s" - gen_bin = f"atlas_corr_{tag}.bin" - with open(gen_s, "w") as f: - f.write(src) - subprocess.run(["aarch64-linux-gnu-gcc", "-nostdlib", "-ffreestanding", "-c", gen_s, "-o", gen_s.replace(".s", ".o")], check=True) - subprocess.run(["aarch64-linux-gnu-ld", "-Ttext=0x00000000", gen_s.replace(".s", ".o"), "sha256_clean.o", "-o", gen_s.replace(".s", ".elf")], check=True) - subprocess.run(["aarch64-linux-gnu-objcopy", "-O", "binary", gen_s.replace(".s", ".elf"), gen_bin], check=True) - - corr_lines = run_qemu_instance(gen_bin, physics_bin, timeout_sec=1.5) - # Verify: expected panic occurred, and NO subsequent authority granted - has_expected_panic = any(expected_panic in l for l in corr_lines) - authority_never_granted = not any("FRAME_AUTH_BOUND" in l or "CAP_ROOT_GENESIS" in l or "QUIESCENT_READY" in l for l in corr_lines) - - if has_expected_panic and authority_never_granted: - print(f" [Case {corr_pass_count+1}/6] {desc:42s} -> {expected_panic} [REFUSED / SAFE]") - corr_pass_count += 1 + count, last, after, order_ok, res_bits, cap_bits, magic = st["rec"] + ran = magic == UNIT_MAGIC and "PHYSICS: UNIT_TESTS_DONE" in lines + check(results, "PHYSICS_FRAME_BOUNDS_PASS", ran, "unit image completed and wrote its record") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", count == TOTAL_FRAMES, + f"{count} frames allocated before exhaustion (expect {TOTAL_FRAMES})") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", order_ok == 1, + "every allocation == previous + 4 KiB from FREE_FRAME_BASE (deterministic, no duplicates)") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", last == DRAM_END - 0x1000 and last < DRAM_END, + f"last frame {last:#x} < DRAM_END") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", after == 0, "next allocation returns FRAME_EXHAUSTED (0)") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", st["alloc"][2] == TOTAL_FRAMES, + "allocator cursor == total_frames") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", all(b == 0xFF for b in st["bitmap"]), + f"all {BITMAP_BYTES} bitmap bytes set, exactly one bit per granted frame") + check(results, "PHYSICS_FRAME_BOUNDS_PASS", all(b == CANARY for b in st["canary"]), + f"canary {canary_base:#x}..{FREE_FRAME_BASE + 0x1000:#x} untouched (bitmap stays in STATIC_DATA)") + + exp_res = sum(e << i for i, (_, e) in enumerate(RESERVED_PROBES)) + check(results, "PHYSICS_RESERVED_FRAME_REFUSAL_PASS", ran and res_bits == exp_res, + f"{len(RESERVED_PROBES)} is_frame_reserved probes (bits {res_bits:#x}, expect {exp_res:#x})") + exp_cap_bits = sum(e << i for i, (_, _, e) in enumerate(CAP_PROBES)) + check(results, "PHYSICS_CAP_ROOT_PASS", ran and cap_bits == exp_cap_bits, + f"{len(CAP_PROBES)} validate_capability probes: CAP_ROOT grants only inside " + f"[FREE_FRAME_BASE, DRAM_END) (bits {cap_bits:#x}, expect {exp_cap_bits:#x})") + + # ---- Exec-3: exception state capture ------------------------------------ + for kind in ("brk", "align"): + print(f"\n[Exec-3/{kind}] Sentinel GPRs, then {'BRK #0x4d32' if kind == 'brk' else 'unaligned load (SCTLR_EL1.A=1)'}") + t_elf, t_phys, t_atlas = physics_variant(f"trap_{kind}", trap_snippet(kind)) + site = symbol(t_elf, "seam2_fault_site") + + def inspect_trap(q): + return q.read_u64(TRAP_FRAME, 40) + + lines, fr = run_qemu(os.path.join(BUILD_DIR, f"run_trap_{kind}"), t_atlas, t_phys, inspect_trap) + for l in lines: + print(f" | {l}") + gprs, sp = fr[0:31], fr[31] + slot, el, esr, elr, spsr, far, far_valid, magic = fr[32:40] + if kind == "brk": + exp = {"esr": 0xF2004D32, "far": 0, "far_valid": 0} else: - print(f" [Case {corr_pass_count+1}/6] {desc:42s} -> FAILED (Expected: {expected_panic}, Lines: {corr_lines})") - - if corr_pass_count == len(corruption_cases): - print(f" -> PHYSICS_CORRUPTION_REFUSAL_PASS: OK ({corr_pass_count}/{len(corruption_cases)} cases halted in fail-closed quiescence)") - results["PHYSICS_CORRUPTION_REFUSAL_PASS"] = True - else: - print(f" -> PHYSICS_CORRUPTION_REFUSAL_PASS: FAILED ({corr_pass_count}/{len(corruption_cases)} cases)") - results["PHYSICS_CORRUPTION_REFUSAL_PASS"] = False - - print("\n" + "=" * 70) - print("SEAM 2 RESULTS: ALL RUNTIME EXECUTION GATES EVALUATED (PHYSICS)") - print("=" * 70) - for g, val in results.items(): - print(f" [{'PASS' if val else 'FAIL':4s}] {g}") - print("=" * 70) + # EC 0x25 (Data Abort, same EL), IL=1, ISV=0, DFSC 0x21 alignment + exp = {"far": ALIGN_BASE + 1, "far_valid": 1} + gate = "PHYSICS_EXCEPTION_STATE_CAPTURE_PASS" + check(results, gate, magic == TRAP_MAGIC and "PHYSICS: TRAP_FRAME_CAPTURED" in lines, + "trap frame complete (TRAPFRM1 magic written last)") + want = [sentinel(n) for n in range(31)] + if kind == "align": + want[28] = ALIGN_BASE + bad = [n for n in range(31) if gprs[n] != want[n]] + check(results, gate, not bad, f"x0..x30 sentinels preserved in frame (mismatch: {bad})") + check(results, gate, sp == BOOT_STATE, f"interrupted SP {sp:#x} == PHYSICS stack top") + check(results, gate, slot == 4, f"vector slot {slot} == 4 (current EL, SPx, synchronous)") + check(results, gate, el == el_expect, f"CURRENT_EL {el:#x}") + check(results, gate, elr == site, f"ELR {elr:#x} == fault site {site:#x}") + check(results, gate, spsr == 0x3C5, f"SPSR {spsr:#x} == 0x3c5 (EL1h, DAIF masked)") + if kind == "brk": + check(results, gate, esr == exp["esr"], f"ESR {esr:#x} == {exp['esr']:#x} (BRK, imm 0x4d32)") + else: + ec, dfsc = esr >> 26, esr & 0x3F + check(results, gate, ec == 0x25 and dfsc == 0x21 and not (esr >> 10) & 1, + f"ESR {esr:#x}: EC 0x25 data abort, DFSC 0x21 alignment, FnV 0") + check(results, gate, far_valid == exp["far_valid"] and far == exp["far"], + f"FAR {far:#x} FAR_VALID {far_valid} (expect {exp['far']:#x}, {exp['far_valid']})") + + # ---- Exec-4: hostile ingress matrix ------------------------------------- + print("\n[Exec-4] Hostile ingress matrix (memory-checked: no authority granted)") + passed = 0 + total = len(HOSTILE_CASES) + 1 + desc_ok = True + for tag, desc, defsyms, panic, is_desc in HOSTILE_CASES: + out_dir = os.path.join(BUILD_DIR, f"hostile_{tag}") + _, h_atlas = m2_build.build_atlas(out_dir, "physics.bin", ".", defsyms=defsyms) + lines, st = run_qemu(os.path.join(out_dir, "run"), h_atlas, "physics.bin", no_authority_granted) + ok = (panic in lines and st["clean"] and + not any(m in l for l in lines for m in ("FRAME_AUTH_BOUND", "CAP_ROOT_GENESIS", "QUIESCENT_READY"))) + passed += ok + desc_ok &= ok or not is_desc + print(f" [{'REFUSED' if ok else 'FAIL'}] {desc:40s} -> {panic.split(': ')[1]}" + + ("" if ok else f" lines={lines} state={st}")) + + # Real wrong-EL entry: virtualization=on starts the firmware (Atlas) at EL2, + # so PHYSICS is entered at EL2, which the contract does not admit. + lines, st = run_qemu(os.path.join(BUILD_DIR, "run_el2"), "atlas_m2.bin", "physics.bin", + no_authority_granted, machine="virt,virtualization=on") + el2_ok = PANIC_EL in lines and st["clean"] and st["entry"] == [0] + passed += el2_ok + print(f" [{'REFUSED' if el2_ok else 'FAIL'}] {'entry at EL2 (virtualization=on)':40s} -> " + f"PANIC_UNCONTRACTED_EL" + ("" if el2_ok else f" lines={lines} state={st}")) + check(results, "PHYSICS_ENTRY_EL_PASS", el2_ok, "entry at EL2 refused before any authority") + check(results, "PHYSICS_DESCRIPTOR_INGRESS_PASS", desc_ok, + "every descriptor header/profile violation refused before bitmap init") + check(results, "PHYSICS_CORRUPTION_REFUSAL_PASS", passed == total, + f"{passed}/{total} hostile cases refused with the expected panic and zero authority state") + + order = ["PHYSICS_ENTRY_EL_PASS", "PHYSICS_DESCRIPTOR_INGRESS_PASS", "PHYSICS_BOOT_QEMU_PASS", + "PHYSICS_FRAME_BOUNDS_PASS", "PHYSICS_RESERVED_FRAME_REFUSAL_PASS", + "PHYSICS_CAP_ROOT_PASS", "PHYSICS_EXCEPTION_STATE_CAPTURE_PASS", + "PHYSICS_CORRUPTION_REFUSAL_PASS"] + return {g: results.get(g, False) for g in order} - return results if __name__ == "__main__": - res = verify_seam2(".") - all_ok = all(res.values()) and len(res) == 8 - sys.exit(0 if all_ok else 1) + import sys + r = verify_seam2(".") + for g, ok in r.items(): + print(f" [{'PASS' if ok else 'FAIL'}] {g}") + sys.exit(0 if all(r.values()) else 1) diff --git a/vector_table.s b/vector_table.s index 07866ca..7fab385 100644 --- a/vector_table.s +++ b/vector_table.s @@ -34,215 +34,252 @@ vector_table: /* Slot 0 (0x000): Current EL with SP0 - Sync */ + msr tpidr_el1, x0 mov x0, #0 b common_trap_entry .balign 128 /* Slot 1 (0x080): Current EL with SP0 - IRQ */ + msr tpidr_el1, x0 mov x0, #1 b common_trap_entry .balign 128 /* Slot 2 (0x100): Current EL with SP0 - FIQ */ + msr tpidr_el1, x0 mov x0, #2 b common_trap_entry .balign 128 /* Slot 3 (0x180): Current EL with SP0 - SError */ + msr tpidr_el1, x0 mov x0, #3 b common_trap_entry .balign 128 /* Slot 4 (0x200): Current EL with SPx - Sync */ + msr tpidr_el1, x0 mov x0, #4 b common_trap_entry .balign 128 /* Slot 5 (0x280): Current EL with SPx - IRQ */ + msr tpidr_el1, x0 mov x0, #5 b common_trap_entry .balign 128 /* Slot 6 (0x300): Current EL with SPx - FIQ */ + msr tpidr_el1, x0 mov x0, #6 b common_trap_entry .balign 128 /* Slot 7 (0x380): Current EL with SPx - SError */ + msr tpidr_el1, x0 mov x0, #7 b common_trap_entry .balign 128 /* Slot 8 (0x400): Lower EL AArch64 - Sync */ + msr tpidr_el1, x0 mov x0, #8 b common_trap_entry .balign 128 /* Slot 9 (0x480): Lower EL AArch64 - IRQ */ + msr tpidr_el1, x0 mov x0, #9 b common_trap_entry .balign 128 /* Slot 10 (0x500): Lower EL AArch64 - FIQ */ + msr tpidr_el1, x0 mov x0, #10 b common_trap_entry .balign 128 /* Slot 11 (0x580): Lower EL AArch64 - SError */ + msr tpidr_el1, x0 mov x0, #11 b common_trap_entry .balign 128 /* Slot 12 (0x600): Lower EL AArch32 - Sync */ + msr tpidr_el1, x0 mov x0, #12 b common_trap_entry .balign 128 /* Slot 13 (0x680): Lower EL AArch32 - IRQ */ + msr tpidr_el1, x0 mov x0, #13 b common_trap_entry .balign 128 /* Slot 14 (0x700): Lower EL AArch32 - FIQ */ + msr tpidr_el1, x0 mov x0, #14 b common_trap_entry .balign 128 /* Slot 15 (0x780): Lower EL AArch32 - SError */ + msr tpidr_el1, x0 mov x0, #15 b common_trap_entry .balign 128 /* - * Common Trap Collector (Outside the 2048-byte table) - * Captures raw architectural state into PHYSICS_BOOT_STATE: - * +0x40: VECTOR_SLOT (u64) - * +0x48: CURRENT_EL (u64) - * +0x50: ESR_ELx (u64) - * +0x58: ELR_ELx (u64) - * +0x60: SPSR_ELx (u64) - * +0x68: FAR_ELx (u64) - * +0x70: FAR_VALID (u64: 1 if EC in {0x20, 0x21, 0x22, 0x24, 0x25}, else 0) + * Common Trap Collector (outside the 2048-byte table) + * + * Entry state: x0 = vector slot, original x0 stashed in TPIDR_EL1, every + * other GPR and SP exactly as interrupted. The collector saves the complete + * interrupted GPR file before reusing any register and never touches the + * stack until the frame is captured, so capture works even with a bad SP. + * + * PHYSICS_TRAP_FRAME @ 0x40205880 (PHYSICS_BOOT_STATE + 0x80), 320 bytes: + * +0x000..+0x0F0: x0..x30 (31 x u64) + * +0x0F8: SP (interrupted SP_EL1) + * +0x100: VECTOR_SLOT + * +0x108: CURRENT_EL (CurrentEL & 0xC) + * +0x110: ESR_EL1 + * +0x118: ELR_EL1 + * +0x120: SPSR_EL1 + * +0x128: FAR_EL1 (0 when FAR_VALID == 0) + * +0x130: FAR_VALID (1 iff EC in {0x20,0x21,0x24,0x25} with ISS.FnV == 0, + * or EC in {0x22,0x34,0x35}) + * +0x138: TRAP_FRAME_MAGIC 0x314D524650415254 ('TRAPFRM1'), written last + * + * The machine contract admits EL1 entry only and PHYSICS installs VBAR_EL1 + * only, so every exception taken through this table is taken to EL1. */ + .equ TRAP_FRAME_BASE, 0x40205880 + .equ TRAP_STACK_TOP, 0x40205800 + .section .text, "ax" .balign 4 common_trap_entry: - /* Preserve scratch registers in dedicated trap record @ 0x40205840 */ - ldr x19, =0x40205840 - str x0, [x19, #0] /* Store VECTOR_SLOT */ - + msr tpidr_el0, x1 /* stash original x1 */ + movz x1, #0x4020, lsl #16 + movk x1, #0x5880 /* x1 = TRAP_FRAME_BASE */ + + stp x2, x3, [x1, #0x010] + stp x4, x5, [x1, #0x020] + stp x6, x7, [x1, #0x030] + stp x8, x9, [x1, #0x040] + stp x10, x11, [x1, #0x050] + stp x12, x13, [x1, #0x060] + stp x14, x15, [x1, #0x070] + stp x16, x17, [x1, #0x080] + stp x18, x19, [x1, #0x090] + stp x20, x21, [x1, #0x0A0] + stp x22, x23, [x1, #0x0B0] + stp x24, x25, [x1, #0x0C0] + stp x26, x27, [x1, #0x0D0] + stp x28, x29, [x1, #0x0E0] + str x30, [x1, #0x0F0] + + mrs x2, tpidr_el1 /* original x0 */ + mrs x3, tpidr_el0 /* original x1 */ + stp x2, x3, [x1, #0x000] + mov x2, sp + str x2, [x1, #0x0F8] /* interrupted SP */ + + str x0, [x1, #0x100] /* VECTOR_SLOT */ mrs x2, CurrentEL and x2, x2, #0x0C - str x2, [x19, #8] /* Store CURRENT_EL */ + str x2, [x1, #0x108] /* CURRENT_EL */ - cmp x2, #0x08 - b.eq .Lread_el2 - - /* EL1 Traps */ mrs x3, esr_el1 - str x3, [x19, #16] /* Store ESR_EL1 */ + str x3, [x1, #0x110] mrs x4, elr_el1 - str x4, [x19, #24] /* Store ELR_EL1 */ + str x4, [x1, #0x118] mrs x5, spsr_el1 - str x5, [x19, #32] /* Store SPSR_EL1 */ - - /* Evaluate EC for FAR validity: EC is bits [31:26] */ - lsr w6, w3, #26 - cmp w6, #0x20 /* Instruction Abort lower EL */ - b.eq .Lfar_valid_el1 - cmp w6, #0x21 /* Instruction Abort same EL */ - b.eq .Lfar_valid_el1 - cmp w6, #0x22 /* PC alignment */ - b.eq .Lfar_valid_el1 - cmp w6, #0x24 /* Data Abort lower EL */ - b.eq .Lfar_valid_el1 - cmp w6, #0x25 /* Data Abort same EL */ - b.eq .Lfar_valid_el1 - - /* FAR not meaningful for this exception class */ - str xzr, [x19, #40] /* FAR = 0 */ - str xzr, [x19, #48] /* FAR_VALID = 0 */ - b .Lemit_trap_telemetry - -.Lfar_valid_el1: + str x5, [x1, #0x120] + + /* FAR validity from EC = ESR[31:26] and FnV = ESR[10] */ + ubfx x6, x3, #26, #6 + cmp x6, #0x22 /* PC alignment fault */ + b.eq .Lfar_valid + cmp x6, #0x34 /* Watchpoint, lower EL */ + b.eq .Lfar_valid + cmp x6, #0x35 /* Watchpoint, same EL */ + b.eq .Lfar_valid + cmp x6, #0x20 /* Instruction Abort, lower EL */ + b.eq .Lfar_check_fnv + cmp x6, #0x21 /* Instruction Abort, same EL */ + b.eq .Lfar_check_fnv + cmp x6, #0x24 /* Data Abort, lower EL */ + b.eq .Lfar_check_fnv + cmp x6, #0x25 /* Data Abort, same EL */ + b.eq .Lfar_check_fnv + b .Lfar_invalid + +.Lfar_check_fnv: + tbnz x3, #10, .Lfar_invalid /* FnV: FAR not valid */ +.Lfar_valid: mrs x7, far_el1 - str x7, [x19, #40] /* Store FAR_EL1 */ - mov x8, #1 - str x8, [x19, #48] /* FAR_VALID = 1 */ - b .Lemit_trap_telemetry - -.Lread_el2: - mrs x3, esr_el2 - str x3, [x19, #16] - mrs x4, elr_el2 - str x4, [x19, #24] - mrs x5, spsr_el2 - str x5, [x19, #32] - - lsr w6, w3, #26 - cmp w6, #0x20 - b.eq .Lfar_valid_el2 - cmp w6, #0x21 - b.eq .Lfar_valid_el2 - cmp w6, #0x22 - b.eq .Lfar_valid_el2 - cmp w6, #0x24 - b.eq .Lfar_valid_el2 - cmp w6, #0x25 - b.eq .Lfar_valid_el2 - - str xzr, [x19, #40] - str xzr, [x19, #48] - b .Lemit_trap_telemetry - -.Lfar_valid_el2: - mrs x7, far_el2 - str x7, [x19, #40] mov x8, #1 - str x8, [x19, #48] - -.Lemit_trap_telemetry: - /* Set UART base */ - ldr x20, =0x09000000 + b .Lfar_store +.Lfar_invalid: + mov x7, #0 + mov x8, #0 +.Lfar_store: + stp x7, x8, [x1, #0x128] /* FAR, FAR_VALID */ + + ldr x9, =0x314D524650415254 /* 'TRAPFRM1' */ + str x9, [x1, #0x138] + dsb sy + + /* Frame captured. Move to a known stack before any call. */ + mov x19, x1 + ldr x2, =TRAP_STACK_TOP + mov sp, x2 ldr x0, =msg_fault_banner bl print_string - - /* Print SLOT */ ldr x0, =msg_slot_label - bl print_string - ldr x0, [x19, #0] - bl print_hex64 - ldr x0, =msg_newline - bl print_string - - /* Print ESR */ + ldr x1, [x19, #0x100] + bl print_field + ldr x0, =msg_el_label + ldr x1, [x19, #0x108] + bl print_field ldr x0, =msg_esr_label - bl print_string - ldr x0, [x19, #16] - bl print_hex64 - ldr x0, =msg_newline - bl print_string - - /* Print FAR */ + ldr x1, [x19, #0x110] + bl print_field + ldr x0, =msg_elr_label + ldr x1, [x19, #0x118] + bl print_field + ldr x0, =msg_spsr_label + ldr x1, [x19, #0x120] + bl print_field ldr x0, =msg_far_label - bl print_string - ldr x0, [x19, #40] - bl print_hex64 - ldr x0, =msg_newline + ldr x1, [x19, #0x128] + bl print_field + ldr x0, =msg_far_valid_label + ldr x1, [x19, #0x130] + bl print_field + ldr x0, =msg_trap_captured bl print_string - /* Print ELR */ - ldr x0, =msg_elr_label +.Lfault_quiescent_halt: + wfe + b .Lfault_quiescent_halt + +/* print_field(label=x0, value=x1): "