Aml.Aml.boot: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml.bend as Aml Lines 195-203 of bend-osdev-acpi@0.1.1.0/aml.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml.bend&start_line=195&end_line=203 import Base import bend-osdev-acpi@0.1.1.0/error.bend as E import bend-osdev-acpi@0.1.1.0/dsdt.bend as D import bend-osdev-acpi@0.1.1.0/aml_host.bend as Hs import bend-osdev-acpi@0.1.1.0/aml_interp.bend as I # the namespace of a machine's tables: the DSDT, then each SSDT, each # loaded in at most n steps; the integer width is the DSDT's (the first # table's) def Aml.boot(~H: Data, ~io: H -> Hs.AmlHostOp -> Result<&2, &2, E.AcpiError, Hs.AmlHostAns>, opts: I.AmlOptions, host: H, ts: List<&2, D.AcpiAml>, +n: Nat) -> Result<&2, &2, E.AcpiError, AmlSystem>: match ts: case Nil{}: Done{AmlSystem.new(H, opts, True{}, host)} case Con{+t, rest}: aml.boot.go(~H, ~io, Con{t, rest}, n, Done{AmlSystem.new(H, opts, D.AcpiAml.wide(t), host)}) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml.bend&name=AmlSystem https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml.bend&name=AmlSystem.new https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml.bend&name=aml.boot.go https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_host.bend&name=AmlHostAns https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_host.bend&name=AmlHostOp https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlOptions https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/dsdt.bend&name=AcpiAml https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/dsdt.bend&name=AcpiAml.wide https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/error.bend&name=AcpiError