Collect multi name handling.
Reported by : Stephan Kulow <coolo@caldera.de>
This commit is contained in:
parent
dad51e5ce8
commit
7e489a2fdd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85364
@ -371,6 +371,7 @@ asl_dump_field(u_int8_t **dpp, u_int32_t offset)
|
|||||||
case 'A' ... 'Z':
|
case 'A' ... 'Z':
|
||||||
case '_':
|
case '_':
|
||||||
case '.':
|
case '.':
|
||||||
|
case '/':
|
||||||
name = asl_dump_namestring(&dp);
|
name = asl_dump_namestring(&dp);
|
||||||
width = asl_dump_pkglength(&dp);
|
width = asl_dump_pkglength(&dp);
|
||||||
offset += width;
|
offset += width;
|
||||||
@ -751,6 +752,7 @@ asl_dump_termobj(u_int8_t **dpp, int indent)
|
|||||||
case 'A' ... 'Z':
|
case 'A' ... 'Z':
|
||||||
case '_':
|
case '_':
|
||||||
case '.':
|
case '.':
|
||||||
|
case '/':
|
||||||
dp--;
|
dp--;
|
||||||
print_namestring((name = asl_dump_namestring(&dp)));
|
print_namestring((name = asl_dump_namestring(&dp)));
|
||||||
if (scope_within_method == 1) {
|
if (scope_within_method == 1) {
|
||||||
|
@ -703,6 +703,7 @@ aml_parse_field(struct aml_environ *env, struct aml_field *template)
|
|||||||
case 'A'...'Z':
|
case 'A'...'Z':
|
||||||
case '_':
|
case '_':
|
||||||
case '.':
|
case '.':
|
||||||
|
case '/':
|
||||||
name = aml_parse_namestring(env);
|
name = aml_parse_namestring(env);
|
||||||
width = aml_parse_pkglength(env);
|
width = aml_parse_pkglength(env);
|
||||||
template->bitlen = width;
|
template->bitlen = width;
|
||||||
@ -1309,6 +1310,7 @@ aml_parse_termobj(struct aml_environ *env, int indent)
|
|||||||
case 'A' ... 'Z':
|
case 'A' ... 'Z':
|
||||||
case '_':
|
case '_':
|
||||||
case '.':
|
case '.':
|
||||||
|
case '/':
|
||||||
env->dp--;
|
env->dp--;
|
||||||
ret->type = aml_t_namestr;
|
ret->type = aml_t_namestr;
|
||||||
ret->nstr.dp = aml_parse_namestring(env);
|
ret->nstr.dp = aml_parse_namestring(env);
|
||||||
|
Loading…
Reference in New Issue
Block a user