def nm.seg

bend-osdev-acpi@0.1.1.0 · aml_name.bend:223

import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlName
import Base
import bend-osdev-acpi@0.1.1.0/error.bend as E

223def nm.seg(xs: List<&2, U32>) -> Result<&2, &2, E.AcpiError, AmlSegL>:
224  match xs:
225    case Con{+c0, Con{+c1, Con{+c2, Con{+c3, t}}}}:
226      nm.seg.pick(nm.seg_ok4(c0, c1, c2, c3), c0, c1, c2, c3, t)
227    case _:
228      Fail{E.AcpiAmlTruncated{}}

Uses (7)

Used by (6)