def in.index.put

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

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

1269def in.index.put(~H: Data, ~io: H -> Hs.AmlHostOp -> Result<&2, &2, E.AcpiError, Hs.AmlHostAns<H>>, ok: Bool, +ref: V.AmlValue, t: V.AmlValue, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
1270  match ok:
1271    case False{}:
1272      AmlMachine{AmlMFail{E.AcpiAmlRange{}}, c, fs, w}
1273    case True{}:
1274      in.put.give(~H, ~io, in.loc(t), ref, c, fs, w)

Uses (14)

Used by (1)