Files
acpica/do_not_use_build_date_and_time.patch
Thomas Renninger 9bf4399c0e Accepting request 818416 from home:elimat:branches:hardware
- Update to version 20200528
  ACPICA kernel-resident subsystem:
    Removed old/obsolete Visual Studio files which were used to build the 
    Windows versions of the ACPICA tools. Since we have moved to Visual 
    Studio 2017, we are no longer supporting Visual Studio 2006 and 2009 
    project files. The new subdirectory and solution file are located at:
    acpica/generate/msvc2017/AcpiComponents.sln
  iASL Compiler/Disassembler and ACPICA tools: 
  * iASL: added support for a new OperationRegion Address Space (subtype): 
    PlatformRtMechanism. Support for this new keyword is being released for 
    early prototyping. It will appear in the next release of the ACPI 
    specification.
  * iASL: do not optimize the NameString parameter of the CondRefOf operator. 
    In the previous iASL compiler release, the NameString parameter of the 
    CondRefOf was optimized. There is evidence that some implementations of 
    the AML interpreter do not perform the recursive search-to-parent search 
    during the execution of the CondRefOf operator. Therefore, the CondRefOf 
    operator behaves differently when the NameString parameter is a single 
    name segment (a NameSeg) as opposed to a full NamePath (starting at the 
    root scope) or a NameString containing parent prefixes.
  * iASL: Prevent an inadvertent remark message. This change prevents a 
    remark if within a control method the following exist:
    1) An Operation Region is defined, and
    2) A Field operator is defined that refers to the region.
    This happens because at the top level, the Field operator does not 
    actually create a new named object, it simply references the operation 
    region.
  * Removed support for the acpinames utility. The acpinames was a simple 
    utility used to populate and display the ACPI namespace without executing 
    any AML code. However, ACPICA now supports executable opcodes outside of 
    control methods. This means that executable AML opcodes such as If and 
    Store opcodes need to be executed during table load. Therefore, acpinames 
    would need to be updated to match the same behavior as the acpiexec 
    utility and since acpiexec can already dump the entire namespace (via the 
    'namespace' command), we no longer have the need to maintain acpinames.
  * In order to dump the contents of the ACPI namepsace using acpiexec, 
    execute the following command from the command line:
    acpiexec -b "n" [aml files]
- Refresh parches

OBS-URL: https://build.opensuse.org/request/show/818416
OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=132
2020-07-06 15:28:38 +00:00

161 lines
6.5 KiB
Diff

