def in.dev.go

bend-osdev-acpi@0.1.1.0 · aml_interp.bend:2269

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-acpi@0.1.1.0/error.bend as E
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S

2269def in.dev.go(-H: Data, dup: Bool, +p: String, +kind: U32, body: AmlCur, after: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2270  match dup:
2271    case True{}:
2272      AmlMachine{AmlMFail{E.AcpiAmlDuplicate{p}}, body, fs, w}
2273    case False{}:
2274      in.enter(H, p, body, after, fs, in.define(H, w, p, S.AmlOScope{kind}))

Uses (13)

Used by (1)