interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / x86efi / ident-bounds-20261104 / blobs.sh

18 lines · 653 bytes Raw Blame History
1# SMBIOS test structures (raw bytes for QEMU -smbios file=).
2# t1 VER: type 1, handle 0x0100, Manufacturer 1, Product 2, Version VER, one string "OmegaTest".
3t1() {
4 printf '\001\033\000\001\001\002'
5 printf "\\$(printf %03o "$1")"
6 printf '\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\006\000\000OmegaTest\000\000'
7}
8# t11 H N: type 11 (OEM strings), handle 0x0B00+H, N strings of 60 characters.
9t11() {
10 printf '\013\005'
11 printf "\\$(printf %03o "$1")"
12 printf '\013'
13 printf "\\$(printf %03o "$2")"
14 s=$(printf '%060d' 0)
15 i=0
16 while [ "$i" -lt "$2" ]; do printf '%s\000' "$s"; i=$((i + 1)); done
17 printf '\000'
18}