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
This commit is contained in:
parent
63ee2e6a2c
commit
9bf4399c0e
@ -1,37 +1,39 @@
|
||||
Index: acpica-unix-20190405/source/compiler/aslcompile.c
|
||||
===================================================================
|
||||
--- acpica-unix-20190405.orig/source/compiler/aslcompile.c 2019-04-05 17:12:58.000000000 +0200
|
||||
+++ acpica-unix-20190405/source/compiler/aslcompile.c 2019-04-08 16:12:09.102476939 +0200
|
||||
@@ -647,8 +647,6 @@ void
|
||||
diff -ur acpica-unix-20200528.orig/source/compiler/aslcompile.c acpica-unix-20200528/source/compiler/aslcompile.c
|
||||
--- acpica-unix-20200528.orig/source/compiler/aslcompile.c 2020-07-02 23:06:04.925335370 +0200
|
||||
+++ acpica-unix-20200528/source/compiler/aslcompile.c 2020-07-02 23:16:10.095860566 +0200
|
||||
@@ -648,8 +648,6 @@
|
||||
AslCompilerFileHeader (
|
||||
UINT32 FileId)
|
||||
{
|
||||
- struct tm *NewTime;
|
||||
- char *NewTime;
|
||||
- time_t Aclock;
|
||||
char *Prefix = "";
|
||||
|
||||
|
||||
@@ -690,13 +688,9 @@ AslCompilerFileHeader (
|
||||
}
|
||||
@@ -692,18 +690,10 @@
|
||||
|
||||
/* Compilation header with timestamp */
|
||||
-
|
||||
- (void) time (&Aclock);
|
||||
- NewTime = localtime (&Aclock);
|
||||
|
||||
- Aclock = time (NULL);
|
||||
- NewTime = ctime (&Aclock);
|
||||
-
|
||||
FlPrintFile (FileId,
|
||||
- "%sCompilation of \"%s\" - %s%s\n",
|
||||
- Prefix, AslGbl_Files[ASL_FILE_INPUT].Filename, asctime (NewTime),
|
||||
- "%sCompilation of \"%s\" -",
|
||||
+ "%sCompilation of \"%s\"\n",
|
||||
+ Prefix, AslGbl_Files[ASL_FILE_INPUT].Filename,
|
||||
Prefix);
|
||||
Prefix, AslGbl_Files[ASL_FILE_INPUT].Filename);
|
||||
|
||||
- if (NewTime)
|
||||
- {
|
||||
- FlPrintFile (FileId, " %s%s\n", NewTime, Prefix);
|
||||
- }
|
||||
-
|
||||
switch (FileId)
|
||||
Index: acpica-unix-20190405/source/compiler/aslutils.c
|
||||
===================================================================
|
||||
--- acpica-unix-20190405.orig/source/compiler/aslutils.c 2019-04-05 17:12:58.000000000 +0200
|
||||
+++ acpica-unix-20190405/source/compiler/aslutils.c 2019-04-08 16:12:09.102476939 +0200
|
||||
@@ -547,8 +547,8 @@ UtDisplayOneSummary (
|
||||
{
|
||||
case ASL_FILE_C_SOURCE_OUTPUT:
|
||||
diff -ur acpica-unix-20200528.orig/source/compiler/aslutils.c acpica-unix-20200528/source/compiler/aslutils.c
|
||||
--- acpica-unix-20200528.orig/source/compiler/aslutils.c 2020-07-02 23:06:04.929335334 +0200
|
||||
+++ acpica-unix-20200528/source/compiler/aslutils.c 2020-07-02 23:18:46.898454693 +0200
|
||||
@@ -595,8 +595,8 @@
|
||||
{
|
||||
/* Compiler name and version number */
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d3f60fbe801cf1049f854de23da5c9a569a34267b27b97fab3d66a68c5266b1
|
||||
size 1863088
|
3
acpica-unix-20200528.tar.gz
Normal file
3
acpica-unix-20200528.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e69f81c6924c8d30f9b9005bb002307f07b5a1538e13c909bea2f8a44e0d8610
|
||||
size 1847153
|
@ -1,3 +1,46 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 2 21:45:10 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 19:33:25 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
14
acpica.spec
14
acpica.spec
@ -20,12 +20,11 @@
|
||||
%define kver %(rpm -q --qf '%%{VERSION}' kernel-source)
|
||||
%define dmp_ver %{kver}
|
||||
Name: acpica
|
||||
Version: 20200110
|
||||
Version: 20200528
|
||||
Release: 0
|
||||
Summary: A set of tools to display and debug BIOS ACPI tables
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Tools/Debuggers
|
||||
URL: http://acpica.org
|
||||
URL: https://acpica.org
|
||||
Source: https://acpica.org/sites/acpica/files/%{src_dir}.tar.gz
|
||||
Source1: ec_access.c
|
||||
Source2: acpi_genl.tar.bz2
|
||||
@ -72,14 +71,14 @@ cd acpidump-%{dmp_ver}
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
cc %{SOURCE1} %{optflags} -o ec_access
|
||||
make %{?_smp_mflags} -C acpi_genl CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} -C wmidump CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} OPT_CFLAGS="%{optflags} -fcommon" HOST="_LINUX"
|
||||
%make_build -C acpi_genl CFLAGS="%{optflags}"
|
||||
%make_build -C wmidump CFLAGS="%{optflags}"
|
||||
%make_build OPT_CFLAGS="%{optflags} -fcommon" HOST="_LINUX"
|
||||
cd acpidump-%{dmp_ver}/tools/power/acpi
|
||||
if [ -f tools/acpidump/Makefile ]; then # 4.3+
|
||||
cd tools/acpidump/
|
||||
fi
|
||||
make %{?_smp_mflags} EXTRA_CFLAGS="%{optflags} -fno-strict-aliasing" prefix=%{_prefix} all
|
||||
%make_build EXTRA_CFLAGS="%{optflags} -fno-strict-aliasing" prefix=%{_prefix} all
|
||||
|
||||
%install
|
||||
install -Dm 755 %{SOURCE3} %{buildroot}%{_bindir}/acpi_validate
|
||||
@ -113,7 +112,6 @@ make V=1 EXTRA_CFLAGS="%{optflags}" mandir=%{_mandir} prefix=%{_prefix} DESTDIR=
|
||||
%{_bindir}/wmixtract
|
||||
%{_bindir}/acpibin
|
||||
%{_bindir}/acpihelp
|
||||
%{_bindir}/acpinames
|
||||
%{_bindir}/acpi_validate
|
||||
%{_bindir}/acpiexamples
|
||||
%{_sbindir}/acpidump
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -ur acpica-unix-20190215.orig/source/compiler/asloptions.c acpica-unix-20190215/source/compiler/asloptions.c
|
||||
--- acpica-unix-20190215.orig/source/compiler/asloptions.c 2019-03-13 20:33:47.883014329 +0100
|
||||
+++ acpica-unix-20190215/source/compiler/asloptions.c 2019-03-13 20:48:23.856699517 +0100
|
||||
@@ -870,12 +870,6 @@
|
||||
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;
|
||||
|
||||
@ -14,9 +14,9 @@ diff -ur acpica-unix-20190215.orig/source/compiler/asloptions.c acpica-unix-2019
|
||||
case 'e':
|
||||
|
||||
/* Disable all warning/remark messages (errors only) */
|
||||
diff -ur acpica-unix-20190215.orig/source/include/acapps.h acpica-unix-20190215/source/include/acapps.h
|
||||
--- acpica-unix-20190215.orig/source/include/acapps.h 2019-03-13 20:33:47.895014190 +0100
|
||||
+++ acpica-unix-20190215/source/include/acapps.h 2019-03-13 20:49:02.100265324 +0100
|
||||
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
|
||||
@ -27,9 +27,9 @@ diff -ur acpica-unix-20190215.orig/source/include/acapps.h acpica-unix-20190215/
|
||||
/* Macros for usage messages */
|
||||
|
||||
#define ACPI_USAGE_HEADER(Usage) \
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpibin/abmain.c acpica-unix-20190215/source/tools/acpibin/abmain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpibin/abmain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpibin/abmain.c 2019-03-13 20:50:02.779578343 +0100
|
||||
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");
|
||||
@ -50,9 +50,9 @@ diff -ur acpica-unix-20190215.orig/source/tools/acpibin/abmain.c acpica-unix-201
|
||||
default:
|
||||
|
||||
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpidump/apmain.c acpica-unix-20190215/source/tools/acpidump/apmain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpidump/apmain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpidump/apmain.c 2019-03-13 20:50:41.199143577 +0100
|
||||
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);
|
||||
@ -66,10 +66,10 @@ diff -ur acpica-unix-20190215.orig/source/tools/acpidump/apmain.c acpica-unix-20
|
||||
default:
|
||||
|
||||
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpiexec/aemain.c acpica-unix-20190215/source/tools/acpiexec/aemain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpiexec/aemain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpiexec/aemain.c 2019-03-13 20:51:39.286483527 +0100
|
||||
@@ -281,7 +281,6 @@
|
||||
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");
|
||||
@ -77,7 +77,7 @@ diff -ur acpica-unix-20190215.orig/source/tools/acpiexec/aemain.c acpica-unix-20
|
||||
ACPI_OPTION ("-vh", "Verbose exception handler output");
|
||||
ACPI_OPTION ("-vi", "Verbose initialization output");
|
||||
ACPI_OPTION ("-vr", "Verbose region handler output");
|
||||
@@ -547,11 +546,6 @@
|
||||
@@ -546,11 +545,6 @@
|
||||
AcpiGbl_VerboseLeakDump = TRUE;
|
||||
break;
|
||||
|
||||
@ -89,9 +89,9 @@ diff -ur acpica-unix-20190215.orig/source/tools/acpiexec/aemain.c acpica-unix-20
|
||||
case 'h':
|
||||
|
||||
AcpiGbl_VerboseHandlers = TRUE;
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpihelp/ahmain.c acpica-unix-20190215/source/tools/acpihelp/ahmain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpihelp/ahmain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpihelp/ahmain.c 2019-03-13 20:52:25.197957319 +0100
|
||||
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");
|
||||
@ -112,32 +112,9 @@ diff -ur acpica-unix-20190215.orig/source/tools/acpihelp/ahmain.c acpica-unix-20
|
||||
default:
|
||||
|
||||
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpinames/anmain.c acpica-unix-20190215/source/tools/acpinames/anmain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpinames/anmain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpinames/anmain.c 2019-03-13 20:53:20.097316161 +0100
|
||||
@@ -203,7 +203,6 @@
|
||||
ACPI_OPTION ("-?", "Display this message");
|
||||
ACPI_OPTION ("-l", "Load namespace only, no display");
|
||||
ACPI_OPTION ("-v", "Display version information");
|
||||
- ACPI_OPTION ("-vd", "Display build date and time");
|
||||
ACPI_OPTION ("-x <DebugLevel>", "Debug output level");
|
||||
}
|
||||
|
||||
@@ -270,11 +269,6 @@
|
||||
|
||||
exit (0);
|
||||
|
||||
- case 'd':
|
||||
-
|
||||
- printf (ACPI_COMMON_BUILD_TIME);
|
||||
- return (0);
|
||||
-
|
||||
default:
|
||||
|
||||
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpisrc/asmain.c acpica-unix-20190215/source/tools/acpisrc/asmain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpisrc/asmain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpisrc/asmain.c 2019-03-13 20:54:05.928781292 +0100
|
||||
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");
|
||||
@ -158,9 +135,9 @@ diff -ur acpica-unix-20190215.orig/source/tools/acpisrc/asmain.c acpica-unix-201
|
||||
default:
|
||||
|
||||
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
|
||||
diff -ur acpica-unix-20190215.orig/source/tools/acpixtract/axmain.c acpica-unix-20190215/source/tools/acpixtract/axmain.c
|
||||
--- acpica-unix-20190215.orig/source/tools/acpixtract/axmain.c 2019-03-13 20:33:47.899014144 +0100
|
||||
+++ acpica-unix-20190215/source/tools/acpixtract/axmain.c 2019-03-13 20:54:41.452367029 +0100
|
||||
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>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user