def in.unknown.go
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-acpi@0.1.1.0/error.bend as E
2554def in.unknown.go(-H: Data, bad: Bool, what: String, code: U32, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2555 match bad:
2556 case True{}:
2557 AmlMachine{AmlMFail{E.AcpiAmlBadOpcode{code}}, c, fs, w}
2558 case False{}:
2559 AmlMachine{AmlMFail{E.AcpiAmlUnsupported{what}}, c, fs, w}