def in.ap.ret

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

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

1712def in.ap.ret(~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>:
1713  match args:
1714    case Con{v, Nil{}}:
1715      in.unwind.ret(H, fs, v, w)
1716    case _:
1717      in.bad(H, 164, c, fs, w)

Uses (12)

Used by (1)