type AmlFieldElem

bend-osdev-acpi@0.1.1.0 · aml_term.bend:34

import bend-osdev-acpi@0.1.1.0/aml_term.bend as AmlTerm
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

34# Field elements (20.2.5.2, FieldList)
35type AmlFieldElem is Data:
36  # NamedField: a NameSeg and its width in bits
37  AmlFNamed{seg: B.Octets, bits: U32}
38  # ReservedField (ASL Offset): bits skipped
39  AmlFReserved{bits: U32}
40  # AccessField: access type and attribute from here on
41  AmlFAccess{access_type: U32, attrib: U32}

Uses (2)

Used by (5)