aboutsummaryrefslogtreecommitdiffstats
path: root/source/compiler/asltransform.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2018-10-03 17:57:05 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2018-10-03 17:57:05 +0000
commit98117aa0347721c1b33897e435818da3673040ca (patch)
tree7b4084951c17201963b5099e6d92e11529a026fc /source/compiler/asltransform.c
parent73d55968743da26d1ff63e9939f191d217aea206 (diff)
downloadsrc-98117aa0347721c1b33897e435818da3673040ca.tar.gz
src-98117aa0347721c1b33897e435818da3673040ca.zip
Import ACPICA 20181003.vendor/acpica/20181003
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=339171 svn path=/vendor-sys/acpica/20181003/; revision=339172; tag=vendor/acpica/20181003
Diffstat (limited to 'source/compiler/asltransform.c')
-rw-r--r--source/compiler/asltransform.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/compiler/asltransform.c b/source/compiler/asltransform.c
index 3249e367957c..324b0364dc9d 100644
--- a/source/compiler/asltransform.c
+++ b/source/compiler/asltransform.c
@@ -501,6 +501,16 @@ TrTransformSubtree (
AslError (ASL_WARNING, ASL_MSG_UNLOAD, Op, NULL);
break;
+ case PARSEOP_SLEEP:
+
+ /* Remark for very long sleep values */
+
+ if (Op->Asl.Child->Asl.Value.Integer > 1000)
+ {
+ AslError (ASL_REMARK, ASL_MSG_LONG_SLEEP, Op, NULL);
+ }
+ break;
+
default:
/* Nothing to do here for other opcodes */