diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-10-03 17:57:05 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-10-03 17:57:05 +0000 |
commit | 98117aa0347721c1b33897e435818da3673040ca (patch) | |
tree | 7b4084951c17201963b5099e6d92e11529a026fc /source/compiler/asltransform.c | |
parent | 73d55968743da26d1ff63e9939f191d217aea206 (diff) |
Notes
Diffstat (limited to 'source/compiler/asltransform.c')
-rw-r--r-- | source/compiler/asltransform.c | 10 |
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 */ |