def AmlT.region
import bend-osdev-acpi@0.1.1.0/aml_term.bend as AmlTermimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
241# OperationRegion(name, space, offset, length): space 0 SystemMemory,
242# 1 SystemIO, 2 PCI_Config, 3 EmbeddedControl, ...
243def AmlT.region(s: String, space: U32, off: AmlTerm, len: AmlTerm) -> AmlTerm:
244 AmlTOp{B.Octets.concat([tm.b([91, 128]), tm.name(s), tm.b([space])]), [off, len]}