Skip to content

AML: Handle NullName in NameString #196

Open
@alnyan

Description

@alnyan

ACPI 6.2, section 20.2.2 defines NameString as follows:

NameString := <RootChar NamePath> | <PrefixPath NamePath>
PrefixPath := Nothing | <'^' PrefixPath>
NamePath := NameSeg | DualNamePath | MultiNamePath | NullName 

In the name_string() parser, there currently is a check for an empty NamePath throwing an error if the length of the path parsed by name_path() is zero, which prevents the parser from handling NullNames properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions