def in.ap.alias
bend-osdev-acpi@0.1.1.0 · aml_interp.bend:1520
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_ns.bend as S
import bend-osdev-acpi@0.1.1.0/aml_host.bend as Hs
1520def in.ap.alias(~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>:
1521 match args:
1522 case Con{src, Con{dst, Nil{}}}:
1523 in.def.obj(H, in.path(dst), S.AmlOAlias{in.path(src)}, c, fs, w)
1524 case _:
1525 in.bad(H, 6, c, fs, w)