Refresh patches for 20150408 version of sources

Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
Al Stone 2015-04-10 15:49:17 -06:00
parent b26c566376
commit 938de560ff
11 changed files with 444 additions and 661 deletions

View File

@ -1,6 +1,7 @@
diff -Naur acpica-unix2-20140926/generate/unix/Makefile.config acpica-unix2-20140926-patch/generate/unix/Makefile.config
--- acpica-unix2-20140926/generate/unix/Makefile.config 2014-09-26 12:02:29.000000000 -0600
+++ acpica-unix2-20140926-patch/generate/unix/Makefile.config 2014-10-01 12:53:53.510530248 -0600
Index: src/generate/unix/Makefile.config
===================================================================
--- src.orig/generate/unix/Makefile.config
+++ src/generate/unix/Makefile.config
@@ -23,6 +23,9 @@
# OPT_CFLAGS can be overridden on the make command line by
# adding OPT_CFLAGS="..." to the invocation.
@ -11,7 +12,7 @@ diff -Naur acpica-unix2-20140926/generate/unix/Makefile.config acpica-unix2-2014
# Notes:
# gcc should be version 4 or greater, otherwise some of the options
# used will not be recognized.
@@ -43,7 +46,7 @@
@@ -43,7 +46,7 @@ CC = gcc
OBJDIR = obj
BINDIR = bin
COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $<
@ -20,7 +21,7 @@ diff -Naur acpica-unix2-20140926/generate/unix/Makefile.config acpica-unix2-2014
PREFIX ?= /usr
INSTALLDIR = $(PREFIX)/bin
UNAME_S := $(shell uname -s)
@@ -136,6 +139,11 @@
@@ -140,6 +143,11 @@ ACPICA_HEADERS = \
OPT_CFLAGS ?= $(CWARNINGFLAGS)
#

View File

