Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/intel]: src/sys/external/bsd/acpica/dist -------------------------------...
details: https://anonhg.NetBSD.org/src/rev/57d51d5db000
branches: intel
changeset: 746334:57d51d5db000
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 28 19:46:32 2020 +0000
description:
----------------------------------------
26 March 2020. Summary of changes for version 20200326:
1) ACPICA kernel-resident subsystem:
Performed a code clean-up to prevent build errors on early versions of
GCC-10.
Added the NHLT table signature. iASL data table compiler/disassembler
support for this table is coming soon.
2) iASL Compiler/Disassembler and ACPICA tools:
AcpiExec: Fixed several problems with the namespace initialization file
(-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS
errors, several seg faults, and enhancements to line parsing within the
init file. In addition, each object found in the init file and it's new
value is displayed, as well as any such entries that do not have a
corresponding name in the namespace. For reference, the syntax for the
various supported data types are presented below:
PCHG 0x777788889999BBBB // Integer
\DEV1.STR1 "XYZ" // String
BUF1 (88 99 AA) // Buffer
PKG1 [0x1111 0x2222] // Package
\BF1 0x7980 // BufferField
RCRV 0x0123456789ABCDEF // Field Unit
iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro
can be used anywhere in a given ASL file to configure iASL to expect an
iASL compiler error code on the line where this macro was placed. If the
error code does not exist, an error is generated. This is intended to be
used for ACPICA's ASL test suite, but can be used by ASL developers as
well.
iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD
IVRS table parsing supported only IVHD type 10h structures. Parsing an
IVHD type 11h caused the iasl to report unknown subtable type. Add
necessary structure definition for IVHD type 11h and apply correct
parsing method based on subtable type. Micha? ?ygowski.
iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name
According to AMD IOMMU Specification Revision 3.05 the reserved field
should be IOMMU Feature Reporting. Change the name of the field to the
correct one. Micha? ?ygowski.
acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch
based on suggestions by David Seifert and Benjamin Berg.
iASL: table compiler: removed an unused variable (DtCompilerParserResult)
causing linking errors. Patch based on suggestions by David Seifert and
Benjamin Berg.
iASL: table compiler: make LexBuffer static to avoid linking errors in
newer compilers. Patch based on suggestions by David Seifert and Benjamin
Berg.
iASL: fixed type matching between External and Named objects. External
object types can only be expressed with ACPI object type values that are
defined in the ACPI spec. However, iASL uses ACPI object type values that
are local to ACPICA in addition to the values defined in the ACPI spec.
This change implements type matching to map some object type values
specific to ACPICA to ones that are defined in the ACPI spec.
iASL: Dropped the type mismatch compiler error that can arise from
External declarations to a warning. This warning can occur when there is
a type difference between the external declaration and the actual object
declaration (when compiling multiple files/modules simultaneously).
iASL: removed an incorrect error message regarding externals. This change
removes an incorrect error that is emitted when a duplicate external
declaration does not contain a type that opens a scope. This is incorrect
because the duplicate external with conflicting types are already caught
by iASL and it doesn't make any sense to enforce what this conflicting
type should be.
AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be
surrounded by parens. Otherwise, a logical statement that applies a
logical not operator to this macro could result in a computation that
applies the operator to the left side of the logical and but not the
right. Reported-by: John Levon <john.levon%joyent.com@localhost>
Fixed a problem with the local version of sprint(): On 32-bit, the
provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX,
String + Size will wrap, meaning End < Start, and
AcpiUtBoundStringOutput() will never output anything as a result. The
symptom seen of this was acpixtract failing to output anything -- with a
custom build that included utprint.c. Signed-off-by: John Levon
<john.levon%joyent.com@localhost>
iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the
ACPI specification.
----------------------------------------
14 February 2020. Summary of changes for version 20200214:
1) ACPICA kernel-resident subsystem:
Enable sleep button on ACPI legacy wake: Hibernation (S4) is triggered
in a guest when it receives a sleep trigger from the hypervisor. When the
guest resumes from this power state, it does not see the SleepEnabled
bit. In other words, the sleepHibernation (S4) is triggered in a guest
when it receives a sleep trigger from the hypervisor. When the guest
resumes from this power state, it does not see the SleepEnabled bit. In
other words, the sleep button is not enabled on waking from an S4 state.
This causes subsequent invocation of sleep state to fail since the
guest.button is not enabled on waking from an S4 state. This causes
subsequent invocation of sleep state to fail in the guest. Fix this
problem by enabling the sleep button in ACPI legacy wake. From Anchal
Agarwal <anchalag%amazon.com@localhost>.
Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used
for checking the status bits of all enabled GPEs in one go. It is needed
to distinguish spurious SCIs from genuine ones when deciding whether or
not to wake up the system from suspend-to-idle.
Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be
using HOST in their environment to represent the host name for their
machines. Avoid this problem by renaming this variable from HOST to
ACPI_HOST.
MSVC 2017 project files: Enable multiprocessor generation to improve
build performance.
Added a macro to get the byte width of a Generic Address structure. New
ACPI_ACCESS_BYTE_WIDTH is in addition to the existing
ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
2) iASL Compiler/Disassembler and ACPICA tools:
iASL: Implemented full support for the (optional, rarely used) ReturnType
and ParameterTypesList for the Method, Function, and External operators.
For Method declarations, the number of individual ParameterTypes must
match the declaration of the number of arguments (NumArgs). This also
Fixes a problem with the External operator where extra/extraneous bytes
were emitted in the AML code if the optional ReturnType/ParameterTypes
were specified for a MethodObj declaration.
New error message:
1) Method NumArgs count does not match length of ParameterTypes list
iASL: Implemented detection of type mismatches between External
declarations and named object declarations. Also, detect type mismatches
between multiple External declarations of the same Name.
New error messages:
1) Type mismatch between external declaration and actual object
declaration detected
2) Type mismatch between multiple external declarations detected
iASL: Implemented new error messages for External operators that specify
a ReturnType and/or ParameterTypesList for any object type other than
control methods (MethodObj).
New error messages:
1) Return type is only allowed for Externals declared as MethodObj
2) Parameter type is only allowed for Externals declared as MethodObj
iASL: Implemented two new remark/warning messages for ASL code that
creates named objects from within a control method. This is very
inefficient since the named object must be created and deleted each time
the method is executed.
New messages:
1) Creation of named objects within a method is highly inefficient, use
globals or method local variables instead (remark)
2) Static OperationRegion should be declared outside control method
(warning)
iASL: Improved illegal forward reference detection by adding support to
detect forward-reference method invocations.
iASL: Detect and issue an error message for NameStrings that contain too
many individual NameSegs (>255). This is an AML limitation that is
defined in the ACPI specification.
New message:
1) NameString contains too many NameSegs (>255)
acpidump: windows: use GetSystemFirmwareTable API for all tables except
SSDT. By using this API, acpidump is able to get all tables in the XSDT
iASL: Removed unused parser file and updated msvc2017 project files.
Removed the obsolete AslCompiler.y from the repository.
iASL: msvc2017: Fixed macros in the file dependency list to prevent
unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
Disassembler: Prevent spilling error messages to the output file. All
errors are directed to the console instead. These error messages
prevented re-compilation of the resulting disassembled ASL output file
(.DSL).
----------------------------------------
10 January 2020. Summary of changes for version 20200110:
1) ACPICA kernel-resident subsystem:
Updated all copyrights to 2020. This affects all ACPICA source code
modules.
2) iASL Compiler/Disassembler and ACPICA tools:
ASL test suite (ASLTS): Updated all copyrights to 2020.
Tools and utilities: Updated all signon copyrights to 2020.
iASL: fix forward reference analysis for field declarations. Fixes
forward reference analysis for field declarations by searching the
parent scope for the named object when the object is not present in
the current scope.
iASL: Improved the error output for ALREADY_EXISTS errors. Now, the
full pathname of the name that already exists is printed.
iASL: Enhance duplicate Case() detection for buffers. Add check for
buffers with no initializer list (these buffers will be filled with
zeros at runtime.)
diffstat:
sys/external/bsd/acpica/dist/changes.txt | 260 ++++-
sys/external/bsd/acpica/dist/common/acfileio.c | 2 +-
sys/external/bsd/acpica/dist/common/acgetline.c | 2 +-
sys/external/bsd/acpica/dist/common/adfile.c | 2 +-
sys/external/bsd/acpica/dist/common/adisasm.c | 21 +-
sys/external/bsd/acpica/dist/common/adwalk.c | 2 +-
sys/external/bsd/acpica/dist/common/ahids.c | 2 +-
sys/external/bsd/acpica/dist/common/ahpredef.c | 2 +-
sys/external/bsd/acpica/dist/common/ahtable.c | 4 +-
sys/external/bsd/acpica/dist/common/ahuuids.c | 2 +-
sys/external/bsd/acpica/dist/common/cmfsize.c | 2 +-
sys/external/bsd/acpica/dist/common/dmextern.c | 2 +-
sys/external/bsd/acpica/dist/common/dmrestag.c | 2 +-
sys/external/bsd/acpica/dist/common/dmswitch.c | 2 +-
sys/external/bsd/acpica/dist/common/dmtable.c | 5 +-
sys/external/bsd/acpica/dist/common/dmtables.c | 3 +-
sys/external/bsd/acpica/dist/common/dmtbdump.c | 2 +-
sys/external/bsd/acpica/dist/common/dmtbdump1.c | 2 +-
sys/external/bsd/acpica/dist/common/dmtbdump2.c | 27 +-
sys/external/bsd/acpica/dist/common/dmtbdump3.c | 2 +-
sys/external/bsd/acpica/dist/common/dmtbinfo.c | 2 +-
sys/external/bsd/acpica/dist/common/dmtbinfo1.c | 2 +-
sys/external/bsd/acpica/dist/common/dmtbinfo2.c | 18 +-
sys/external/bsd/acpica/dist/common/dmtbinfo3.c | 4 +-
sys/external/bsd/acpica/dist/common/getopt.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslallocate.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslanalyze.c | 16 +-
sys/external/bsd/acpica/dist/compiler/aslascii.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslbtypes.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslcache.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslcodegen.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslcompile.c | 19 +-
sys/external/bsd/acpica/dist/compiler/aslcompiler.h | 27 +-
sys/external/bsd/acpica/dist/compiler/aslcompiler.l | 22 +-
sys/external/bsd/acpica/dist/compiler/aslcstyle.y | 2 +-
sys/external/bsd/acpica/dist/compiler/asldebug.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asldefine.h | 3 +-
sys/external/bsd/acpica/dist/compiler/aslerror.c | 136 ++-
sys/external/bsd/acpica/dist/compiler/aslexternal.c | 46 +-
sys/external/bsd/acpica/dist/compiler/aslfileio.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslfiles.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslfold.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslglobal.h | 3 +-
sys/external/bsd/acpica/dist/compiler/aslhelp.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslhelpers.y | 2 +-
sys/external/bsd/acpica/dist/compiler/aslhex.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslkeywords.y | 2 +-
sys/external/bsd/acpica/dist/compiler/asllength.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asllisting.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asllistsup.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslload.c | 329 +++++-
sys/external/bsd/acpica/dist/compiler/asllookup.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslmain.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslmap.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslmapenter.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslmapoutput.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslmaputils.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslmessages.c | 15 +-
sys/external/bsd/acpica/dist/compiler/aslmessages.h | 12 +-
sys/external/bsd/acpica/dist/compiler/aslmethod.c | 207 +++-
sys/external/bsd/acpica/dist/compiler/aslnamesp.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asloffset.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslopcodes.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asloperands.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslopt.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asloptions.c | 4 +-
sys/external/bsd/acpica/dist/compiler/aslparseop.c | 15 +-
sys/external/bsd/acpica/dist/compiler/aslparser.y | 2 +-
sys/external/bsd/acpica/dist/compiler/aslpld.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslpredef.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslprepkg.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslprimaries.y | 4 +-
sys/external/bsd/acpica/dist/compiler/aslprintf.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslprune.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslresource.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslresources.y | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype1.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype1i.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2d.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2e.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2q.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2s.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrestype2w.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslrules.y | 25 +-
sys/external/bsd/acpica/dist/compiler/aslstartup.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslstubs.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslsupport.l | 2 +-
sys/external/bsd/acpica/dist/compiler/aslsupport.y | 2 +-
sys/external/bsd/acpica/dist/compiler/asltokens.y | 2 +-
sys/external/bsd/acpica/dist/compiler/asltransform.c | 151 ++-
sys/external/bsd/acpica/dist/compiler/asltree.c | 2 +-
sys/external/bsd/acpica/dist/compiler/asltypes.h | 33 +-
sys/external/bsd/acpica/dist/compiler/asltypes.y | 2 +-
sys/external/bsd/acpica/dist/compiler/aslutils.c | 43 +-
sys/external/bsd/acpica/dist/compiler/asluuid.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslwalks.c | 2 +-
sys/external/bsd/acpica/dist/compiler/aslxref.c | 59 +-
sys/external/bsd/acpica/dist/compiler/aslxrefout.c | 2 +-
sys/external/bsd/acpica/dist/compiler/cvcompiler.c | 2 +-
sys/external/bsd/acpica/dist/compiler/cvdisasm.c | 2 +-
sys/external/bsd/acpica/dist/compiler/cvparser.c | 18 +-
sys/external/bsd/acpica/dist/compiler/dtcompile.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dtcompiler.h | 3 +-
sys/external/bsd/acpica/dist/compiler/dtcompilerparser.l | 3 +-
sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y | 3 +-
sys/external/bsd/acpica/dist/compiler/dtexpress.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dtfield.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dtio.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dtparser.l | 4 +-
sys/external/bsd/acpica/dist/compiler/dtparser.y | 2 +-
sys/external/bsd/acpica/dist/compiler/dtsubtable.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dttable.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dttable1.c | 12 +-
sys/external/bsd/acpica/dist/compiler/dttable2.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dttemplate.c | 2 +-
sys/external/bsd/acpica/dist/compiler/dttemplate.h | 2 +-
sys/external/bsd/acpica/dist/compiler/dtutils.c | 5 +-
sys/external/bsd/acpica/dist/compiler/preprocess.h | 2 +-
sys/external/bsd/acpica/dist/compiler/prexpress.c | 2 +-
sys/external/bsd/acpica/dist/compiler/prmacros.c | 2 +-
sys/external/bsd/acpica/dist/compiler/prparser.l | 4 +-
sys/external/bsd/acpica/dist/compiler/prparser.y | 2 +-
sys/external/bsd/acpica/dist/compiler/prscan.c | 2 +-
sys/external/bsd/acpica/dist/compiler/prutils.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbcmds.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbconvert.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbdisply.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbexec.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbfileio.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbhistry.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbinput.c | 21 +-
sys/external/bsd/acpica/dist/debugger/dbmethod.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbnames.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbobject.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbstats.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbtest.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbutils.c | 2 +-
sys/external/bsd/acpica/dist/debugger/dbxface.c | 3 +-
sys/external/bsd/acpica/dist/disassembler/dmbuffer.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmcstyle.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmdeferred.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmnames.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmopcode.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmresrc.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmresrcl.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmresrcl2.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmresrcs.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmutils.c | 2 +-
sys/external/bsd/acpica/dist/disassembler/dmwalk.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsargs.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dscontrol.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsdebug.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsfield.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsinit.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsmethod.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsmthdat.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsobject.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsopcode.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dspkginit.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dsutils.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dswexec.c | 34 +-
sys/external/bsd/acpica/dist/dispatcher/dswload.c | 4 +-
sys/external/bsd/acpica/dist/dispatcher/dswload2.c | 39 +-
sys/external/bsd/acpica/dist/dispatcher/dswscope.c | 2 +-
sys/external/bsd/acpica/dist/dispatcher/dswstate.c | 2 +-
sys/external/bsd/acpica/dist/events/evevent.c | 4 +-
sys/external/bsd/acpica/dist/events/evglock.c | 2 +-
sys/external/bsd/acpica/dist/events/evgpe.c | 2 +-
sys/external/bsd/acpica/dist/events/evgpeblk.c | 2 +-
sys/external/bsd/acpica/dist/events/evgpeinit.c | 2 +-
sys/external/bsd/acpica/dist/events/evgpeutil.c | 2 +-
sys/external/bsd/acpica/dist/events/evhandler.c | 2 +-
sys/external/bsd/acpica/dist/events/evmisc.c | 2 +-
sys/external/bsd/acpica/dist/events/evregion.c | 2 +-
sys/external/bsd/acpica/dist/events/evrgnini.c | 2 +-
sys/external/bsd/acpica/dist/events/evsci.c | 2 +-
sys/external/bsd/acpica/dist/events/evxface.c | 2 +-
sys/external/bsd/acpica/dist/events/evxfevnt.c | 2 +-
sys/external/bsd/acpica/dist/events/evxfgpe.c | 40 +-
sys/external/bsd/acpica/dist/events/evxfregn.c | 2 +-
sys/external/bsd/acpica/dist/executer/exconcat.c | 2 +-
sys/external/bsd/acpica/dist/executer/exconfig.c | 2 +-
sys/external/bsd/acpica/dist/executer/exconvrt.c | 2 +-
sys/external/bsd/acpica/dist/executer/excreate.c | 2 +-
sys/external/bsd/acpica/dist/executer/exdebug.c | 2 +-
sys/external/bsd/acpica/dist/executer/exdump.c | 2 +-
sys/external/bsd/acpica/dist/executer/exfield.c | 2 +-
sys/external/bsd/acpica/dist/executer/exfldio.c | 2 +-
sys/external/bsd/acpica/dist/executer/exmisc.c | 2 +-
sys/external/bsd/acpica/dist/executer/exmutex.c | 2 +-
sys/external/bsd/acpica/dist/executer/exnames.c | 2 +-
sys/external/bsd/acpica/dist/executer/exoparg1.c | 2 +-
sys/external/bsd/acpica/dist/executer/exoparg2.c | 2 +-
sys/external/bsd/acpica/dist/executer/exoparg3.c | 2 +-
sys/external/bsd/acpica/dist/executer/exoparg6.c | 2 +-
sys/external/bsd/acpica/dist/executer/exprep.c | 2 +-
sys/external/bsd/acpica/dist/executer/exregion.c | 2 +-
sys/external/bsd/acpica/dist/executer/exresnte.c | 2 +-
sys/external/bsd/acpica/dist/executer/exresolv.c | 2 +-
sys/external/bsd/acpica/dist/executer/exresop.c | 2 +-
sys/external/bsd/acpica/dist/executer/exserial.c | 2 +-
sys/external/bsd/acpica/dist/executer/exstore.c | 2 +-
sys/external/bsd/acpica/dist/executer/exstoren.c | 2 +-
sys/external/bsd/acpica/dist/executer/exstorob.c | 2 +-
sys/external/bsd/acpica/dist/executer/exsystem.c | 2 +-
sys/external/bsd/acpica/dist/executer/extrace.c | 2 +-
sys/external/bsd/acpica/dist/executer/exutils.c | 2 +-
sys/external/bsd/acpica/dist/generate/lint/files.lnt | 1 -
sys/external/bsd/acpica/dist/generate/lint/lint.bat | 1 -
sys/external/bsd/acpica/dist/generate/lint/readme.txt | 1 -
sys/external/bsd/acpica/dist/generate/lint/std16.lnt | 1 -
sys/external/bsd/acpica/dist/generate/lint/std64.lnt | 1 -
sys/external/bsd/acpica/dist/generate/unix/Makefile.config | 26 +-
sys/external/bsd/acpica/dist/generate/unix/acpidump/Makefile | 8 +-
sys/external/bsd/acpica/dist/generate/unix/acpiexec/Makefile | 6 +-
sys/external/bsd/acpica/dist/hardware/hwacpi.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwesleep.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwgpe.c | 81 +-
sys/external/bsd/acpica/dist/hardware/hwpci.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwregs.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwsleep.c | 12 +-
sys/external/bsd/acpica/dist/hardware/hwtimer.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwvalid.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwxface.c | 2 +-
sys/external/bsd/acpica/dist/hardware/hwxfsleep.c | 2 +-
sys/external/bsd/acpica/dist/include/acapps.h | 4 +-
sys/external/bsd/acpica/dist/include/acbuffer.h | 2 +-
sys/external/bsd/acpica/dist/include/acclib.h | 2 +-
sys/external/bsd/acpica/dist/include/accommon.h | 2 +-
sys/external/bsd/acpica/dist/include/acconfig.h | 2 +-
sys/external/bsd/acpica/dist/include/acconvert.h | 5 +-
sys/external/bsd/acpica/dist/include/acdebug.h | 2 +-
sys/external/bsd/acpica/dist/include/acdisasm.h | 3 +-
sys/external/bsd/acpica/dist/include/acdispat.h | 2 +-
sys/external/bsd/acpica/dist/include/acevents.h | 2 +-
sys/external/bsd/acpica/dist/include/acexcep.h | 2 +-
sys/external/bsd/acpica/dist/include/acglobal.h | 2 +-
sys/external/bsd/acpica/dist/include/achware.h | 6 +-
sys/external/bsd/acpica/dist/include/acinterp.h | 2 +-
sys/external/bsd/acpica/dist/include/aclocal.h | 2 +-
sys/external/bsd/acpica/dist/include/acmacros.h | 6 +-
sys/external/bsd/acpica/dist/include/acnames.h | 2 +-
sys/external/bsd/acpica/dist/include/acnamesp.h | 6 +-
sys/external/bsd/acpica/dist/include/acobject.h | 2 +-
sys/external/bsd/acpica/dist/include/acopcode.h | 2 +-
sys/external/bsd/acpica/dist/include/acoutput.h | 2 +-
sys/external/bsd/acpica/dist/include/acparser.h | 2 +-
sys/external/bsd/acpica/dist/include/acpi.h | 2 +-
sys/external/bsd/acpica/dist/include/acpiosxf.h | 2 +-
sys/external/bsd/acpica/dist/include/acpixf.h | 8 +-
sys/external/bsd/acpica/dist/include/acpredef.h | 2 +-
sys/external/bsd/acpica/dist/include/acresrc.h | 2 +-
sys/external/bsd/acpica/dist/include/acrestyp.h | 2 +-
sys/external/bsd/acpica/dist/include/acstruct.h | 2 +-
sys/external/bsd/acpica/dist/include/actables.h | 2 +-
sys/external/bsd/acpica/dist/include/actbinfo.h | 5 +-
sys/external/bsd/acpica/dist/include/actbl.h | 2 +-
sys/external/bsd/acpica/dist/include/actbl1.h | 4 +-
sys/external/bsd/acpica/dist/include/actbl2.h | 28 +-
sys/external/bsd/acpica/dist/include/actbl3.h | 8 +-
sys/external/bsd/acpica/dist/include/actypes.h | 9 +-
sys/external/bsd/acpica/dist/include/acutils.h | 2 +-
sys/external/bsd/acpica/dist/include/acuuid.h | 4 +-
sys/external/bsd/acpica/dist/include/amlcode.h | 2 +-
sys/external/bsd/acpica/dist/include/amlresrc.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/accygwin.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acdragonfly.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acdragonflyex.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acefi.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acefiex.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acenv.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acenvex.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acfreebsd.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acgcc.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acgccex.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/achaiku.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acintel.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/aclinux.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/aclinuxex.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acmacosx.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acmsvc.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acmsvcex.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acnetbsd.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acos2.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acqnx.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acwin.h | 2 +-
sys/external/bsd/acpica/dist/include/platform/acwin64.h | 2 +-
sys/external/bsd/acpica/dist/namespace/nsaccess.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsalloc.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsarguments.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsconvert.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsdump.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsdumpdv.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nseval.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsinit.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsload.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsnames.c | 16 +-
sys/external/bsd/acpica/dist/namespace/nsobject.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsparse.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nspredef.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsprepkg.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsrepair.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsrepair2.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nssearch.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsutils.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nswalk.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsxfeval.c | 2 +-
sys/external/bsd/acpica/dist/namespace/nsxfname.c | 4 +-
sys/external/bsd/acpica/dist/namespace/nsxfobj.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osbsdtbl.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osgendbg.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oslinuxtbl.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osunixdir.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osunixmap.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oswindir.c | 2 +-
sys/external/bsd/acpica/dist/os_specific/service_layers/oswintbl.c | 507 ++++++---
sys/external/bsd/acpica/dist/os_specific/service_layers/oswinxf.c | 2 +-
sys/external/bsd/acpica/dist/parser/psargs.c | 2 +-
sys/external/bsd/acpica/dist/parser/psloop.c | 2 +-
sys/external/bsd/acpica/dist/parser/psobject.c | 2 +-
sys/external/bsd/acpica/dist/parser/psopcode.c | 2 +-
sys/external/bsd/acpica/dist/parser/psopinfo.c | 2 +-
sys/external/bsd/acpica/dist/parser/psparse.c | 2 +-
sys/external/bsd/acpica/dist/parser/psscope.c | 2 +-
sys/external/bsd/acpica/dist/parser/pstree.c | 2 +-
sys/external/bsd/acpica/dist/parser/psutils.c | 2 +-
sys/external/bsd/acpica/dist/parser/pswalk.c | 2 +-
sys/external/bsd/acpica/dist/parser/psxface.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsaddr.c | 2 +-
sys/external/bsd/acpica/dist/resources/rscalc.c | 2 +-
sys/external/bsd/acpica/dist/resources/rscreate.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsdump.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsdumpinfo.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsinfo.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsio.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsirq.c | 2 +-
sys/external/bsd/acpica/dist/resources/rslist.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsmemory.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsmisc.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsserial.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsutils.c | 2 +-
sys/external/bsd/acpica/dist/resources/rsxface.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbdata.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbfadt.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbfind.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbinstal.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbprint.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbutils.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbxface.c | 14 +-
sys/external/bsd/acpica/dist/tables/tbxfload.c | 2 +-
sys/external/bsd/acpica/dist/tables/tbxfroot.c | 2 +-
sys/external/bsd/acpica/dist/tests/misc/grammar.asl | 12 +-
sys/external/bsd/acpica/dist/tests/templates/templates.sh | 1 -
sys/external/bsd/acpica/dist/tools/acpibin/abcompare.c | 16 +-
sys/external/bsd/acpica/dist/tools/acpibin/abmain.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpibin/acpibin.h | 2 +-
sys/external/bsd/acpica/dist/tools/acpidump/acpidump.h | 2 +-
sys/external/bsd/acpica/dist/tools/acpidump/apdump.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpidump/apfiles.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpidump/apmain.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aecommon.h | 22 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeexception.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeexec.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aehandlers.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c | 254 +++-
sys/external/bsd/acpica/dist/tools/acpiexec/aeinstall.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aemain.c | 24 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aeregion.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aetables.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aetables.h | 2 +-
sys/external/bsd/acpica/dist/tools/acpiexec/aetests.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/acpihelp.h | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahaml.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahamlops.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahasl.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahaslkey.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahaslops.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahdecode.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahgrammar.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpihelp/ahmain.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpinames/acpinames.h | 2 +-
sys/external/bsd/acpica/dist/tools/acpinames/anmain.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpinames/anstubs.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpinames/antables.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h | 2 +-
sys/external/bsd/acpica/dist/tools/acpisrc/ascase.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asconvrt.c | 4 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asmain.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asremove.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpisrc/astable.c | 17 +-
sys/external/bsd/acpica/dist/tools/acpisrc/asutils.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpixtract/acpixtract.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpixtract/acpixtract.h | 6 +-
sys/external/bsd/acpica/dist/tools/acpixtract/axmain.c | 2 +-
sys/external/bsd/acpica/dist/tools/acpixtract/axutils.c | 2 +-
sys/external/bsd/acpica/dist/tools/efihello/efihello.c | 2 +-
sys/external/bsd/acpica/dist/tools/examples/examples.c | 2 +-
sys/external/bsd/acpica/dist/tools/examples/examples.h | 2 +-
sys/external/bsd/acpica/dist/tools/examples/exstubs.c | 2 +-
sys/external/bsd/acpica/dist/tools/examples/extables.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utaddress.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utalloc.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utascii.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utbuffer.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utcache.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utclib.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utcopy.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utdebug.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utdecode.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utdelete.c | 11 +-
sys/external/bsd/acpica/dist/utilities/uterror.c | 2 +-
sys/external/bsd/acpica/dist/utilities/uteval.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utexcep.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utglobal.c | 2 +-
sys/external/bsd/acpica/dist/utilities/uthex.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utids.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utinit.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utlock.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utmath.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utmisc.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utmutex.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utnonansi.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utobject.c | 4 +-
sys/external/bsd/acpica/dist/utilities/utosi.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utownerid.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utpredef.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utprint.c | 10 +-
sys/external/bsd/acpica/dist/utilities/utresdecode.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utresrc.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utstate.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utstring.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utstrsuppt.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utstrtoul64.c | 2 +-
sys/external/bsd/acpica/dist/utilities/uttrack.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utuuid.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utxface.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utxferror.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utxfinit.c | 2 +-
sys/external/bsd/acpica/dist/utilities/utxfmutex.c | 2 +-
442 files changed, 2529 insertions(+), 1057 deletions(-)
diffs (truncated from 9614 to 300 lines):
diff -r 01575157af3d -r 57d51d5db000 sys/external/bsd/acpica/dist/changes.txt
--- a/sys/external/bsd/acpica/dist/changes.txt Sat Dec 14 16:33:12 2019 +0000
+++ b/sys/external/bsd/acpica/dist/changes.txt Sat Mar 28 19:46:32 2020 +0000
@@ -1,22 +1,254 @@
----------------------------------------
-13 December 2019. Summary of changes for version 20191213:
-
-
-1) ACPICA kernel-resident subsystem:
-
-Return a Buffer object for all fields created via the CreateField operator. Previously, an Integer would be returned if the size of the field was less than or equal to the current size of an
Integer. Although this goes against the ACPI specification, it provides compatibility with other ACPI implementations. Also updated the ASLTS test suite to reflect this new behavior.
+26 March 2020. Summary of changes for version 20200326:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Performed a code clean-up to prevent build errors on early versions of
+GCC-10.
+
+Added the NHLT table signature. iASL data table compiler/disassembler
+support for this table is coming soon.
+
+
+2) iASL Compiler/Disassembler and ACPICA tools:
+
+AcpiExec: Fixed several problems with the namespace initialization file
+(-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS
+errors, several seg faults, and enhancements to line parsing within the
+init file. In addition, each object found in the init file and it's new
+value is displayed, as well as any such entries that do not have a
+corresponding name in the namespace. For reference, the syntax for the
+various supported data types are presented below:
+ PCHG 0x777788889999BBBB // Integer
+ \DEV1.STR1 "XYZ" // String
+ BUF1 (88 99 AA) // Buffer
+ PKG1 [0x1111 0x2222] // Package
+ \BF1 0x7980 // BufferField
+ RCRV 0x0123456789ABCDEF // Field Unit
+
+iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro
+can be used anywhere in a given ASL file to configure iASL to expect an
+iASL compiler error code on the line where this macro was placed. If the
+error code does not exist, an error is generated. This is intended to be
+used for ACPICA's ASL test suite, but can be used by ASL developers as
+well.
+
+iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD
+IVRS table parsing supported only IVHD type 10h structures. Parsing an
+IVHD type 11h caused the iasl to report unknown subtable type. Add
+necessary structure definition for IVHD type 11h and apply correct
+parsing method based on subtable type. Micha? ?ygowski.
+
+iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name
+According to AMD IOMMU Specification Revision 3.05 the reserved field
+should be IOMMU Feature Reporting. Change the name of the field to the
+correct one. Micha? ?ygowski.
+
+acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch
+based on suggestions by David Seifert and Benjamin Berg.
+
+iASL: table compiler: removed an unused variable (DtCompilerParserResult)
+causing linking errors. Patch based on suggestions by David Seifert and
+Benjamin Berg.
+
+iASL: table compiler: make LexBuffer static to avoid linking errors in
+newer compilers. Patch based on suggestions by David Seifert and Benjamin
+Berg.
+
+iASL: fixed type matching between External and Named objects. External
+object types can only be expressed with ACPI object type values that are
+defined in the ACPI spec. However, iASL uses ACPI object type values that
+are local to ACPICA in addition to the values defined in the ACPI spec.
+This change implements type matching to map some object type values
+specific to ACPICA to ones that are defined in the ACPI spec.
+
+iASL: Dropped the type mismatch compiler error that can arise from
+External declarations to a warning. This warning can occur when there is
+a type difference between the external declaration and the actual object
+declaration (when compiling multiple files/modules simultaneously).
+
+iASL: removed an incorrect error message regarding externals. This change
+removes an incorrect error that is emitted when a duplicate external
+declaration does not contain a type that opens a scope. This is incorrect
+because the duplicate external with conflicting types are already caught
+by iASL and it doesn't make any sense to enforce what this conflicting
+type should be.
+
+AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be
+surrounded by parens. Otherwise, a logical statement that applies a
+logical not operator to this macro could result in a computation that
+applies the operator to the left side of the logical and but not the
+right. Reported-by: John Levon <john.levon%joyent.com@localhost>
+
+Fixed a problem with the local version of sprint(): On 32-bit, the
+provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX,
+String + Size will wrap, meaning End < Start, and
+AcpiUtBoundStringOutput() will never output anything as a result. The
+symptom seen of this was acpixtract failing to output anything -- with a
+custom build that included utprint.c. Signed-off-by: John Levon
+<john.levon%joyent.com@localhost>
+
+iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the
+ACPI specification.
+
+
+----------------------------------------
+14 February 2020. Summary of changes for version 20200214:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Enable sleep button on ACPI legacy wake: Hibernation (S4) is triggered
+in a guest when it receives a sleep trigger from the hypervisor. When the
+guest resumes from this power state, it does not see the SleepEnabled
+bit. In other words, the sleepHibernation (S4) is triggered in a guest
+when it receives a sleep trigger from the hypervisor. When the guest
+resumes from this power state, it does not see the SleepEnabled bit. In
+other words, the sleep button is not enabled on waking from an S4 state.
+This causes subsequent invocation of sleep state to fail since the
+guest.button is not enabled on waking from an S4 state. This causes
+subsequent invocation of sleep state to fail in the guest. Fix this
+problem by enabling the sleep button in ACPI legacy wake. From Anchal
+Agarwal <anchalag%amazon.com@localhost>.
+
+Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used
+for checking the status bits of all enabled GPEs in one go. It is needed
+to distinguish spurious SCIs from genuine ones when deciding whether or
+not to wake up the system from suspend-to-idle.
+
+Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be
+using HOST in their environment to represent the host name for their
+machines. Avoid this problem by renaming this variable from HOST to
+ACPI_HOST.
+
+MSVC 2017 project files: Enable multiprocessor generation to improve
+build performance.
+
+Added a macro to get the byte width of a Generic Address structure. New
+ACPI_ACCESS_BYTE_WIDTH is in addition to the existing
+ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
+
+
+2) iASL Compiler/Disassembler and ACPICA tools:
+
+iASL: Implemented full support for the (optional, rarely used) ReturnType
+and ParameterTypesList for the Method, Function, and External operators.
+For Method declarations, the number of individual ParameterTypes must
+match the declaration of the number of arguments (NumArgs). This also
+Fixes a problem with the External operator where extra/extraneous bytes
+were emitted in the AML code if the optional ReturnType/ParameterTypes
+were specified for a MethodObj declaration.
+New error message:
+1) Method NumArgs count does not match length of ParameterTypes list
+
+iASL: Implemented detection of type mismatches between External
+declarations and named object declarations. Also, detect type mismatches
+between multiple External declarations of the same Name.
+New error messages:
+1) Type mismatch between external declaration and actual object
+declaration detected
+2) Type mismatch between multiple external declarations detected
+
+iASL: Implemented new error messages for External operators that specify
+a ReturnType and/or ParameterTypesList for any object type other than
+control methods (MethodObj).
+New error messages:
+1) Return type is only allowed for Externals declared as MethodObj
+2) Parameter type is only allowed for Externals declared as MethodObj
+
+iASL: Implemented two new remark/warning messages for ASL code that
+creates named objects from within a control method. This is very
+inefficient since the named object must be created and deleted each time
+the method is executed.
+New messages:
+1) Creation of named objects within a method is highly inefficient, use
+globals or method local variables instead (remark)
+2) Static OperationRegion should be declared outside control method
+(warning)
+
+iASL: Improved illegal forward reference detection by adding support to
+detect forward-reference method invocations.
+
+iASL: Detect and issue an error message for NameStrings that contain too
+many individual NameSegs (>255). This is an AML limitation that is
+defined in the ACPI specification.
+New message:
+1) NameString contains too many NameSegs (>255)
+
+acpidump: windows: use GetSystemFirmwareTable API for all tables except
+SSDT. By using this API, acpidump is able to get all tables in the XSDT
+
+iASL: Removed unused parser file and updated msvc2017 project files.
+Removed the obsolete AslCompiler.y from the repository.
+
+iASL: msvc2017: Fixed macros in the file dependency list to prevent
+unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
+
+Disassembler: Prevent spilling error messages to the output file. All
+errors are directed to the console instead. These error messages
+prevented re-compilation of the resulting disassembled ASL output file
+(.DSL).
+
+
+----------------------------------------
+10 January 2020. Summary of changes for version 20200110:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Updated all copyrights to 2020. This affects all ACPICA source code
+modules.
+
2) iASL Compiler/Disassembler and ACPICA tools:
-iASL: Implemented detection of (and throw an error for) duplicate values for Case statements within a single Switch statement. Duplicate Integers, Strings, and Buffers are supported.
-
-iASL: Fix error logging issue during multiple file compilation -- Switch to the correct input file during error node creation.
-
-iASL: For duplicate named object creation, now emit an error instead of a warning - since this will cause a runtime error.
+ASL test suite (ASLTS): Updated all copyrights to 2020.
+
+Tools and utilities: Updated all signon copyrights to 2020.
+
+iASL: fix forward reference analysis for field declarations. Fixes
+forward reference analysis for field declarations by searching the
+parent scope for the named object when the object is not present in
+the current scope.
+
+iASL: Improved the error output for ALREADY_EXISTS errors. Now, the
+full pathname of the name that already exists is printed.
+
+iASL: Enhance duplicate Case() detection for buffers. Add check for
+buffers with no initializer list (these buffers will be filled with
+zeros at runtime.)
+
+
+----------------------------------------
+13 December 2019. Summary of changes for version 20191213:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Return a Buffer object for all fields created via the CreateField
+operator. Previously, an Integer would be returned if the size of
+the field was less than or equal to the current size of an Integer.
+Although this goes against the ACPI specification, it provides
+compatibility with other ACPI implementations. Also updated the
+ASLTS test suite to reflect this new behavior.
+
+2) iASL Compiler/Disassembler and ACPICA tools:
+
+iASL: Implemented detection of (and throw an error for) duplicate
+values for Case statements within a single Switch statement. Duplicate
+Integers, Strings, and Buffers are supported.
+
+iASL: Fix error logging issue during multiple file compilation --
+Switch to the correct input file during error node creation.
+
+iASL: For duplicate named object creation, now emit an error instead
+of a warning - since this will cause a runtime error.
AcpiSrc: Add unix line-ending support for non-Windows builds.
-iASL: Add an error condition for an attempt to create a NameString with > 255 NameSegs (the max allowable via the AML definition).
+iASL: Add an error condition for an attempt to create a NameString
+with > 255 NameSegs (the max allowable via the AML definition).
----------------------------------------
@@ -8806,8 +9038,8 @@
Fix build error under Bison-2.4.
-Dissasembler: Enhanced FADT support. Added decoding of the Boot
-Architecture
+Disassembler: Enhanced FADT support. Added decoding of the Boot
+Architecture
flags. Now decode all flags, regardless of the FADT version. Flag output
includes the FADT version which first defined each flag.
diff -r 01575157af3d -r 57d51d5db000 sys/external/bsd/acpica/dist/common/acfileio.c
--- a/sys/external/bsd/acpica/dist/common/acfileio.c Sat Dec 14 16:33:12 2019 +0000
+++ b/sys/external/bsd/acpica/dist/common/acfileio.c Sat Mar 28 19:46:32 2020 +0000
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2019, Intel Corp.
+ * Copyright (C) 2000 - 2020, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff -r 01575157af3d -r 57d51d5db000 sys/external/bsd/acpica/dist/common/acgetline.c
--- a/sys/external/bsd/acpica/dist/common/acgetline.c Sat Dec 14 16:33:12 2019 +0000
+++ b/sys/external/bsd/acpica/dist/common/acgetline.c Sat Mar 28 19:46:32 2020 +0000
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
Home |
Main Index |
Thread Index |
Old Index