def in.string

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

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

2149# a String: its bytes up to the NUL
2150def in.string(-H: Data, +c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2151  match c:
2152    case AmlCur{+code, +lim}:
2153      in.str.give(H, in.str.go(lim, code, in.str.z(code), Nil{}, 0n), AmlCur{code, lim}, fs, w)

Uses (8)

Used by (1)