def in.lvar

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

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V

2208def in.lvar(-H: Data, k: AmlArgK, l: V.AmlLoc, v: V.AmlValue, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2209  match k:
2210    case AmlKTarget{}:
2211      in.give(H, V.AmlRef{l}, c, fs, w)
2212    case AmlKBase{}:
2213      in.give(H, V.AmlRef{l}, c, fs, w)
2214    case AmlKCond{}:
2215      in.give(H, V.AmlRef{l}, c, fs, w)
2216    case _:
2217      in.give(H, v, c, fs, w)

Uses (9)

Used by (2)