diff -ur acpica-unix-20200528.orig/source/compiler/asloptions.c acpica-unix-20200528/source/compiler/asloptions.c
--- acpica-unix-20200528.orig/source/compiler/asloptions.c 2020-07-02 23:06:04.929335334 +0200
+++ acpica-unix-20200528/source/compiler/asloptions.c 2020-07-02 23:30:07.584425436 +0200
@@ -875,12 +875,6 @@
AslGbl_NoErrors = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
- printf (ACPI_COMMON_BUILD_TIME);
- exit (0);
-
case 'e':
/* Disable all warning/remark messages (errors only) */
diff -ur acpica-unix-20200528.orig/source/include/acapps.h acpica-unix-20200528/source/include/acapps.h
--- acpica-unix-20200528.orig/source/include/acapps.h 2020-07-02 23:06:04.937335262 +0200
+++ acpica-unix-20200528/source/include/acapps.h 2020-07-02 23:31:28.763710233 +0200
@@ -188,9 +188,6 @@
Prefix, ACPICA_COPYRIGHT, \
Prefix
-#define ACPI_COMMON_BUILD_TIME \
- "Build date/time: %s %s\n", __DATE__, __TIME__
-
/* Macros for usage messages */
#define ACPI_USAGE_HEADER(Usage) \
diff -ur acpica-unix-20200528.orig/source/tools/acpibin/abmain.c acpica-unix-20200528/source/tools/acpibin/abmain.c
--- acpica-unix-20200528.orig/source/tools/acpibin/abmain.c 2020-07-02 23:06:04.941335225 +0200
+++ acpica-unix-20200528/source/tools/acpibin/abmain.c 2020-07-02 23:33:01.750891018 +0200
@@ -191,7 +191,6 @@
ACPI_OPTION ("-s <File>", "Update checksum for binary AML file");
ACPI_OPTION ("-t", "Terse mode");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
}
@@ -298,11 +297,6 @@
return (1);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
diff -ur acpica-unix-20200528.orig/source/tools/acpidump/apmain.c acpica-unix-20200528/source/tools/acpidump/apmain.c
--- acpica-unix-20200528.orig/source/tools/acpidump/apmain.c 2020-07-02 23:06:04.941335225 +0200
+++ acpica-unix-20200528/source/tools/acpidump/apmain.c 2020-07-02 23:34:06.206323171 +0200
@@ -379,12 +379,6 @@
fprintf (stderr, ACPI_COMMON_SIGNON (AP_UTILITY_NAME));
return (1);
- case 'd':
-
- fprintf (stderr, ACPI_COMMON_SIGNON (AP_UTILITY_NAME));
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
diff -ur acpica-unix-20200528.orig/source/tools/acpiexec/aemain.c acpica-unix-20200528/source/tools/acpiexec/aemain.c
--- acpica-unix-20200528.orig/source/tools/acpiexec/aemain.c 2020-07-02 23:06:04.941335225 +0200
+++ acpica-unix-20200528/source/tools/acpiexec/aemain.c 2020-07-02 23:35:40.565491893 +0200
@@ -280,7 +280,6 @@
ACPI_OPTION ("-v", "Display version information");
ACPI_OPTION ("-va", "Display verbose dump of any memory leaks");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_OPTION ("-vh", "Verbose exception handler output");
ACPI_OPTION ("-vi", "Verbose initialization output");
ACPI_OPTION ("-vr", "Verbose region handler output");
@@ -546,11 +545,6 @@
AcpiGbl_VerboseLeakDump = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
case 'h':
AcpiGbl_VerboseHandlers = TRUE;
diff -ur acpica-unix-20200528.orig/source/tools/acpihelp/ahmain.c acpica-unix-20200528/source/tools/acpihelp/ahmain.c
--- acpica-unix-20200528.orig/source/tools/acpihelp/ahmain.c 2020-07-02 23:06:04.941335225 +0200
+++ acpica-unix-20200528/source/tools/acpihelp/ahmain.c 2020-07-02 23:37:16.832643773 +0200
@@ -187,7 +187,6 @@
ACPI_USAGE_HEADER ("acpihelp <options> [Name/Prefix | HexValue]");
ACPI_OPTION ("-h", "Display help");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_USAGE_TEXT ("\nAML Names and Encodings (ACPI Machine Language):\n");
ACPI_OPTION ("-a [Name/Prefix | *]", "Display both ASL operator and AML opcode name(s)");
@@ -317,11 +316,6 @@
return (1);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
diff -ur acpica-unix-20200528.orig/source/tools/acpisrc/asmain.c acpica-unix-20200528/source/tools/acpisrc/asmain.c
--- acpica-unix-20200528.orig/source/tools/acpisrc/asmain.c 2020-07-02 23:06:04.941335225 +0200
+++ acpica-unix-20200528/source/tools/acpisrc/asmain.c 2020-07-02 23:37:35.904475746 +0200
@@ -374,7 +374,6 @@
ACPI_OPTION ("-s", "Generate source statistics only");
ACPI_OPTION ("-v", "Display version information");
ACPI_OPTION ("-vb", "Verbose mode");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_OPTION ("-y", "Suppress file overwrite prompts");
}
@@ -479,11 +478,6 @@
Gbl_VerboseMode = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (0);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
diff -ur acpica-unix-20200528.orig/source/tools/acpixtract/axmain.c acpica-unix-20200528/source/tools/acpixtract/axmain.c
--- acpica-unix-20200528.orig/source/tools/acpixtract/axmain.c 2020-07-02 23:06:04.941335225 +0200
+++ acpica-unix-20200528/source/tools/acpixtract/axmain.c 2020-07-02 23:37:57.828282596 +0200
@@ -181,7 +181,6 @@
ACPI_OPTION ("-m", "Extract multiple DSDT/SSDTs to a single file");
ACPI_OPTION ("-s <signature>", "Extract all tables with <signature>");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_USAGE_TEXT ("\nExtract binary ACPI tables from text acpidump output\n");
ACPI_USAGE_TEXT ("Default invocation extracts the DSDT and all SSDTs\n");
@@ -259,11 +258,6 @@
exit (0);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (0);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);