1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Import ACPICA 20150410.

This commit is contained in:
Jung-uk Kim 2015-04-10 17:54:53 +00:00
parent d29c30140b
commit 2a91972d59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor-sys/acpica/dist/; revision=281374
svn path=/vendor-sys/acpica/20150410/; revision=281375; tag=vendor/acpica/20150410
3 changed files with 8 additions and 31 deletions

View File

@ -1,3 +1,10 @@
----------------------------------------
10 April 2015. Summary of changes for version 20150410:
Reverted a change introduced in version 20150408 that caused
a regression in the disassembler where incorrect operator
symbols could be emitted.
----------------------------------------
08 April 2015. Summary of changes for version 20150408:

View File

@ -114,20 +114,12 @@ AcpiDmCheckForSymbolicOpcode (
Child1 = AcpiPsGetArg (Op, 0);
if (!Child1)
{
/* Parse tree may be confused or corrupted */
return (FALSE);
}
/* Get the second operand */
Child2 = Child1->Common.Next;
if (!Child2)
{
/* Parse tree may be confused or corrupted */
return (FALSE);
}
/* Setup the operator string for this opcode */
@ -307,16 +299,8 @@ AcpiDmCheckForSymbolicOpcode (
/* Target is 3rd operand */
Target = Child2->Common.Next;
if (Op->Common.AmlOpcode == AML_DIVIDE_OP)
{
if (!Target)
{
/* Parse tree may be confused or corrupted */
return (FALSE);
}
/*
* Divide has an extra target operand (Remainder).
* If this extra target is specified, it cannot be converted
@ -419,13 +403,6 @@ AcpiDmCheckForSymbolicOpcode (
/* Target is optional, 3rd operand */
Target = Child2->Common.Next;
if (!Target)
{
/* Parse tree may be confused or corrupted */
return (FALSE);
}
if (AcpiDmIsValidTarget (Target))
{
AcpiDmPromoteTarget (Op, Target);
@ -446,13 +423,6 @@ AcpiDmCheckForSymbolicOpcode (
* source so that the target is processed first.
*/
Target = Child1->Common.Next;
if (!Target)
{
/* Parse tree may be confused or corrupted */
return (FALSE);
}
AcpiDmPromoteTarget (Op, Target);
if (!Target->Common.OperatorSymbol)

View File

@ -46,7 +46,7 @@
/* Current ACPICA subsystem version in YYYYMMDD format */
#define ACPI_CA_VERSION 0x20150408
#define ACPI_CA_VERSION 0x20150410
#include "acconfig.h"
#include "actypes.h"