type AmlLoc

bend-osdev-acpi@0.1.1.0 · aml_value.bend:10

import bend-osdev-acpi@0.1.1.0/aml_value.bend as AmlValue
import Base

10# Where a value lives, for Store, RefOf and Index
11type AmlLoc is Data:
12  # a named object, by its absolute path ("\_SB_.PCI0.FOO_")
13  AmlLName{path: String}
14  AmlLLocal{i: Nat}
15  AmlLArg{i: Nat}
16  # element i of the buffer, string or package at a location
17  AmlLIndex{base: AmlLoc, i: Nat}
18  # element i of a value that has no location (Index of a temporary)
19  AmlLElem{v: AmlValue, i: Nat}
20  AmlLDebug{}
21  # the NullName target: results stored there are dropped
22  AmlLNone{}

Uses (3)

Used by (34)