summaryrefslogtreecommitdiff
path: root/source/compiler/aslcompiler.y
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2019-12-13 16:51:08 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2019-12-13 16:51:08 +0000
commit856462eaaec9052a60d62b66076257e7fad337c7 (patch)
treef331b79154052fd6dc5f70c176975966370af8d9 /source/compiler/aslcompiler.y
parent858f47305dae045d81f39451ade697ba99b3266f (diff)
Notes
Diffstat (limited to 'source/compiler/aslcompiler.y')
-rw-r--r--source/compiler/aslcompiler.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/compiler/aslcompiler.y b/source/compiler/aslcompiler.y
index c767c89a4337..8f0a512e8539 100644
--- a/source/compiler/aslcompiler.y
+++ b/source/compiler/aslcompiler.y
@@ -3442,7 +3442,7 @@ AddressKeyword
;
AddressSpaceKeyword
- : ByteConst {$$ = UtCheckIntegerRange ($1, 0x0A, 0xFF);}
+ : ByteConst {$$ = UtCheckIntegerRange ($1, ACPI_NUM_PREDEFINED_REGIONS, 0xFF);}
| RegionSpaceKeyword {}
;
@@ -4843,7 +4843,6 @@ OptionalXferSize
/* Local support functions in C */
-
/******************************************************************************
*
* Local support functions
@@ -4918,4 +4917,3 @@ UtGetOpName (
return ("[Unknown parser generator]");
#endif
}
-