def in.val.give

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

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

913def in.val.give(-H: Data, r: Result<&2, &2, E.AcpiError, V.AmlValue>, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
914  match r:
915    case Fail{e}:
916      AmlMachine{AmlMFail{e}, c, fs, w}
917    case Done{v}:
918      AmlMachine{AmlMGive{v}, c, fs, w}

Uses (9)

Used by (4)