def in.zero
bend-osdev-acpi@0.1.1.0 · aml_interp.bend:2199
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V
2199def in.zero(-H: Data, k: AmlArgK, c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2200 match k:
2201 case AmlKTarget{}:
2202 in.give(H, V.AmlRef{V.AmlLNone{}}, c, fs, w)
2203 case AmlKCond{}:
2204 in.give(H, V.AmlRef{V.AmlLNone{}}, c, fs, w)
2205 case _:
2206 in.give(H, V.AmlInt{W.W64.zero()}, c, fs, w)