~/bend-docscommunity

LAWS_whole.bend open laws/TODOs

raw source on the hub · import bend-osdev-acpi@0.1.2.0/LAWS_whole.bend as LAWS_whole

The whole round trips, for every input: a table AcpiSdt.build writes is read back by AcpiSdt.parse, its checks passing (Length from 36 to the bytes given, the bytes summing to zero modulo 256: LAWS_checksum.bend), and so is each table whose body LAWS_tables.bend reads back, through its parse: the HPET, BGRT, XSDT, RSDT, MCFG and a DSDT or SSDT.

The header read back is the header given with the fields build computes: the signature build writes, the Length (the table's length) and the Checksum (the byte at offset 9 of the table). The text fields must have their sizes and the revision must be a byte, and the table's length must fit the 32-bit Length field (no more than a U32's value; the HPET and the BGRT are 56 bytes long, so their laws need no such hypothesis).

12 imports
import Base
import bend-osdev-word64@0.1.1.1/word64.bend as W
import bend-osdev-bytes@0.1.1.1/bytes.bend as B
import ./error.bend as E
import ./header.bend as H
import ./gas.bend as G
import ./hpet.bend as Hp
import ./bgrt.bend as Bg
import ./rsdt.bend as R
import ./mcfg.bend as Mc
import ./dsdt.bend as Ds
import ./LAWS_tables.bend as TL

Laws

law sdt_round_trip provedin PROOF_rsdp.bendsource · line 34 · raw

@+h:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+sig4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.signature(h)) == 4n : Nat} -> @+oem6:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h)) == 6n : Nat} -> @+tid8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h)) == 8n : Nat} -> @+cid4:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h)) == 4n : Nat} -> @+rev8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h) : U32} -> @+body:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+z:U32 -> @+fit:{Nat.is_le(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt.build(h, body)), U32.to_nat(z)) == True{} : Bool} -> {0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt.parse(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt.build(h, body)) == Done{0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt{acpilaw.written(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.signature(h), h, 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt.build(h, body)), body}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt>}

Any table: its header and body back

law hpet_whole provedin PROOF_rsdp.bendsource · line 47 · raw

@+h0:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+oem6b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h0)) == 6n : Nat} -> @+tid8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h0)) == 8n : Nat} -> @+cid4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h0)) == 4n : Nat} -> @+rev8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0) : U32} -> @+id:U32 -> @+gs:U32 -> @+gw:U32 -> @+go:U32 -> @+ga:U32 -> @+gaddr:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+n:U32 -> @+m:U32 -> @+p:U32 -> @+gs8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(gs) == gs : U32} -> @+gw8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(gw) == gw : U32} -> @+go8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(go) == go : U32} -> @+ga8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(ga) == ga : U32} -> @+n8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(n) == n : U32} -> @+m16:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(m) == m : U32} -> @+p8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(p) == p : U32} -> {0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet.parse(0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet.build(0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet{h0, id, 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, gaddr}, n, m, p})) == Done{0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet{acpilaw.written(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("HPET"), h0, 0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet.build(0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet{h0, id, 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, gaddr}, n, m, p})), id, 0x437a65a35fd0c02411bea19819f9b33f/gas.AcpiGas{gs, gw, go, ga, gaddr}, n, m, p}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/hpet.AcpiHpet>}

The HPET table

law bgrt_whole provedin PROOF_rsdp.bendsource · line 72 · raw

