Import ACPICA 20181003.

This commit is contained in:
Jung-uk Kim 2018-10-03 17:57:05 +00:00
parent 73d5596874
commit 98117aa034
6 changed files with 28 additions and 3 deletions

View File

@ -1,3 +1,17 @@
----------------------------------------
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:

View File

@ -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 */

View File

@ -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 */

View File

@ -522,7 +522,6 @@ OptBuildShortestPath (
Cleanup:
ACPI_FREE (NewPathExternal);
return (Status);
}

View File

@ -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 */

View File

@ -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"