def in.pkg.start

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

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/error.bend as E

2178def in.pkg.start(-H: Data, r: Result<&2, &2, E.AcpiError, AmlImm>, after: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2179  match r:
2180    case Fail{e}:
2181      AmlMachine{AmlMFail{e}, in.no.cur(), fs, w}
2182    case Done{AmlImm{n, +body}}:
2183      in.pkg.first(H, cur.at_end(body), W.W64.to_nat(n), body, after, fs, w)

Uses (13)

Used by (1)