@+h0:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+oem6b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h0)) == 6n : Nat} -> @+tid8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h0)) == 8n : Nat} -> @+cid4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h0)) == 4n : Nat} -> @+rev8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0) : U32} -> @+v:U32 -> @+st:U32 -> @+it:U32 -> @+a:0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64 -> @+x:U32 -> @+y:U32 -> @+v16:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.low16(v) == v : U32} -> @+st8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(st) == st : U32} -> @+it8:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(it) == it : U32} -> {0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt.parse(0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt.build(0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt{h0, v, st, it, a, x, y})) == Done{0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt{acpilaw.written(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BGRT"), h0, 0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt.build(0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt{h0, v, st, it, a, x, y})), v, st, it, a, x, y}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/bgrt.AcpiBgrt>}

The BGRT table

law xsdt_whole provedin PROOF_rsdp.bendsource · line 90 · raw

@+h0:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+oem6b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h0)) == 6n : Nat} -> @+tid8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h0)) == 8n : Nat} -> @+cid4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h0)) == 4n : Nat} -> @+rev8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0) : U32} -> @+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> @+z:U32 -> @+fit:{Nat.is_le(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiXsdt.build(h0, xs)), U32.to_nat(z)) == True{} : Bool} -> {0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiXsdt.parse(0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiXsdt.build(h0, xs)) == Done{0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiSdtList{acpilaw.written(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("XSDT"), h0, 0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiXsdt.build(h0, xs)), xs}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiSdtList>}

The XSDT

law rsdt_whole provedin PROOF_rsdp.bendsource · line 102 · raw

@+h0:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+oem6b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h0)) == 6n : Nat} -> @+tid8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h0)) == 8n : Nat} -> @+cid4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h0)) == 4n : Nat} -> @+rev8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0) : U32} -> @+xs:List<&2, 0xea9c6e6209a3ac3fb21596f70f09f650/word64.W64> -> @+z:U32 -> @+fit:{Nat.is_le(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiRsdt.build(h0, xs)), U32.to_nat(z)) == True{} : Bool} -> {0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiRsdt.parse(0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiRsdt.build(h0, xs)) == Done{0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiSdtList{acpilaw.written(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("RSDT"), h0, 0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiRsdt.build(h0, xs)), 0x437a65a35fd0c02411bea19819f9b33f/LAWS_tables.acpilaw.low32(xs)}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/rsdt.AcpiSdtList>}

The RSDT: each address's low 32 bits

law mcfg_whole provedin PROOF_rsdp.bendsource · line 114 · raw

@+h0:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+oem6b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h0)) == 6n : Nat} -> @+tid8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h0)) == 8n : Nat} -> @+cid4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h0)) == 4n : Nat} -> @+rev8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0) : U32} -> @+es:List<&2, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfgEntry> -> @+z:U32 -> @+fit:{Nat.is_le(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg.build(0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg{h0, es})), U32.to_nat(z)) == True{} : Bool} -> {0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg.parse(0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg.build(0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg{h0, es})) == Done{0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg{acpilaw.written(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("MCFG"), h0, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg.build(0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg{h0, es})), 0x437a65a35fd0c02411bea19819f9b33f/LAWS_tables.acpilaw.mcfg_fit(es)}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/mcfg.AcpiMcfg>}

The MCFG: its allocation structures as stored

law aml_whole provedin PROOF_rsdp.bendsource · line 126 · raw

@+h0:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+sig4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.signature(h0)) == 4n : Nat} -> @+oem6b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(h0)) == 6n : Nat} -> @+tid8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(h0)) == 8n : Nat} -> @+cid4b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(h0)) == 4n : Nat} -> @+rev8b:{0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0)) == 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(h0) : U32} -> @+a:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @+z:U32 -> @+fit:{Nat.is_le(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml.build(0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml{h0, a})), U32.to_nat(z)) == True{} : Bool} -> {0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml.parse(0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml.build(0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml{h0, a})) == Done{0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml{acpilaw.written(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.signature(h0), h0, 0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml.build(0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml{h0, a})), a}} : Result<&2, &2, 0x437a65a35fd0c02411bea19819f9b33f/error.AcpiError, 0x437a65a35fd0c02411bea19819f9b33f/dsdt.AcpiAml>}

A DSDT or SSDT (AcpiAml.parse, which takes either signature)

law whole_example provedin PROOF_rsdp.bendsource · line 140 · raw

{(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.signature(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.make(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("SSDT"), 2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BEND"), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("TABLE")))), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_id(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.make(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("SSDT"), 2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BEND"), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("TABLE")))), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.oem_table_id(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.make(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("SSDT"), 2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BEND"), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("TABLE")))), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.creator_id(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.make(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("SSDT"), 2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BEND"), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("TABLE")))), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.byte(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.revision(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.make(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("SSDT"), 2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BEND"), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("TABLE")))), Nat.is_le(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.len(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiSdt.build(0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader.make(0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("SSDT"), 2, 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("BEND"), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_string("TABLE")), 0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets.of_list([1, 2, 3]))), U32.to_nat(39))) == (4n, 6n, 8n, 4n, 2, True{}) : Pair(Nat, Pair(Nat, Pair(Nat, Pair(Nat, Pair(U32, Bool)))))}

the hypotheses hold at an example: a header AcpiHeader.make fits, and a 39-byte table

Definitions

def acpilaw.written source · line 28 · raw

@sig:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> @h:0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader -> @+o:0x15cc157649e26d54c7c549cb80d4a2a9/bytes.Octets -> 0x437a65a35fd0c02411bea19819f9b33f/header.AcpiHeader

the header h with the signature sig and the fields build computes for the table o: Length the length of o, Checksum the byte at offset 9 of o