type AmlFrame

bend-osdev-acpi@0.1.1.0 · aml_interp.bend:83

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V

83type AmlFrame is Data:
84  AmlFArgs{op: AmlOp, got: List<&2, V.AmlValue>, todo: List<&2, AmlArgK>}
85  # a nested term list (Scope, Device, Else, ...): where to resume, and the
86  # scope to restore
87  AmlFSeq{after: AmlCur, scope: String}
88  # an If whose predicate is being read
89  AmlFIf{after: AmlCur}
90  # an If whose body is running
91  AmlFIfBody{after: AmlCur}
92  # a While: its predicate's start, what follows it, and whether the body
93  # is running (else the predicate is being read)
94  AmlFWhile{start: AmlCur, after: AmlCur, body: Bool}
95  # a method call's return point
96  AmlFCall{ctx: AmlCtx, back: AmlCur}
97  # a Buffer whose size is being read; the rest of its package is its
98  # initializer
99  AmlFBuffer{after: AmlCur}
100  # a Package: its NumElements, the elements so far (last first)
101  AmlFPkg{count: Nat, got: List<&2, V.AmlValue>, after: AmlCur}
102  # a VarPackage whose count is being read
103  AmlFVarPkg{after: AmlCur}
104  # the bottom: the definition block, or the method evaluated
105  AmlFTop{}

Uses (9)

Used by (127)