AmlNs.AmlObject: type of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNs Lines 16-41 of bend-osdev-acpi@0.1.1.0/aml_ns.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_ns.bend&start_line=16&end_line=41 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 type AmlObject is Data: # Name(): a data object AmlOData{v: V.AmlValue} # Method(): its argument count, its flags byte and its body (AML bytes) AmlOMethod{nargs: Nat, flags: U32, body: B.Octets} # Scope, Device, Processor, PowerResource, ThermalZone: the ObjectType # code (0 for a plain scope) AmlOScope{kind: U32} # OperationRegion(): address space, offset, length; parent: the scope # that holds it (its device's _ADR gives a PCI region its function) AmlORegion{space: U32, offset: W.W64, length: W.W64, parent: String} # a field unit of a region: bit offset and width, the field's flags # (access type, lock rule, update rule) and access attribute AmlOField{region: String, bit_off: Nat, bits: Nat, flags: U32} # a field unit reached through an index register and a data register AmlOIndexField{index: String, data: String, bit_off: Nat, bits: Nat, flags: U32} # a field of a buffer (CreateBitField and the others): the buffer's # location, bit offset and width AmlOBufField{buf: V.AmlLoc, bit_off: Nat, bits: Nat} AmlOMutex{sync: U32} AmlOEvent{} AmlOAlias{target: String} # an object the interpreter provides: 1 is \_OSI AmlOBuiltin{id: U32} # declared by External, not defined in the tables read AmlOExternal{kind: U32} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_value.bend&name=AmlLoc https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_value.bend&name=AmlValue https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64