def in.ap.index
bend-osdev-acpi@0.1.1.0 · aml_interp.bend:1315
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_host.bend as Hs
1315def in.ap.index(~H: Data, ~io: H -> Hs.AmlHostOp -> Result<&2, &2, E.AcpiError, Hs.AmlHostAns<H>>, args: List<&2, V.AmlValue>, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
1316 match args:
1317 case Con{+base, Con{i, Con{t, Nil{}}}}:
1318 in.index.go(~H, ~io, in.small.int(in.wide(H, w), i), base, t, c, fs, w)
1319 case _:
1320 in.bad(H, 136, c, fs, w)