type AmlObject
bend-osdev-acpi@0.1.1.0 · aml_ns.bend:16
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNs
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V
16type AmlObject is Data:
17
18 AmlOData{v: V.AmlValue}
19
20 AmlOMethod{nargs: Nat, flags: U32, body: B.Octets}
21
22
23 AmlOScope{kind: U32}
24
25
26 AmlORegion{space: U32, offset: W.W64, length: W.W64, parent: String}
27
28
29 AmlOField{region: String, bit_off: Nat, bits: Nat, flags: U32}
30
31 AmlOIndexField{index: String, data: String, bit_off: Nat, bits: Nat, flags: U32}
32
33
34 AmlOBufField{buf: V.AmlLoc, bit_off: Nat, bits: Nat}
35 AmlOMutex{sync: U32}
36 AmlOEvent{}
37 AmlOAlias{target: String}
38
39 AmlOBuiltin{id: U32}
40
41 AmlOExternal{kind: U32}