Finish up the big-endian changes, hopefully

Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
Al Stone 2017-08-18 17:32:28 -06:00
parent 840f978489
commit c045b7cf37
4 changed files with 505 additions and 157 deletions

View File

@ -1,6 +1,6 @@
Name: acpica-tools Name: acpica-tools
Version: 20170728 Version: 20170728
Release: 2%{?dist} Release: 3%{?dist}
Summary: ACPICA tools for the development and debug of ACPI tables Summary: ACPICA tools for the development and debug of ACPI tables
Group: Development/Languages Group: Development/Languages
@ -190,6 +190,11 @@ fi
%changelog %changelog
* Fri Aug 18 2017 Al Stone <ahs3@redhat.com> - 20170728-3
- Completed the big-endian fixes (I think)
- Fix ppc64le.patch that inadvertently broke s390x
- Minor patch refresh
* Mon Aug 14 2017 Al Stone <ahs3@redhat.com> - 20170728-2 * Mon Aug 14 2017 Al Stone <ahs3@redhat.com> - 20170728-2
- Start some long delayed clean-up - Start some long delayed clean-up
- Temporarily disable one test section until all the big-endian issues - Temporarily disable one test section until all the big-endian issues

File diff suppressed because it is too large Load Diff

View File

@ -275,7 +275,7 @@ Index: acpica-unix2-20170728/source/components/tables/tbfadt.c
RegisterName, Address32, ACPI_FORMAT_UINT64 (Address64), RegisterName, Address32, ACPI_FORMAT_UINT64 (Address64),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64)); AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
@@ -626,7 +626,7 @@ AcpiTbConvertFadt ( @@ -628,7 +628,7 @@ AcpiTbConvertFadt (
ACPI_BIOS_WARNING ((AE_INFO, ACPI_BIOS_WARNING ((AE_INFO,
"32/64X address mismatch in FADT/%s: " "32/64X address mismatch in FADT/%s: "

View File

@ -6,7 +6,7 @@ Index: acpica-unix2-20170728/source/include/platform/aclinux.h
#define __cdecl #define __cdecl
#endif #endif
+#if defined(__BIG_ENDIAN__) +#if defined(__BIG_ENDIAN)
#if defined(__PPC64__) || defined(__s390x__) #if defined(__PPC64__) || defined(__s390x__)
#define ACPI_BIG_ENDIAN #define ACPI_BIG_ENDIAN
#endif #endif