aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--changes.txt14
-rw-r--r--source/compiler/aslmessages.c3
-rw-r--r--source/compiler/aslmessages.h1
-rw-r--r--source/compiler/aslopt.c1
-rw-r--r--source/compiler/asltransform.c10
-rw-r--r--source/include/acpixf.h2
6 files changed, 28 insertions, 3 deletions
diff --git a/changes.txt b/changes.txt
index c416898bb48e..c84aab623809 100644
--- a/changes.txt
+++ b/changes.txt
@@ -1,4 +1,18 @@
----------------------------------------
+03 October 2018. Summary of changes for version 20181003:
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+Fixed a regression introduced in version 20180927 that could cause the
+compiler to fault, especially with NamePaths containing one or more
+carats (^). Such as: ^^_SB_PCI0
+
+Added a new remark for the Sleep() operator when the sleep time operand
+is larger than one second. This is a very long time for the ASL/BIOS code
+and may not be what was intended by the ASL writer.
+
+----------------------------------------
27 September 2018. Summary of changes for version 20180927:
diff --git a/source/compiler/aslmessages.c b/source/compiler/aslmessages.c
index efa58cb50cff..14e140b2f1ba 100644
--- a/source/compiler/aslmessages.c
+++ b/source/compiler/aslmessages.c
@@ -358,7 +358,8 @@ const char *AslCompilerMsgs [] =
/* ASL_MSG_OEM_TABLE_ID */ "Invalid OEM Table ID",
/* ASL_MSG_OEM_ID */ "Invalid OEM ID",
/* ASL_MSG_UNLOAD */ "Unload is not supported by all operating systems",
-/* ASL_MSG_OFFSET */ "Unnecessary/redundant use of Offset operator"
+/* ASL_MSG_OFFSET */ "Unnecessary/redundant use of Offset operator",
+/* ASL_MSG_LONG_SLEEP */ "Very long Sleep, greater than 1 second"
};
/* Table compiler */
diff --git a/source/compiler/aslmessages.h b/source/compiler/aslmessages.h
index 5030a81780da..907744a23a57 100644
--- a/source/compiler/aslmessages.h
+++ b/source/compiler/aslmessages.h
@@ -361,6 +361,7 @@ typedef enum
ASL_MSG_OEM_ID,
ASL_MSG_UNLOAD,
ASL_MSG_OFFSET,
+ ASL_MSG_LONG_SLEEP,
/* These messages are used by the Data Table compiler only */
diff --git a/source/compiler/aslopt.c b/source/compiler/aslopt.c
index 4e53a4b0ac4c..0f5ce5fd2845 100644
--- a/source/compiler/aslopt.c
+++ b/source/compiler/aslopt.c
@@ -522,7 +522,6 @@ OptBuildShortestPath (
Cleanup:
- ACPI_FREE (NewPathExternal);
return (Status);
}
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 */
diff --git a/source/include/acpixf.h b/source/include/acpixf.h
index ea92eb46d3c4..aaf284cb2bad 100644
--- a/source/include/acpixf.h
+++ b/source/include/acpixf.h
@@ -154,7 +154,7 @@
/* Current ACPICA subsystem version in YYYYMMDD format */
-#define ACPI_CA_VERSION 0x20180927
+#define ACPI_CA_VERSION 0x20181003
#include "acconfig.h"
#include "actypes.h"