Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/physics-mv/blob/main/m3/tests/kat.ld # physics-mv FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `physics-mv / m3 / tests / kat.ld` 23 lines ยท 894 bytes Raw Blame History 1 /* kat.ld -- SHA-256 KAT image, loaded raw at 0x40200000 (QEMU puts the DTB at the RAM base 0x40000000 with -bios). */ 2 OUTPUT_FORMAT("elf64-littleaarch64") 3 OUTPUT_ARCH(aarch64) 4 ENTRY(_start) 5 KAT_BASE = 0x40200000; 6 KAT_LIMIT = 0x40270000 - 0x4000; /* image must stay below the 16 KiB stack */ 7 SECTIONS 8 { 9 . = KAT_BASE; 10 .text : { 11 KEEP(*(.text.boot)) 12 *(.text .text.*) 13 } 14 .rodata : ALIGN(8) { *(.rodata .rodata.*) } 15 .data : ALIGN(8) { *(.data .data.*) } 16 .bss : ALIGN(8) { *(.bss .bss.* COMMON) } 17 __kat_end = .; 18 /DISCARD/ : { *(.comment) *(.note*) *(.eh_frame*) } 19 } 20 ASSERT(SIZEOF(.data) == 0, "KAT: unexpected .data") 21 ASSERT(SIZEOF(.bss) == 0, "KAT: unexpected .bss (raw image would not zero it)") 22 ASSERT(__kat_end <= KAT_LIMIT, "KAT: image overlaps stack") 23 ASSERT(SHA256_MAX_LEN <= 0x10000, "KAT: SHA256_MAX_LEN exceeds the 64 KiB PAT buffer")