AmlInterp.AmlMachine.halted: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp Lines 146-154 of bend-osdev-acpi@0.1.1.0/aml_interp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&start_line=146&end_line=154 import Base # the machine has stopped: Done or Fail def AmlMachine.halted(-H: Data, m: AmlMachine) -> Bool: match m: case AmlMachine{AmlMDone{v}, c, fs, w}: True{} case AmlMachine{AmlMFail{e}, c, fs, w}: True{} case AmlMachine{md, c, fs, w}: False{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlMachine https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlMode