def in.name.base

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

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_value.bend as V
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S
import bend-osdev-acpi@0.1.1.0/aml_host.bend as Hs

2069def in.name.base(~H: Data, ~io: H -> Hs.AmlHostOp -> Result<&2, &2, E.AcpiError, Hs.AmlHostAns<H>>, o: Maybe<&2, S.AmlObject>, +p: String, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2070  match o:
2071    case Some{S.AmlOMethod{n, f, b}}:
2072      in.invoke(~H, ~io, p, n, c, fs, w)
2073    case _:
2074      in.give(H, V.AmlRef{V.AmlLName{p}}, c, fs, w)

Uses (16)

Used by (1)