svn commit: r339171 - in vendor-sys/acpica/dist: . source/compiler source/include
Jung-uk Kim
jkim at FreeBSD.org
Wed Oct 3 17:57:08 UTC 2018
Author: jkim
Date: Wed Oct 3 17:57:05 2018
New Revision: 339171
URL: https://svnweb.freebsd.org/changeset/base/339171
Log:
Import ACPICA 20181003.
Modified:
vendor-sys/acpica/dist/changes.txt
vendor-sys/acpica/dist/source/compiler/aslmessages.c
vendor-sys/acpica/dist/source/compiler/aslmessages.h
vendor-sys/acpica/dist/source/compiler/aslopt.c
vendor-sys/acpica/dist/source/compiler/asltransform.c
vendor-sys/acpica/dist/source/include/acpixf.h
Modified: vendor-sys/acpica/dist/changes.txt
==============================================================================
--- vendor-sys/acpica/dist/changes.txt Wed Oct 3 17:40:04 2018 (r339170)
+++ vendor-sys/acpica/dist/changes.txt Wed Oct 3 17:57:05 2018 (r339171)
@@ -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:
Modified: vendor-sys/acpica/dist/source/compiler/aslmessages.c
==============================================================================
--- vendor-sys/acpica/dist/source/compiler/aslmessages.c Wed Oct 3 17:40:04 2018 (r339170)
+++ vendor-sys/acpica/dist/source/compiler/aslmessages.c Wed Oct 3 17:57:05 2018 (r339171)
@@ -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 */
Modified: vendor-sys/acpica/dist/source/compiler/aslmessages.h
==============================================================================
--- vendor-sys/acpica/dist/source/compiler/aslmessages.h Wed Oct 3 17:40:04 2018 (r339170)
+++ vendor-sys/acpica/dist/source/compiler/aslmessages.h Wed Oct 3 17:57:05 2018 (r339171)
@@ -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 */
Modified: vendor-sys/acpica/dist/source/compiler/aslopt.c
==============================================================================
--- vendor-sys/acpica/dist/source/compiler/aslopt.c Wed Oct 3 17:40:04 2018 (r339170)
+++ vendor-sys/acpica/dist/source/compiler/aslopt.c Wed Oct 3 17:57:05 2018 (r339171)
@@ -522,7 +522,6 @@ OptBuildShortestPath (
Cleanup:
- ACPI_FREE (NewPathExternal);
return (Status);
}
Modified: vendor-sys/acpica/dist/source/compiler/asltransform.c
==============================================================================
--- vendor-sys/acpica/dist/source/compiler/asltransform.c Wed Oct 3 17:40:04 2018 (r339170)
+++ vendor-sys/acpica/dist/source/compiler/asltransform.c Wed Oct 3 17:57:05 2018 (r339171)
@@ -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 */
Modified: vendor-sys/acpica/dist/source/include/acpixf.h
==============================================================================
--- vendor-sys/acpica/dist/source/include/acpixf.h Wed Oct 3 17:40:04 2018 (r339170)
+++ vendor-sys/acpica/dist/source/include/acpixf.h Wed Oct 3 17:57:05 2018 (r339171)
@@ -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"
More information about the svn-src-vendor
mailing list