aml_field.bend checks
raw source on the hub · import bend-osdev-acpi@0.1.0.0/aml_field.bend as Aml_field
bend-osdev-acpi, aml_field.bend: reading and writing field units (ACPI 6.5, chapter 19, Field; and section 5.5.2.4, Access to Operation Regions) and buffer fields (chapter 19, CreateBitField and the others).
A field unit is bits [bit_off, bit_off + bits) of its region, read and written in units of its access width (FieldFlags bits 0-3: ByteAcc 1 byte, WordAcc 2, DWordAcc 4, QWordAcc 8; AnyAcc and BufferAcc are read a byte at a time). A unit the field covers only in part is written by its update rule (bits 5-6: Preserve reads the unit first, WriteAsOnes and WriteAsZeros fill the other bits). A unit outside the region is refused (AcpiAmlRange). Fields up to 64 bits are Integers; wider fields, and wider buffer fields, are Buffers.
5 imports
import Base import bend-osdev-word64@0.1.0.0/word64.bend as W import bend-osdev-bytes@0.1.0.0/bytes.bend as B import ./error.bend as E import ./aml_host.bend as Hs
Types
type AmlFieldDesc source · line 20 · raw
Data
a field unit, with its region resolved
AmlFieldDesc@space:U32 -> @base:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @rlen:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @bit_off:Nat -> @bits:Nat -> @flags:U32 -> AmlFieldDesc
type AmlUnit source · line 59 · raw
Data
one unit: its address, and the part of the field it holds
AmlUnit@addr:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @s:Nat -> @n:Nat -> @d:Nat -> @fits:Bool -> AmlUnit
addr: the unit's address; s: the field's first bit in it; n: how many field bits it holds; d: where they go in the field's value
type AmlFieldBuf source · line 226 · raw
@-H:Data -> Data
AmlFieldBuf@-H:Data -> @host:H -> @value:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> AmlFieldBuf<H>
Definitions
def fld.width.go source · line 23 · raw
@a:Nat -> Nat
def AmlField.unit source · line 35 · raw
@+flags:U32 -> Nat
the access width in bytes, from the field flags
def AmlField.update_rule source · line 38 · raw
@+flags:U32 -> U32
def fld.mask.pick source · line 41 · raw
@all:Bool -> @+n:Nat -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
def fld.mask source · line 49 · raw
@+n:Nat -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
n low bits set
def fld.min source · line 52 · raw
@+a:Nat -> @+b:Nat -> Nat
def fld.max source · line 55 · raw
@+a:Nat -> @+b:Nat -> Nat
def fld.unit source · line 64 · raw
@+f:AmlFieldDesc -> @+k:Nat -> AmlUnit
def fld.first source · line 74 · raw
@+f:AmlFieldDesc -> Nat
def fld.count source · line 79 · raw
@+f:AmlFieldDesc -> Nat
def fld.space source · line 85 · raw
@f:AmlFieldDesc -> U32
def fld.flags source · line 90 · raw
@f:AmlFieldDesc -> U32
def fld.bits source · line 95 · raw
@f:AmlFieldDesc -> Nat
def fld.access source · line 100 · raw
@+f:AmlFieldDesc -> @+addr:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlAccess
def AmlUnit.addr source · line 103 · raw
@u:AmlUnit -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
def AmlUnit.fits source · line 108 · raw
@u:AmlUnit -> Bool
def AmlUnit.hole source · line 114 · raw
@u:AmlUnit -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
the unit's own bits that belong to the field
def AmlUnit.take source · line 121 · raw
@u:AmlUnit -> @+v:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
the field bits a unit holds, from the unit's value v, in place in the field's value
def AmlUnit.put source · line 127 · raw
@u:AmlUnit -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
the unit's share of the field's value x, in place in the unit
def AmlUnit.whole source · line 133 · raw
@u:AmlUnit -> @+w:Nat -> Bool
the unit is the field's alone (no other bits to keep)
def fld.rd.next source · line 145 · raw
@-H:Data -> @+u:AmlUnit -> @+acc:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
def fld.byte source · line 221 · raw
@+f:AmlFieldDesc -> @+j:Nat -> AmlFieldDesc
def fld.rev source · line 229 · raw
@xs:List<&2, U32> -> @acc:List<&2, U32> -> List<&2, U32>
def fld.nbytes source · line 252 · raw
@+f:AmlFieldDesc -> Nat
def fld.bit source · line 276 · raw
@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+i:Nat -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
def fld.bits.get source · line 279 · raw
@n:Nat -> @+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+i:Nat -> @+k:Nat -> @acc:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64
def fld.bits.pick source · line 286 · raw
@ok:Bool -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64>
def AmlBits.get source · line 295 · raw
@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+off:Nat -> @+n:Nat -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64>
bits [off, off + n) of o (n at most 64), as an integer; AcpiAmlRange if they run past o
def fld.bits.one source · line 298 · raw
@on:Bool -> @+old:U32 -> @+bit:U32 -> U32
def fld.bits.set source · line 305 · raw
@n:Nat -> @xs:List<&2, U32> -> @+i:Nat -> @+k:Nat -> @+v:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> List<&2, U32>
def fld.bufs.pick source · line 317 · raw
@ok:Bool -> @+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+off:Nat -> @n:Nat -> @+v:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>
def AmlBits.set source · line 325 · raw
@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+off:Nat -> @+n:Nat -> @+v:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets>
o with bits [off, off + n) set from the low n bits of v (n at most 64)
def fld.bitsb.get source · line 328 · raw
@n:Nat -> @+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+i:Nat -> @acc:List<&2, U32> -> List<&2, U32>
def AmlBits.get_buf source · line 337 · raw
@+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @+off:Nat -> @+n:Nat -> 0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets
bits [off, off + n) of o as a Buffer of ceil(n / 8) bytes (the last byte's high bits are the bits that follow the field; callers mask them)
Templates
template fld.rd.unit source · line 138 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @fits:Bool -> @h:H -> @+a:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlAccess -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template fld.rd source · line 153 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @n:Nat -> @+f:AmlFieldDesc -> @+k:Nat -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
units k .. k + n - 1, read and joined into the value in r
template AmlField.read_int source · line 166 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+f:AmlFieldDesc -> @h:H -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
the value of a field unit of at most 64 bits
template fld.keep source · line 173 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @whole:Bool -> @rule:Nat -> @h:H -> @+a:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlAccess -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
the unit's bits that are not the field's, by the update rule: read (Preserve), all ones, all zeros
template fld.wr.unit source · line 186 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> @+u:AmlUnit -> @+a:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlAccess -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template fld.wr.fits source · line 193 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @fits:Bool -> @h:H -> @+f:AmlFieldDesc -> @+u:AmlUnit -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template fld.wr source · line 203 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @n:Nat -> @+f:AmlFieldDesc -> @+k:Nat -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
units k .. k + n - 1 written with their share of x
template AmlField.write_int source · line 216 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+f:AmlFieldDesc -> @h:H -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
a field unit of at most 64 bits set to x (its low bits)
template fld.bytes.rd source · line 237 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @n:Nat -> @+f:AmlFieldDesc -> @+j:Nat -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> @acc:List<&2, U32> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, AmlFieldBuf<H>>
bytes j .. j + n of the field; r: the read of byte j - 1
template AmlField.read_buf source · line 256 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+f:AmlFieldDesc -> @h:H -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, AmlFieldBuf<H>>
a field unit of any width, as a Buffer of its bytes
template fld.bytes.wr source · line 259 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @n:Nat -> @+f:AmlFieldDesc -> @+j:Nat -> @+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template AmlField.write_buf source · line 271 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+f:AmlFieldDesc -> @h:H -> @+o:0x9df7f91779a4a1c215bfa96cd0864601/bytes.Octets -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
a field unit of any width set from the bytes of o (zeros past its end)
template fld.ix.rd.k source · line 347 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+dat:AmlFieldDesc -> @+u:AmlUnit -> @+acc:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template fld.ix.rd source · line 354 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @n:Nat -> @+idx:AmlFieldDesc -> @+dat:AmlFieldDesc -> @+f:AmlFieldDesc -> @+k:Nat -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template AmlField.read_indexed source · line 366 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+idx:AmlFieldDesc -> @+dat:AmlFieldDesc -> @+f:AmlFieldDesc -> @h:H -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template fld.ix.data source · line 369 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+dat:AmlFieldDesc -> @+u:AmlUnit -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template fld.ix.wr source · line 376 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @n:Nat -> @+idx:AmlFieldDesc -> @+dat:AmlFieldDesc -> @+f:AmlFieldDesc -> @+k:Nat -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> @r:Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>> -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>
template AmlField.write_indexed source · line 388 · raw
@-H:Data -> @-io:(@_:H -> @_:0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostOp -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>) -> @+idx:AmlFieldDesc -> @+dat:AmlFieldDesc -> @+f:AmlFieldDesc -> @h:H -> @+x:0x44cf1401f78136bfc15c4c5be1cd20f0/word64.W64 -> Result<&2, &2, 0x29fa0aa629b7afe02bc50bfd713bc39b/error.AcpiError, 0x29fa0aa629b7afe02bc50bfd713bc39b/aml_host.AmlHostAns<H>>