summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2001-10-23 14:54:15 +0000
committertakawata <takawata@FreeBSD.org>2001-10-23 14:54:15 +0000
commit07757cfc52a147589642e6e500d709d956c83254 (patch)
tree565c5c8ead5ec1ba42b77bacec14fa89d5dae5ca /usr.sbin
parent5106c4a5345e5d56ae3c2511585b4c54be1baf2d (diff)
downloadFreeBSD-src-07757cfc52a147589642e6e500d709d956c83254.zip
FreeBSD-src-07757cfc52a147589642e6e500d709d956c83254.tar.gz
Collect multi name handling.
Reported by : Stephan Kulow <coolo@caldera.de>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/acpi/acpidump/asl_dump.c2
-rw-r--r--usr.sbin/acpi/amldb/aml/aml_parse.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/acpi/acpidump/asl_dump.c b/usr.sbin/acpi/acpidump/asl_dump.c
index 58f71f6..25f6777 100644
--- a/usr.sbin/acpi/acpidump/asl_dump.c
+++ b/usr.sbin/acpi/acpidump/asl_dump.c
@@ -371,6 +371,7 @@ asl_dump_field(u_int8_t **dpp, u_int32_t offset)
case 'A' ... 'Z':
case '_':
case '.':
+ case '/':
name = asl_dump_namestring(&dp);
width = asl_dump_pkglength(&dp);
offset += width;
@@ -751,6 +752,7 @@ asl_dump_termobj(u_int8_t **dpp, int indent)
case 'A' ... 'Z':
case '_':
case '.':
+ case '/':
dp--;
print_namestring((name = asl_dump_namestring(&dp)));
if (scope_within_method == 1) {
diff --git a/usr.sbin/acpi/amldb/aml/aml_parse.c b/usr.sbin/acpi/amldb/aml/aml_parse.c
index 348c616..83eb34f 100644
--- a/usr.sbin/acpi/amldb/aml/aml_parse.c
+++ b/usr.sbin/acpi/amldb/aml/aml_parse.c
@@ -703,6 +703,7 @@ aml_parse_field(struct aml_environ *env, struct aml_field *template)
case 'A'...'Z':
case '_':
case '.':
+ case '/':
name = aml_parse_namestring(env);
width = aml_parse_pkglength(env);
template->bitlen = width;
@@ -1309,6 +1310,7 @@ aml_parse_termobj(struct aml_environ *env, int indent)
case 'A' ... 'Z':
case '_':
case '.':
+ case '/':
env->dp--;
ret->type = aml_t_namestr;
ret->nstr.dp = aml_parse_namestring(env);
OpenPOWER on IntegriCloud