@ -1,7 +1,8 @@
diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapits/tests/aapits/atexec.c
--- acpica-unix2-20130626/tests/aapits/atexec.c 2013-01-17 12:48:28.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/atexec.c 2013-07-25 13:44:23.023894441 -0600
@@ -639,6 +639,7 @@
Index: src/tests/aapits/atexec.c
===================================================================
--- src.orig/tests/aapits/atexec.c
+++ src/tests/aapits/atexec.c
@@ -639,6 +639,7 @@ AtBuildLocalFADT2 (
}
@ -9,7 +10,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
/*******************************************************************************
*
* FUNCTION: AtBuildLocalRSDT
@@ -757,8 +758,9 @@
@@ -757,6 +758,7 @@ AtBuildLocalRSDT (
LocalRSDT->Header.Checksum = (UINT8)~LocalRSDT->Header.Checksum;
}
}
@ -17,9 +18,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
/*******************************************************************************
*
* FUNCTION: AtBuildLocalXSDT
@@ -1424,7 +1426,7 @@
@@ -1424,7 +1426,7 @@ AeRegionHandler (
ACPI_WARNING ((AE_INFO,
"Request on [%4.4s] is beyond region limit Req-%X+%X, Base=%X, Len-%X\n",
(RegionObject->Region.Node)->Name.Ascii, (UINT32) Address,
@ -28,7 +27,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
return (AE_AML_REGION_LIMIT);
}
@@ -1799,7 +1801,9 @@
@@ -1799,7 +1801,9 @@ AtCheckInteger(
Path, Obj.Integer.Value, Value);
#else
printf ("API Error: Value of %s is 0x%llx instead of expected 0x%llx\n",
@ -39,7 +38,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
#endif
Status = AE_ERROR;
}
@@ -1878,7 +1878,7 @@
@@ -1878,7 +1882,7 @@ AtCheckString(
{
TestErrors++;
printf ("Test Error: cannot allocate buffer of %d bytes\n",
@ -48,7 +47,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
return (AE_NO_MEMORY);
}
Results.Pointer = Object;
@@ -1959,7 +1963,8 @@
@@ -1959,7 +1963,8 @@ AtCheckBuffer(
{
printf ("AtCheckBuffer: unexpected length %d of Buffer vs"
" calculated %d bytes\n",
@ -58,7 +57,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
}
/* Initialize the return buffer structure */
@@ -1968,7 +1973,7 @@
@@ -1968,7 +1973,7 @@ AtCheckBuffer(
{
TestErrors++;
printf ("Test Error: cannot allocate buffer of %d bytes\n",
@ -67,10 +66,11 @@ diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapi
return (AE_NO_MEMORY);
}
Results.Pointer = Object;
diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapits/tests/aapits/atinit.c
--- acpica-unix2-20130626/tests/aapits/atinit.c 2013-01-17 12:48:28.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/atinit.c 2013-07-25 13:20:19.706705960 -0600
@@ -3024,7 +3024,7 @@
Index: src/tests/aapits/atinit.c
===================================================================
--- src.orig/tests/aapits/atinit.c
+++ src/tests/aapits/atinit.c
@@ -3024,7 +3024,7 @@ AtInitTest0041(void)
AapiErrors++;
printf ("API Error: AcpiGetSystemInfo() returned"
" Length %d, expected %d\n",
@ -79,7 +79,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapi
return (AE_ERROR);
}
@@ -3046,7 +3046,7 @@
@@ -3046,7 +3046,7 @@ AtInitTest0041(void)
AapiErrors++;
printf ("API Error: AcpiGetSystemInfo() returned"
" Length %d, expected %d\n",
@ -88,7 +88,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapi
return (AE_ERROR);
}
@@ -3066,7 +3066,7 @@
@@ -3066,7 +3066,7 @@ AtInitTest0041(void)
AapiErrors++;
printf ("API Error: AcpiGetSystemInfo() returned"
" Length %d, expected %d\n",
@ -97,7 +97,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapi
return (AE_ERROR);
}
else if (OutBuffer.Pointer != &Info)
@@ -3149,7 +3149,7 @@
@@ -3149,7 +3149,7 @@ AtInitTest0042(void)
AapiErrors++;
printf ("API Error: AcpiGetSystemInfo() returned"
" Length %d, expected %d\n",
@ -106,7 +106,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapi
return (AE_ERROR);
}
else if (OutBuffer.Pointer != &Info)
@@ -3214,7 +3214,7 @@
@@ -3214,7 +3214,7 @@ AtInitTest0043(void)
AapiErrors++;
printf ("API Error: AcpiGetSystemInfo() returned"
" Length %d, expected %d\n",
@ -115,10 +115,11 @@ diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapi
return (AE_ERROR);
}
else
diff -urN acpica-unix2-20130626/tests/aapits/atmain.c acpica-unix2-20130626-aapits/tests/aapits/atmain.c
--- acpica-unix2-20130626/tests/aapits/atmain.c 2013-01-17 12:48:28.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/atmain.c 2013-07-25 13:18:22.083323948 -0600
@@ -346,7 +336,7 @@
Index: src/tests/aapits/atmain.c
===================================================================
--- src.orig/tests/aapits/atmain.c
+++ src/tests/aapits/atmain.c
@@ -345,7 +345,7 @@ ExecuteTest (
{
printf ("ACPICA API TS err: test num %ld of test case %ld"
" is not implemented\n",
@ -127,7 +128,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atmain.c acpica-unix2-20130626-aapi
return (AtRetNotImpl);
}
@@ -461,7 +451,7 @@
@@ -460,7 +460,7 @@ main(
if (test_case < 1 || test_case > AT_TEST_CASE_NUM)
{
printf ("ACPICA API TS err: test case %ld is out of range 1 - %d\n",
@ -136,7 +137,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atmain.c acpica-unix2-20130626-aapi
return (AtRetBadParam);
}
@@ -469,7 +459,7 @@
@@ -468,7 +468,7 @@ main(
if (test_num < 0 || test_num > AtTestCase[test_case].TestsNum)
{
printf ("ACPICA API TS err: test num %ld is out of range 0 - %d\n",
@ -145,10 +146,11 @@ diff -urN acpica-unix2-20130626/tests/aapits/atmain.c acpica-unix2-20130626-aapi
return (AtRetBadParam);
}
diff -urN acpica-unix2-20130626/tests/aapits/atnamespace.c acpica-unix2-20130626-aapits/tests/aapits/atnamespace.c
--- acpica-unix2-20130626/tests/aapits/atnamespace.c 2013-01-17 12:48:28.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/atnamespace.c 2013-07-25 13:24:15.366466707 -0600
@@ -2535,7 +2535,8 @@
Index: src/tests/aapits/atnamespace.c
===================================================================
--- src.orig/tests/aapits/atnamespace.c
+++ src/tests/aapits/atnamespace.c
@@ -2535,7 +2535,8 @@ AtGetObjectInfoTypeCommon(
#else
printf ("API Error: Address of %s (0x%llX) != (0x%llX)\n",
PathNames[2 * i + 1],
@ -158,7 +160,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atnamespace.c acpica-unix2-20130626
#endif
#else
printf ("API Error: Address of %s (0x%X) != (0x%X)\n",
@@ -2908,7 +2909,8 @@
@@ -2908,7 +2909,8 @@ AtGetNextObjectTypeCommon(
TestErrors++;
printf ("AtGetNextObjectTypeCommon: different numbers of entities"
"in TypesNames (%d) and LevelTypes0000 (%d)\n",
@ -168,7 +170,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atnamespace.c acpica-unix2-20130626
return (AE_ERROR);
}
@@ -4192,7 +4194,9 @@
@@ -4192,7 +4194,9 @@ AtCheckHandlePathMapping(
Pathname, Obj.Integer.Value, Value);
#else
printf ("API Error: Value of %s is 0x%llx instead of expected 0x%llx\n",
@ -179,7 +181,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atnamespace.c acpica-unix2-20130626
#endif
Status = AE_ERROR;
}
@@ -5199,7 +5203,7 @@
@@ -5199,7 +5203,7 @@ AtGetNameExceptionTest(
{
AapiErrors++;
printf ("API Error: AcpiOsAllocate(%d) returned NULL\n",
@ -188,10 +190,11 @@ diff -urN acpica-unix2-20130626/tests/aapits/atnamespace.c acpica-unix2-20130626
return (AE_ERROR);
}
}
diff -urN acpica-unix2-20130626/tests/aapits/atosxfctrl.c acpica-unix2-20130626-aapits/tests/aapits/atosxfctrl.c
--- acpica-unix2-20130626/tests/aapits/atosxfctrl.c 2013-01-17 12:48:28.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/atosxfctrl.c 2013-07-25 13:30:00.375492751 -0600
@@ -737,13 +737,15 @@
Index: src/tests/aapits/atosxfctrl.c
===================================================================
--- src.orig/tests/aapits/atosxfctrl.c
+++ src/tests/aapits/atosxfctrl.c
@@ -737,13 +737,15 @@ ACPI_OSXF_EMUL_REG
#if ACPI_MACHINE_WIDTH == 64
#ifdef _MSC_VER
printf("OsxfCtrlFingReg: unexpected Width %d of Reg 0x%I64x\n",
@ -208,7 +211,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atosxfctrl.c acpica-unix2-20130626-
return (NULL);
}
@@ -764,15 +766,19 @@
@@ -764,15 +766,19 @@ ACPI_OSXF_EMUL_REG
#ifdef _MSC_VER
printf("OsxfCtrlFingReg: intersection Regs (0x%I64x: 0x%x)"
" and (0x%I64x: 0x%x)\n",
@ -229,7 +232,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atosxfctrl.c acpica-unix2-20130626-
return (NULL);
}
}
@@ -786,13 +792,15 @@
@@ -786,13 +792,15 @@ ACPI_OSXF_EMUL_REG
#if ACPI_MACHINE_WIDTH == 64
#ifdef _MSC_VER
printf("OsxfCtrlFingReg: no memory for Reg (0x%I64x: 0x%x)\n",
@ -246,7 +249,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atosxfctrl.c acpica-unix2-20130626-
return (NULL);
}
Reg->Type = Type;
@@ -932,14 +940,19 @@
@@ -932,14 +940,19 @@ OsxfCtrlRegService(UINT32 ServiceFlag)
#if ACPI_MACHINE_WIDTH == 64
#ifdef _MSC_VER
printf("%.2u (%s Address 0x%I64x: Width %.2u) r/w counts: %u/%u\n",
@ -267,10 +270,11 @@ diff -urN acpica-unix2-20130626/tests/aapits/atosxfctrl.c acpica-unix2-20130626-
Reg = Reg->Next;
i++;
}
diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-aapits/tests/aapits/atresource.c
--- acpica-unix2-20130626/tests/aapits/atresource.c 2013-01-17 12:48:29.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/atresource.c 2013-07-25 13:25:49.423565947 -0600
@@ -174,7 +174,7 @@
Index: src/tests/aapits/atresource.c
===================================================================
--- src.orig/tests/aapits/atresource.c
+++ src/tests/aapits/atresource.c
@@ -174,7 +174,7 @@ AtRsrcTest0000(void)
AapiErrors++;
printf ("API Error: AcpiGetCurrentResources(%s) returned Length %d,"
" expected %d\n",
@ -279,7 +283,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-
return (AE_ERROR);
}
@@ -490,7 +490,7 @@
@@ -490,7 +490,7 @@ AtRsrcTest0005(void)
AapiErrors++;
printf ("API Error: AcpiGetCurrentResources(%s) returned Length %d,"
" expected %d\n",
@ -288,7 +292,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-
return (AE_ERROR);
}
@@ -689,7 +689,7 @@
@@ -689,7 +689,7 @@ AtRsrcTest0007(void)
AapiErrors++;
printf ("Api Error: Resource->Length (%d) != %d\n",
CurrentResource->Length,
@ -297,7 +301,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-
}
if (CurrentResource->Data.Irq.Triggering != 0) /* Level-Triggered */
@@ -981,7 +981,7 @@
@@ -981,7 +981,7 @@ AtRsrcTest0012(void)
AapiErrors++;
printf ("API Error: AcpiGetPossibleResources(%s) returned Length %d,"
" expected %d\n",
@ -306,7 +310,7 @@ diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-
return (AE_ERROR);
}
@@ -1923,7 +1923,7 @@
@@ -1923,7 +1923,7 @@ AtRsrcTest0026(void)
AapiErrors++;
printf ("API Error: AcpiGetIrqRoutingTable(%s) returned Length %d,"
" expected %d\n",
@ -315,15 +319,3 @@ diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-
return (AE_ERROR);
}
diff -urN acpica-unix2-20130626/tests/aapits/Makefile acpica-unix2-20130626-aapits/tests/aapits/Makefile
--- acpica-unix2-20130626/tests/aapits/Makefile 2013-01-17 12:48:29.000000000 -0700
+++ acpica-unix2-20130626-aapits/tests/aapits/Makefile 2013-07-25 15:17:09.309236422 -0600
@@ -199,7 +199,7 @@
CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_APITS -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../source/include
-acpiexec : $(patsubst %.c,%.o, $(SRCS))
+$(PROG) : $(patsubst %.c,%.o, $(SRCS))
$(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
CLEANFILES= $(PROG)

View File

@ -1,35 +0,0 @@
diff -Naur acpica/tests/aapits/Makefile acpica-patch/tests/aapits/Makefile
--- acpica/tests/aapits/Makefile 2014-11-07 10:48:14.000000000 -0700
+++ acpica-patch/tests/aapits/Makefile 2014-11-17 18:32:45.816167012 -0700
@@ -16,6 +16,7 @@
atosxfwrap.c \
osunixxf.c \
../../source/common/ahids.c \
+ ../../source/common/ahuuids.c \
../../source/common/cmfsize.c \
../../source/common/getopt.c \
../../source/components/hardware/hwtimer.c \
@@ -45,6 +46,7 @@
../../source/components/disassembler/dmresrcs.c \
../../source/components/disassembler/dmutils.c \
../../source/components/disassembler/dmwalk.c \
+ ../../source/components/disassembler/dmcstyle.c \
../../source/components/events/evevent.c \
../../source/components/events/evgpe.c \
../../source/components/events/evgpeblk.c \
@@ -174,6 +176,7 @@
../../source/components/utilities/utexcep.c \
../../source/components/utilities/utfileio.c \
../../source/components/utilities/utglobal.c \
+ ../../source/components/utilities/uthex.c \
../../source/components/utilities/utids.c \
../../source/components/utilities/utinit.c \
../../source/components/utilities/utlock.c \
@@ -189,6 +192,7 @@
../../source/components/utilities/utstate.c \
../../source/components/utilities/utstring.c \
../../source/components/utilities/uttrack.c \
+ ../../source/components/utilities/utuuid.c \
../../source/components/utilities/utxface.c \
../../source/components/utilities/utxferror.c \
../../source/components/utilities/utxfinit.c \

View File

@ -1,5 +1,5 @@
Name: acpica-tools
Version: 20150204
Version: 20150408
Release: 1%{?dist}
Summary: ACPICA tools for the development and debug of ACPI tables
@ -28,11 +28,10 @@ Patch1: debian-unaligned.patch
Patch2: name-miscompare.patch
Patch3: aapits-linux.patch
Patch4: asllookup-miscompare.patch
Patch5: aapits-makefile.patch
Patch6: re-enable-big-endian.patch
Patch7: OPT_LDFLAGS.patch
Patch8: int-format.patch
Patch9: f23-harden.patch
Patch5: re-enable-big-endian.patch
Patch6: OPT_LDFLAGS.patch
Patch7: int-format.patch
Patch8: f23-harden.patch
BuildRequires: bison patchutils flex
@ -88,11 +87,10 @@ gzip -dc %{SOURCE1} | tar -x --strip-components=1 -f -
%patch2 -p1 -b .name-miscompare
%patch3 -p1 -b .aapits-linux
%patch4 -p1 -b .asllookup-miscompare
%patch5 -p1 -b .aapits-makefile
%patch6 -p1 -b .re-enable-big-endian
%patch7 -p1 -b .OPT_LDFLAGS
%patch8 -p1 -b .int-format
%patch9 -p1 -b .f23-harden
%patch5 -p1 -b .re-enable-big-endian
%patch6 -p1 -b .OPT_LDFLAGS
%patch7 -p1 -b .int-format
%patch8 -p1 -b .f23-harden
cp -p %{SOURCE2} README.Fedora
cp -p %{SOURCE3} iasl.1
@ -197,6 +195,10 @@ fi
%changelog
* Fri Apr 10 2015 Al Stone <ahs3@redhat.com> - 20150408-1
- Update to latest upstream. Closes BZ#1190383
- Refresh patches
* Mon Mar 2 2015 Al Stone <ahs3@redhat.com> - 20150204-1
- Update to latest upstream. Closes BZ#1190383
- Refresh patches

View File

@ -1,7 +1,8 @@
diff -urN acpica-unix2-20140214/source/compiler/asllookup.c acpica-unix2-20140214-patch/source/compiler/asllookup.c
--- acpica-unix2-20140214/source/compiler/asllookup.c 2014-02-14 16:23:33.000000000 -0700
+++ acpica-unix2-20140214-patch/source/compiler/asllookup.c 2014-02-27 11:50:52.168659866 -0700
@@ -119,6 +119,7 @@
Index: src/source/compiler/asllookup.c
===================================================================
--- src.orig/source/compiler/asllookup.c
+++ src/source/compiler/asllookup.c
@@ -119,6 +119,7 @@ LkIsObjectUsed (
{
ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle);
ACPI_NAMESPACE_NODE *Next;
@ -9,7 +10,7 @@ diff -urN acpica-unix2-20140214/source/compiler/asllookup.c acpica-unix2-2014021
/* Referenced flag is set during the namespace xref */
@@ -162,8 +163,9 @@
@@ -162,8 +163,9 @@ LkIsObjectUsed (
* Issue a remark even if it is a reserved name (starts
* with an underscore).
*/

File diff suppressed because it is too large Load Diff

View File

@ -15,11 +15,11 @@ Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
source/include/actypes.h | 26 +++++++++++++-------------
3 file modificati, 32 inserzioni(+), 21 rimozioni(-)
diff --git a/source/compiler/asltree.c b/source/compiler/asltree.c
index ebf87f3..fd859d7 100644
--- a/source/compiler/asltree.c
+++ b/source/compiler/asltree.c
@@ -782,28 +592,31 @@ TrCreateValuedLeafNode (
Index: src/source/compiler/asltree.c
===================================================================
--- src.orig/source/compiler/asltree.c
+++ src/source/compiler/asltree.c
@@ -862,28 +862,31 @@ TrCreateValuedLeafNode (
"\nCreateValuedLeafNode Ln/Col %u/%u NewNode %p Op %s Value %8.8X%8.8X ",
Op->Asl.LineNumber, Op->Asl.Column, Op, UtGetOpName(ParseOpcode),
ACPI_FORMAT_UINT64 (Value));
@ -56,12 +56,13 @@ index ebf87f3..fd859d7 100644
break;
case PARSEOP_METHOD:
@@ -813,11 +622,13 @@ TrCreateValuedLeafNode (
@@ -893,12 +896,14 @@ TrCreateValuedLeafNode (
case PARSEOP_INTEGER:
+ Op->Asl.Value.Integer = Value;
DbgPrint (ASL_PARSE_OUTPUT, "INTEGER");
DbgPrint (ASL_PARSE_OUTPUT, "INTEGER->%8.8X%8.8X",
ACPI_FORMAT_UINT64 (Value));
break;
default:
@ -70,11 +71,11 @@ index ebf87f3..fd859d7 100644
break;
}
diff --git a/source/components/executer/exoparg2.c b/source/components/executer/exoparg2.c
index e55f40c..ed5b1fd 100644
--- a/source/components/executer/exoparg2.c
+++ b/source/components/executer/exoparg2.c
@@ -172,6 +176,8 @@ AcpiExOpcode_2A_2T_1R (
Index: src/source/components/executer/exoparg2.c
===================================================================
--- src.orig/source/components/executer/exoparg2.c
+++ src/source/components/executer/exoparg2.c
@@ -172,6 +172,8 @@ AcpiExOpcode_2A_2T_1R (
ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
ACPI_OPERAND_OBJECT *ReturnDesc1 = NULL;
ACPI_OPERAND_OBJECT *ReturnDesc2 = NULL;
@ -83,7 +84,7 @@ index e55f40c..ed5b1fd 100644
ACPI_STATUS Status;
@@ -205,8 +211,10 @@ AcpiExOpcode_2A_2T_1R (
@@ -205,8 +207,10 @@ AcpiExOpcode_2A_2T_1R (
Status = AcpiUtDivide (Operand[0]->Integer.Value,
Operand[1]->Integer.Value,
@ -96,7 +97,7 @@ index e55f40c..ed5b1fd 100644
if (ACPI_FAILURE (Status))
{
goto Cleanup;
@@ -280,6 +285,7 @@ AcpiExOpcode_2A_1T_1R (
@@ -280,6 +284,7 @@ AcpiExOpcode_2A_1T_1R (
ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
ACPI_OPERAND_OBJECT *ReturnDesc = NULL;
UINT64 Index;
@ -104,7 +105,7 @@ index e55f40c..ed5b1fd 100644
ACPI_STATUS Status = AE_OK;
ACPI_SIZE Length = 0;
@@ -323,7 +333,8 @@ AcpiExOpcode_2A_1T_1R (
@@ -323,7 +328,8 @@ AcpiExOpcode_2A_1T_1R (
Status = AcpiUtDivide (Operand[0]->Integer.Value,
Operand[1]->Integer.Value,
NULL,
@ -114,11 +115,11 @@ index e55f40c..ed5b1fd 100644
break;
case AML_CONCAT_OP: /* Concatenate (Data1, Data2, Result) */
diff --git a/source/include/actypes.h b/source/include/actypes.h
index 07fb7d5..08bdf2f 100644
--- a/source/include/actypes.h
+++ b/source/include/actypes.h
@@ -143,6 +156,19 @@ typedef COMPILER_DEPENDENT_INT64 INT64;
Index: src/source/include/actypes.h
===================================================================
--- src.orig/source/include/actypes.h
+++ src/source/include/actypes.h
@@ -143,6 +143,19 @@ typedef COMPILER_DEPENDENT_INT64
*/
#define ACPI_THREAD_ID UINT64
@ -138,7 +139,7 @@ index 07fb7d5..08bdf2f 100644
/*******************************************************************************
*
@@ -169,19 +182,6 @@ typedef UINT64 ACPI_PHYSICAL_ADDRESS;
@@ -169,19 +182,6 @@ typedef UINT64
#define ACPI_SIZE_MAX ACPI_UINT64_MAX
#define ACPI_USE_NATIVE_DIVIDE /* Has native 64-bit integer support */
@ -158,6 +159,3 @@ index 07fb7d5..08bdf2f 100644
/*******************************************************************************
*
--
1.7.12.1

View File

@ -1,7 +1,8 @@
diff -Naur acpica-unix2-20150204/generate/unix/Makefile.config acpica-unix2-20150204-new/generate/unix/Makefile.config
--- acpica-unix2-20150204/generate/unix/Makefile.config 2015-04-06 17:12:41.069521987 -0600
+++ acpica-unix2-20150204-new/generate/unix/Makefile.config 2015-04-06 17:14:43.218806842 -0600
@@ -159,6 +159,8 @@
Index: src/generate/unix/Makefile.config
===================================================================
--- src.orig/generate/unix/Makefile.config
+++ src/generate/unix/Makefile.config
@@ -163,6 +163,8 @@ ifneq ($(NOFORTIFY),TRUE)
OPT_CFLAGS += -D_FORTIFY_SOURCE=2
endif
@ -10,10 +11,11 @@ diff -Naur acpica-unix2-20150204/generate/unix/Makefile.config acpica-unix2-2015
CFLAGS += \
-D$(HOST)\
-D_GNU_SOURCE\
diff -Naur acpica-unix2-20150204/generate/unix/iasl/Makefile acpica-unix2-20150204-new/generate/unix/iasl/Makefile
--- acpica-unix2-20150204/generate/unix/iasl/Makefile 2015-02-04 14:12:17.000000000 -0700
+++ acpica-unix2-20150204-new/generate/unix/iasl/Makefile 2015-04-06 17:34:07.199134458 -0600
@@ -301,20 +301,21 @@
Index: src/generate/unix/iasl/Makefile
===================================================================
--- src.orig/generate/unix/iasl/Makefile
+++ src/generate/unix/iasl/Makefile
@@ -301,20 +301,21 @@ $(OBJDIR)/prparserparse.c : $(ASL_COM
# Cannot use the common compile warning flags since the C files are created
# by the utilities above and they are not necessarily ANSI C, etc.
#

View File

@ -1,7 +1,8 @@
diff -Naur acpica-unix2-20150204.orig/source/compiler/aslcompile.c acpica-unix2-20150204/source/compiler/aslcompile.c
--- acpica-unix2-20150204.orig/source/compiler/aslcompile.c 2015-03-02 17:11:22.300989116 -0700
+++ acpica-unix2-20150204/source/compiler/aslcompile.c 2015-03-02 17:11:36.883174716 -0700
@@ -680,7 +680,7 @@
Index: src/source/compiler/aslcompile.c
===================================================================
--- src.orig/source/compiler/aslcompile.c
+++ src/source/compiler/aslcompile.c
@@ -688,7 +688,7 @@ CmCleanupAndExit (
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
{
@ -10,10 +11,11 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslcompile.c acpica-unix2-
ASL_MAX_ERROR_COUNT);
}
diff -Naur acpica-unix2-20150204.orig/source/tools/acpiexec/aemain.c acpica-unix2-20150204/source/tools/acpiexec/aemain.c
--- acpica-unix2-20150204.orig/source/tools/acpiexec/aemain.c 2015-03-02 17:11:22.313989281 -0700
+++ acpica-unix2-20150204/source/tools/acpiexec/aemain.c 2015-03-02 17:12:42.467009457 -0700
@@ -197,7 +197,7 @@
Index: src/source/tools/acpiexec/aemain.c
===================================================================
--- src.orig/source/tools/acpiexec/aemain.c
+++ src/source/tools/acpiexec/aemain.c
@@ -197,7 +197,7 @@ AeDoOptions (
if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1))
{
@ -22,10 +24,11 @@ diff -Naur acpica-unix2-20150204.orig/source/tools/acpiexec/aemain.c acpica-unix
(UINT32) strlen (AcpiGbl_Optarg), (AE_BUFFER_SIZE -1));
return (-1);
}
diff -Naur acpica-unix2-20150204.orig/source/compiler/aslerror.c acpica-unix2-20150204/source/compiler/aslerror.c
--- acpica-unix2-20150204.orig/source/compiler/aslerror.c 2015-02-04 14:12:18.000000000 -0700
+++ acpica-unix2-20150204/source/compiler/aslerror.c 2015-03-02 19:01:35.880311085 -0700
@@ -685,7 +685,7 @@
Index: src/source/compiler/aslerror.c
===================================================================
--- src.orig/source/compiler/aslerror.c
+++ src/source/compiler/aslerror.c
@@ -685,7 +685,7 @@ AslCommonError (
Gbl_ExceptionCount[Level]++;
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
{
@ -34,7 +37,7 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslerror.c acpica-unix2-20
Gbl_SourceLine = 0;
Gbl_NextError = Gbl_ErrorLog;
@@ -731,7 +731,7 @@
@@ -731,7 +731,7 @@ AslDisableException (
if (Gbl_DisabledMessagesIndex >= ASL_MAX_DISABLED_MESSAGES)
{
@ -43,10 +46,11 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslerror.c acpica-unix2-20
ASL_MAX_DISABLED_MESSAGES);
return (AE_LIMIT);
}
diff -Naur acpica-unix2-20150204.orig/source/components/debugger/dbexec.c acpica-unix2-20150204/source/components/debugger/dbexec.c
--- acpica-unix2-20150204.orig/source/components/debugger/dbexec.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/debugger/dbexec.c 2015-03-02 19:03:54.240975631 -0700
@@ -214,7 +214,7 @@
Index: src/source/components/debugger/dbexec.c
===================================================================
--- src.orig/source/components/debugger/dbexec.c
+++ src/source/components/debugger/dbexec.c
@@ -214,7 +214,7 @@ AcpiDbExecuteMethod (
{
ACPI_ERROR ((AE_INFO,
"Possible overflow of internal debugger buffer (size 0x%X needed 0x%X)",
@ -55,10 +59,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/debugger/dbexec.c acpica
}
}
diff -Naur acpica-unix2-20150204.orig/source/compiler/aslopt.c acpica-unix2-20150204/source/compiler/aslopt.c
--- acpica-unix2-20150204.orig/source/compiler/aslopt.c 2015-02-04 14:12:18.000000000 -0700
+++ acpica-unix2-20150204/source/compiler/aslopt.c 2015-03-03 17:49:35.616964598 -0700
@@ -576,7 +576,7 @@
Index: src/source/compiler/aslopt.c
===================================================================
--- src.orig/source/compiler/aslopt.c
+++ src/source/compiler/aslopt.c
@@ -576,7 +576,7 @@ OptOptimizeNamePath (
}
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_OPTIMIZATIONS,
@ -67,10 +72,11 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslopt.c acpica-unix2-2015
Op->Asl.LogicalLineNumber,
AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode),
AcpiPsGetOpcodeName (Op->Common.AmlOpcode)));
diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dsmthdat.c acpica-unix2-20150204/source/components/dispatcher/dsmthdat.c
--- acpica-unix2-20150204.orig/source/components/dispatcher/dsmthdat.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/dispatcher/dsmthdat.c 2015-03-03 17:50:38.719711924 -0700
@@ -287,7 +287,7 @@
Index: src/source/components/dispatcher/dsmthdat.c
===================================================================
--- src.orig/source/components/dispatcher/dsmthdat.c
+++ src/source/components/dispatcher/dsmthdat.c
@@ -287,7 +287,7 @@ AcpiDsMethodDataGetNode (
if (Index > ACPI_METHOD_MAX_LOCAL)
{
ACPI_ERROR ((AE_INFO,
@ -79,7 +85,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dsmthdat.c ac
Index, ACPI_METHOD_MAX_LOCAL));
return_ACPI_STATUS (AE_AML_INVALID_INDEX);
}
@@ -302,7 +302,7 @@
@@ -302,7 +302,7 @@ AcpiDsMethodDataGetNode (
if (Index > ACPI_METHOD_MAX_ARG)
{
ACPI_ERROR ((AE_INFO,
@ -88,10 +94,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dsmthdat.c ac
Index, ACPI_METHOD_MAX_ARG));
return_ACPI_STATUS (AE_AML_INVALID_INDEX);
}
diff -Naur acpica-unix2-20150204.orig/source/compiler/aslpredef.c acpica-unix2-20150204/source/compiler/aslpredef.c
--- acpica-unix2-20150204.orig/source/compiler/aslpredef.c 2015-02-04 14:12:18.000000000 -0700
+++ acpica-unix2-20150204/source/compiler/aslpredef.c 2015-03-03 18:13:02.317600741 -0700
@@ -114,7 +114,7 @@
Index: src/source/compiler/aslpredef.c
===================================================================
--- src.orig/source/compiler/aslpredef.c
+++ src/source/compiler/aslpredef.c
@@ -114,7 +114,7 @@ ApCheckForPredefinedMethod (
if (MethodInfo->NumArguments != 0)
{
@ -100,10 +107,11 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslpredef.c acpica-unix2-2
AslError (ASL_WARNING, ASL_MSG_RESERVED_ARG_COUNT_HI, Op,
MsgBuffer);
diff -Naur acpica-unix2-20150204.orig/source/compiler/aslprepkg.c acpica-unix2-20150204/source/compiler/aslprepkg.c
--- acpica-unix2-20150204.orig/source/compiler/aslprepkg.c 2015-02-04 14:12:18.000000000 -0700
+++ acpica-unix2-20150204/source/compiler/aslprepkg.c 2015-03-03 18:31:00.963530037 -0700
@@ -297,7 +297,7 @@
Index: src/source/compiler/aslprepkg.c
===================================================================
--- src.orig/source/compiler/aslprepkg.c
+++ src/source/compiler/aslprepkg.c
@@ -297,7 +297,7 @@ ApCheckPackage (
if (Count & 1)
{
@ -112,10 +120,11 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslprepkg.c acpica-unix2-2
Predefined->Info.Name, Count);
AslError (ASL_ERROR, ASL_MSG_RESERVED_PACKAGE_LENGTH,
diff -Naur acpica-unix2-20150204.orig/source/compiler/aslutils.c acpica-unix2-20150204/source/compiler/aslutils.c
--- acpica-unix2-20150204.orig/source/compiler/aslutils.c 2015-02-04 14:12:18.000000000 -0700
+++ acpica-unix2-20150204/source/compiler/aslutils.c 2015-03-04 12:03:36.567992558 -0700
@@ -77,7 +77,7 @@
Index: src/source/compiler/aslutils.c
===================================================================
--- src.orig/source/compiler/aslutils.c
+++ src/source/compiler/aslutils.c
@@ -77,7 +77,7 @@ UtAttachNameseg (
*
******************************************************************************/
@ -124,7 +133,7 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslutils.c acpica-unix2-20
void
UtDisplaySupportedTables (
@@ -89,7 +89,7 @@
@@ -89,7 +89,7 @@ UtDisplaySupportedTables (
printf ("\nACPI tables supported by iASL version %8.8X:\n"
" (Compiler, Disassembler, Template Generator)\n\n",
@ -133,7 +142,7 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslutils.c acpica-unix2-20
/* Special tables */
@@ -104,7 +104,7 @@
@@ -104,7 +104,7 @@ UtDisplaySupportedTables (
printf ("\n Standard ACPI data tables:\n");
for (TableData = AcpiDmTableData, i = 5; TableData->Signature; TableData++, i++)
{
@ -142,10 +151,11 @@ diff -Naur acpica-unix2-20150204.orig/source/compiler/aslutils.c acpica-unix2-20
}
}
diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dsutils.c acpica-unix2-20150204/source/components/dispatcher/dsutils.c
--- acpica-unix2-20150204.orig/source/components/dispatcher/dsutils.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/dispatcher/dsutils.c 2015-03-04 12:05:14.938088002 -0700
@@ -778,7 +778,7 @@
Index: src/source/components/dispatcher/dsutils.c
===================================================================
--- src.orig/source/components/dispatcher/dsutils.c
+++ src/source/components/dispatcher/dsutils.c
@@ -787,7 +787,7 @@ AcpiDsCreateOperands (
}
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
@ -154,10 +164,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dsutils.c acp
WalkState->NumOperands, ArgCount, Index));
/* Create the interpreter arguments, in reverse order */
diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dswscope.c acpica-unix2-20150204/source/components/dispatcher/dswscope.c
--- acpica-unix2-20150204.orig/source/components/dispatcher/dswscope.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/dispatcher/dswscope.c 2015-03-04 16:00:57.493157707 -0700
@@ -148,7 +148,7 @@
Index: src/source/components/dispatcher/dswscope.c
===================================================================
--- src.orig/source/components/dispatcher/dswscope.c
+++ src/source/components/dispatcher/dswscope.c
@@ -148,7 +148,7 @@ AcpiDsScopeStackPush (
WalkState->ScopeDepth++;
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
@ -166,7 +177,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dswscope.c ac
OldScopeInfo = WalkState->ScopeInfo;
if (OldScopeInfo)
@@ -211,7 +211,7 @@
@@ -211,7 +211,7 @@ AcpiDsScopeStackPop (
WalkState->ScopeDepth--;
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
@ -175,10 +186,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/dispatcher/dswscope.c ac
(UINT32) WalkState->ScopeDepth,
AcpiUtGetNodeName (ScopeInfo->Scope.Node),
AcpiUtGetTypeName (ScopeInfo->Common.Value)));
diff -Naur acpica-unix2-20150204.orig/source/components/events/evgpe.c acpica-unix2-20150204/source/components/events/evgpe.c
--- acpica-unix2-20150204.orig/source/components/events/evgpe.c 2015-03-05 12:47:00.454194174 -0700
+++ acpica-unix2-20150204/source/components/events/evgpe.c 2015-03-05 12:52:16.254562359 -0700
@@ -429,7 +429,7 @@
Index: src/source/components/events/evgpe.c
===================================================================
--- src.orig/source/components/events/evgpe.c
+++ src/source/components/events/evgpe.c
@@ -429,7 +429,7 @@ AcpiEvGpeDetect (
"Ignore disabled registers for GPE %02X-%02X: "
"RunEnable=%02X, WakeEnable=%02X\n",
GpeRegisterInfo->BaseGpeNumber,
@ -187,7 +199,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/events/evgpe.c acpica-un
GpeRegisterInfo->EnableForRun,
GpeRegisterInfo->EnableForWake));
continue;
@@ -455,7 +455,7 @@
@@ -455,7 +455,7 @@ AcpiEvGpeDetect (
"Read registers for GPE %02X-%02X: Status=%02X, Enable=%02X, "
"RunEnable=%02X, WakeEnable=%02X\n",
GpeRegisterInfo->BaseGpeNumber,
@ -196,10 +208,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/events/evgpe.c acpica-un
StatusReg, EnableReg,
GpeRegisterInfo->EnableForRun,
GpeRegisterInfo->EnableForWake));
diff -Naur acpica-unix2-20150204.orig/source/components/executer/exdump.c acpica-unix2-20150204/source/components/executer/exdump.c
--- acpica-unix2-20150204.orig/source/components/executer/exdump.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/executer/exdump.c 2015-03-05 12:49:52.556029735 -0700
@@ -663,7 +663,7 @@
Index: src/source/components/executer/exdump.c
===================================================================
--- src.orig/source/components/executer/exdump.c
+++ src/source/components/executer/exdump.c
@@ -663,7 +663,7 @@ AcpiExDumpOperand (
if (Depth > 0)
{
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%*s[%u] %p ",
@ -208,10 +221,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/executer/exdump.c acpica
}
else
{
diff -Naur acpica-unix2-20150204.orig/source/components/executer/exnames.c acpica-unix2-20150204/source/components/executer/exnames.c
--- acpica-unix2-20150204.orig/source/components/executer/exnames.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/executer/exnames.c 2015-03-05 13:17:52.054406156 -0700
@@ -239,7 +239,7 @@
Index: src/source/components/executer/exnames.c
===================================================================
--- src.orig/source/components/executer/exnames.c
+++ src/source/components/executer/exnames.c
@@ -239,7 +239,7 @@ AcpiExNameSegment (
*/
ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
"Leading character is not alpha: %02Xh (not a name)\n",
@ -220,7 +234,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/executer/exnames.c acpic
Status = AE_CTRL_PENDING;
}
else
@@ -251,7 +251,7 @@
@@ -251,7 +251,7 @@ AcpiExNameSegment (
Status = AE_AML_BAD_NAME;
ACPI_ERROR ((AE_INFO,
"Bad character 0x%02x in name, at %p",
@ -229,10 +243,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/executer/exnames.c acpic
}
*InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress);
diff -Naur acpica-unix2-20150204.orig/source/components/executer/exfldio.c acpica-unix2-20150204/source/components/executer/exfldio.c
--- acpica-unix2-20150204.orig/source/components/executer/exfldio.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/executer/exfldio.c 2015-03-05 16:18:34.233960417 -0700
@@ -679,7 +679,7 @@
Index: src/source/components/executer/exfldio.c
===================================================================
--- src.orig/source/components/executer/exfldio.c
+++ src/source/components/executer/exfldio.c
@@ -679,7 +679,7 @@ AcpiExWriteWithUpdateRule (
ACPI_ERROR ((AE_INFO,
"Unknown UpdateRule value: 0x%X",
@ -241,10 +256,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/executer/exfldio.c acpic
return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
}
}
diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbfadt.c acpica-unix2-20150204/source/components/tables/tbfadt.c
--- acpica-unix2-20150204.orig/source/components/tables/tbfadt.c 2015-02-04 14:12:20.000000000 -0700
+++ acpica-unix2-20150204/source/components/tables/tbfadt.c 2015-03-05 16:12:17.126680882 -0700
@@ -233,7 +233,7 @@
Index: src/source/components/tables/tbfadt.c
===================================================================
--- src.orig/source/components/tables/tbfadt.c
+++ src/source/components/tables/tbfadt.c
@@ -233,7 +233,7 @@ AcpiTbInitGenericAddress (
if (!(Flags & ACPI_FADT_GPE_REGISTER))
{
ACPI_ERROR ((AE_INFO,
@ -253,7 +269,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbfadt.c acpica-u
"to convert to GAS struct - 255 bits max, truncating",
RegisterName, ByteWidth, (ByteWidth * 8)));
}
@@ -304,7 +304,7 @@
@@ -304,7 +304,7 @@ AcpiTbSelectAddress (
ACPI_BIOS_WARNING ((AE_INFO,
"32/64X %s address mismatch in FADT: "
@ -262,7 +278,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbfadt.c acpica-u
RegisterName, Address32, ACPI_FORMAT_UINT64 (Address64),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
@@ -612,7 +612,7 @@
@@ -612,7 +612,7 @@ AcpiTbConvertFadt (
ACPI_BIOS_WARNING ((AE_INFO,
"32/64X address mismatch in FADT/%s: "
@ -271,10 +287,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbfadt.c acpica-u
Name, Address32,
ACPI_FORMAT_UINT64 (Address64->Address),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
diff -Naur acpica-unix2-20150204.orig/source/components/hardware/hwregs.c acpica-unix2-20150204/source/components/hardware/hwregs.c
--- acpica-unix2-20150204.orig/source/components/hardware/hwregs.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204/source/components/hardware/hwregs.c 2015-03-05 16:46:17.157825532 -0700
@@ -299,7 +299,7 @@
Index: src/source/components/hardware/hwregs.c
===================================================================
--- src.orig/source/components/hardware/hwregs.c
+++ src/source/components/hardware/hwregs.c
@@ -299,7 +299,7 @@ AcpiHwClearAcpiStatus (
ACPI_DEBUG_PRINT ((ACPI_DB_IO, "About to write %04X to %8.8X%8.8X\n",
@ -283,10 +300,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/hardware/hwregs.c acpica
ACPI_FORMAT_UINT64 (AcpiGbl_XPm1aStatus.Address)));
LockFlags = AcpiOsAcquireLock (AcpiGbl_HardwareLock);
diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbxfroot.c acpica-unix2-20150204/source/components/tables/tbxfroot.c
--- acpica-unix2-20150204.orig/source/components/tables/tbxfroot.c 2015-02-04 14:12:20.000000000 -0700
+++ acpica-unix2-20150204/source/components/tables/tbxfroot.c 2015-03-05 17:08:45.001594511 -0700
@@ -177,7 +177,7 @@
Index: src/source/components/tables/tbxfroot.c
===================================================================
--- src.orig/source/components/tables/tbxfroot.c
+++ src/source/components/tables/tbxfroot.c
@@ -177,7 +177,7 @@ AcpiFindRootPointer (
{
ACPI_ERROR ((AE_INFO,
"Could not map memory at 0x%8.8X for length %u",
@ -295,7 +313,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbxfroot.c acpica
return_ACPI_STATUS (AE_NO_MEMORY);
}
@@ -204,7 +204,7 @@
@@ -204,7 +204,7 @@ AcpiFindRootPointer (
{
ACPI_ERROR ((AE_INFO,
"Could not map memory at 0x%8.8X for length %u",
@ -304,7 +322,7 @@ diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbxfroot.c acpica
return_ACPI_STATUS (AE_NO_MEMORY);
}
@@ -234,7 +234,7 @@
@@ -234,7 +234,7 @@ AcpiFindRootPointer (
{
ACPI_ERROR ((AE_INFO,
"Could not map memory at 0x%8.8X for length %u",
@ -313,10 +331,11 @@ diff -Naur acpica-unix2-20150204.orig/source/components/tables/tbxfroot.c acpica
return_ACPI_STATUS (AE_NO_MEMORY);
}
diff -Naur acpica-unix2-20150204.orig/source/components/utilities/utownerid.c acpica-unix2-20150204/source/components/utilities/utownerid.c
--- acpica-unix2-20150204.orig/source/components/utilities/utownerid.c 2015-02-04 14:12:20.000000000 -0700
+++ acpica-unix2-20150204/source/components/utilities/utownerid.c 2015-03-05 17:06:40.281055170 -0700
@@ -230,7 +230,7 @@
Index: src/source/components/utilities/utownerid.c
===================================================================
--- src.orig/source/components/utilities/utownerid.c
+++ src/source/components/utilities/utownerid.c
@@ -230,7 +230,7 @@ AcpiUtReleaseOwnerId (
else
{
ACPI_ERROR ((AE_INFO,

View File

@ -4,10 +4,11 @@ to be compared were being treated as 32-bit ints, and not strings. Hence,
the characters were re-ordered incorrectly, mismatching the assumptions
made in the remainder of the function.
diff -urN acpica-unix2-20130214/source/compiler/aslanalyze.c acpica-unix2-20130214-names/source/compiler/aslanalyze.c
--- acpica-unix2-20130214/source/compiler/aslanalyze.c 2013-03-21 17:31:25.803324990 -0600
+++ acpica-unix2-20130214-names/source/compiler/aslanalyze.c 2013-03-21 17:43:45.357616802 -0600
@@ -445,7 +445,7 @@
Index: src/source/compiler/aslanalyze.c
===================================================================
--- src.orig/source/compiler/aslanalyze.c
+++ src/source/compiler/aslanalyze.c
@@ -445,7 +445,7 @@ ApCheckForGpeNameConflict (
/* Need a null-terminated string version of NameSeg */
@ -16,7 +17,7 @@ diff -urN acpica-unix2-20130214/source/compiler/aslanalyze.c acpica-unix2-201302
Name[ACPI_NAME_SIZE] = 0;
/*
@@ -472,7 +472,7 @@
@@ -472,7 +472,7 @@ ApCheckForGpeNameConflict (
* We are now sure we have an _Lxx or _Exx.
* Create the target name that would cause collision (Flip E/L)
*/

View File

@ -2,10 +2,11 @@ Re-enable use of these tools on big-endian machines.
Al Stone <ahs3@redhat.com>
diff -Naur acpica-unix2-20140424/source/compiler/aslmain.c acpica-unix2-20140424-patch/source/compiler/aslmain.c
--- acpica-unix2-20140424/source/compiler/aslmain.c 2014-04-24 09:48:59.000000000 -0600
+++ acpica-unix2-20140424-patch/source/compiler/aslmain.c 2014-05-22 12:55:47.634904320 -0600
@@ -331,18 +319,6 @@
Index: src/source/compiler/aslmain.c
===================================================================
--- src.orig/source/compiler/aslmain.c
+++ src/source/compiler/aslmain.c
@@ -336,18 +336,6 @@ main (
int ReturnStatus = 0;