Module parse

Source
Expand description

Parsers for AML bytecode.

AML bytecode grammar is defined in §20.2. The top-level production is:

AMLCode := DefBlockHeader TermList

Everything in DefBlockHeader just repeats the fixed DescriptionHeader struct used in other tables, so there’s no reason to write a parser for it.

Modules§

data
Data objects, defined in §20.2.3
misc
Miscellaneous objects, defined in §20.2.6
name
Name objects, defined in §20.2.2
state
Parser context needed to disambiguate grammar
term
Terms, defined in §20.2.5

Traits§

AMLParseError
Trait “alias” for error type used by AML parsers
Parse
An object that can be parsed from AML bytecode

Functions§

parse_table
Parse an ACPI table that contains AML, including the header

Type Aliases§

AMLParseResult
Alias for type returned by AML parsers