def in.ap.concat

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

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

1396def in.ap.concat(~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>:
1397  match args:
1398    case Con{a, Con{b, Con{t, Nil{}}}}:
1399      in.store.give(~H, ~io, in.concat(in.wide(H, w), a, b), t, c, fs, w)
1400    case _:
1401      in.bad(H, 115, c, fs, w)

Uses (14)

Used by (1)