def AmlSystem.new
import bend-osdev-acpi@0.1.1.0/aml.bend as Amlimport Base
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as I
59# a system with the initial namespace (\_SB_, \_OSI, ...) and this host
60def AmlSystem.new(-H: Data, opts: I.AmlOptions, +wide: Bool, host: H) -> AmlSystem<H>:
61 match opts:
62 case I.AmlOptions{+osi, +os, +rev}:
63 AmlSystem{I.AmlOptions{osi, os, rev}, wide, S.AmlNs.initial(os, rev), host}