fwts/fwts-fix-non-acpi.patch
Martin Pluskal 2a294eb600 - Update to version 21.01.00:
* See provided changelog for detailed list of changes  
- Drop upstreamed patch:
  * acpi-pmtt-fix-infinite-loops-when-length-is-incorrectly-zero.diff

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=120
2021-01-22 09:34:24 +00:00

26 lines
1.1 KiB
Diff

Index: fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
===================================================================
--- fwts-21.01.00.orig/src/acpica/source/tools/acpiexec/aecommon.h
+++ fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
@@ -201,11 +201,18 @@ typedef struct init_file_entry
} INIT_FILE_ENTRY;
+#if defined(__x86_64__) || defined(__x86_64) || defined(__i386__) || defined(__i386) || defined(__aarch64__) || defined(__riscv)
+extern BOOLEAN AcpiGbl_IgnoreErrors;
+extern UINT8 AcpiGbl_RegionFillValue;
+#else
+#define VOID_FUNC(name) void name(void);
+extern VOID_FUNC(AcpiGbl_IgnoreErrors)
+extern VOID_FUNC(AcpiGbl_RegionFillValue)
+#endif
+
extern BOOLEAN AcpiGbl_UseLocalFaultHandler;
extern BOOLEAN AcpiGbl_VerboseHandlers;
-extern BOOLEAN AcpiGbl_IgnoreErrors;
extern BOOLEAN AcpiGbl_AbortLoopOnTimeout;
-extern UINT8 AcpiGbl_RegionFillValue;
extern INIT_FILE_ENTRY *AcpiGbl_InitEntries;
extern UINT32 AcpiGbl_InitFileLineCount;
extern UINT8 AcpiGbl_UseHwReducedFadt;