def AcpiAml.build
import bend-osdev-acpi@0.1.1.0/dsdt.bend as Dsdtimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
import bend-osdev-acpi@0.1.1.0/header.bend as H
48# the table: the header's signature as given (DSDT or SSDT), length and
49# checksum computed
50def AcpiAml.build(t: AcpiAml) -> B.Octets:
51 match t:
52 case AcpiAml{h, a}:
53 H.AcpiSdt.build(h, a)