def in.ap.copy
bend-osdev-acpi@0.1.1.0 · aml_interp.bend:1211
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
1211def in.ap.copy(~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>:
1212 match args:
1213 case Con{+v, Con{t, Nil{}}}:
1214 in.put.give(~H, ~io, in.loc(t), v, c, fs, w)
1215 case _:
1216 in.bad(H, 157, c, fs, w)