History log of /src/sys/external/bsd/acpica/dist/executer/exfield.c |
Revision | | Date | Author | Comments |
1.1 |
| 17-Feb-2011 |
jruoho | branches: 1.1.1; Initial revision
|
1.1.1.22 |
| 24-Aug-2025 |
christos | Import 20250807 (previous was 20241212)
|
1.1.1.21 |
| 24-Feb-2025 |
christos | Import new acpica-2024-12-12; previous one was 2024-08-27
|
1.1.1.20 |
| 01-Sep-2023 |
christos | branches: 1.1.1.20.6; Import acpica-20230628 (last was 20221020)
|
1.1.1.19 |
| 10-Dec-2022 |
christos | Import acpica 2022-10-20
20 October 2022. Summary of changes for version 20221020:
This release is available at https://acpica.org/downloads
0) Global changes:
Allow disabling of -Werror. For distro maintainers having `-Werror` can delay update of GCC. Since every GCC release might add new warnings that were not yet captured, it might break the build of packages. With this change, distros can now build with `NOWERROR=TRUE` instead of patching either the errors or the makefiles. The default behavior keeps on using `-Werror`.
1) ACPICA kernel-resident subsystem:
Added support for FFH Operation Region special context data. FFH(Fixed Function Hardware) Opregion is approved to be added in ACPI 6.5 via code first approach[1]. It requires special context data similar to GPIO and Generic Serial Bus as it needs to know platform specific offset and length.
Reverted this commit "executer/exsystem: Warn about sleeps greater than 10 ms." Due to user complaints about valid sleeps greater than 10ms seen in some existing machines -- generating lots of warnings.
Do not touch VGA memory when EBDA < 1KiB. The ACPICA code assumes that EBDA region must be at least 1KiB in size. Because this is not guaranteed, it might happen that while scanning the memory for RSDP pointer, the kernel touches memory above 640KiB. This is unwanted as the VGA memory range may not be decoded or even present when running under virtualization.
Check that EBDA pointer is in valid memory. If the memory at 0x40e is uninitialized, the retrieved physical memory address of EBDA may be beyond the low memory (i.e. above 640K). If so, the kernel may unintentionally access the VGA memory, that might not be decoded or even present in case of virtualization.
2) iASL Compiler/Disassembler and ACPICA tools:
Completed the existing partial support for the CDAT "table". Although this isn't technically an ACPI table (It doesn't go into the XSDT), it is possible to support this table in the Data Table compiler. Created one new file, "utilities/utcksum.c", used to centralize checksum generation/validation into one location. Includes changes to makefiles and MSVC project files.
Updated support for the IORT table - update to version E.e
Added CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table
iASL: Added CCEL table to both compiler/disassembler.
iASL: NHLT table: Fixed compilation of optional undocumented fields
iASL: Fix iASL compile error due to ACPI_TDEL_OFFSET. Commit # 10e4763 ("iASL: Add CCEL table to both compiler/disassembler") introduced the iASL build issue. The issue is due to using ACPI_TDEL_OFFSET for CCEL table member reference. To fix it, change ACPI_TDEL_OFFSET with ACPI_CCEL_OFFSET.
|
1.1.1.18 |
| 27-Aug-2022 |
christos | Import acpica-2022-03-31
|
1.1.1.17 |
| 18-Dec-2021 |
christos | Import acpica-20211217
17 December 2021. Summary of changes for version 20211217:
This release is available at https://acpica.org/downloads
1) ACPICA kernel-resident subsystem:
Hardware: Do not flush CPU cache when entering S4 and S5. According to ACPI 6.4, Section 16.2, the CPU cache flushing is required on entering to S1, S2, and S3, but the ACPICA code flushes the CPU cache regardless of the sleep state. Blind cache flush on entering S5 causes problems for TDX.
Avoid subobject buffer overflow when validating RSDP signature. Since the Signature member is accessed through an ACPI_TABLE_HEADER, the pointer to it is only to a 4-char array, and so trying to read past the 4th character, as will be done when it is an RSDP, reads beyond the bounds of the accessed member. Contributed by jrtc27.
Add support for PCC Opregion special context data. PCC Opregion added in ACPIC 6.3 requires special context data similar to GPIO and Generic Serial Bus as it needs to know the internal PCC buffer and its length as well as the PCC channel index when the opregion handler is being executed by the OSPM. Adds support for the special context data needed by PCC Opregion. Submitted by Sudeep Holla
2) iASL Compiler/Disassembler and ACPICA tools:
iASL: Completed compiler support for the NHLT ACPI table.
iASL/NHLT table: Fixed a reported problem where a fault would occur during disassembly of a "Linux-Specific" section if the "Specific Data" part was not present.
iASL: Added full support (compiler and disassembler) for the AGDI ACPI table. Contributed by: Ilkka Koskinen .
iASL: Added full support for the TDEL ACPI table.
iASL table compiler: FADT support updates: 1) Allow the 32-bit DSDT address to be zero. 2) Issue error if both the 32-bit and 64-bit DSDT addresses are zero.
iASL: Fix unaligned accesses to local cache allocations. Contributed by jrtc27.
iASL: Open binary input files in binary mode, not text mode Affects binary input AML files, as well as binary data table files, for disassembly.
|
1.1.1.16 |
| 06-Jul-2021 |
christos | Import acpica-20210604
|
1.1.1.15 |
| 03-Apr-2021 |
christos | branches: 1.1.1.15.2; 31 March 2021. Summary of changes for version 20210331:
This release is available at https://acpica.org/downloads, and includes all ACPI 6.4 support
1) ACPICA kernel-resident subsystem: ACPI 6.4: iASL: deprecate DDBHandleObj keyword Always create namespace nodes using AcpiNsCreateNode(). ACPICA is allocating an object using kmalloc(), but then frees it using kmem_cache_free(<"Acpi-Namespace" kmem_cache>). This is wrong. Fixed a race condition in generic serial bus operation region handler. Fixed by Hans de Goede.
2) iASL Compiler/Disassembler and ACPICA tools:
ACPI 6.4: NFIT: add Location Cookie field ACPI 6.4: HMAT: add new fields/flags ACPI 6.4: Add new flags in SRAT ACPI 6.4: add SDEV secure access components ACPI 6.4: add Csi2Bus resource template ACPI 6.4: add support for PHAT table ACPI 6.4: add support for PMTT table Add disassembly support for the IVRS table. Compilation of the table is not yet complete. Fixed a potential infinite loop due to type mismatch. The for-loop is using a UINT8 counter and comparing the upper limit against a UINT32 AslGbl_ExpectedMessagesIndex maximum. In the case where AslGbl_ExpectedMessagesIndex is > 255 the counter i will wrap around to zero and the loop will never exit. I suspect the AslGbl_ExpectedMessagesIndex is never that high, but fixing this does future proof the code and cleans up static analysis warnings.Colin King.
iASL/TableCompiler: update it with IORT table E.b revision changes. From shamiali2008. iASL/TableCompiler: Add compilation support for the VIOT table. Signed-off-by: Jean-Philippe Brucker. iASL/TableCompiler: Add compilation support for CEDT table. Also, update the CEDT template.
|
1.1.1.14 |
| 25-May-2020 |
christos | branches: 1.1.1.14.2; 1.1.1.14.4; 30 April 2020. Summary of changes for version 20200430:
1) ACPICA kernel-resident subsystem:
Cleaned up the coding style of a couple of global variables (AcpiGbl_NextCmdNum and AcpiProtocolLengths) caught by static analyzers. AcpiProtocolLengths was made static, and the definition of AcpiGbl_NextCmdNum was moved to acglobal.h.
2) iASL Compiler/Disassembler and ACPICA tools:
iASL DataTable Compiler: Fixed a segfault on errors that aren't directly associated with a field.
Disassembler: has been made more resilient so that it will continue to parse AML even if the AML generates ACPI namespace errors. This enables iASL to disassemble some AML that may have been compiled using older versions of iASL that no longer compile with newer versions of iASL.
iASL: Fixed the required parameters for _NIH and _NIG. Previously, there was a mixup where _NIG required one parameter and _NIH required zero parameters. This change swaps these parameter requirements. Now it is required that _NIH must be called with one parameter and _NIG requires zero parameters.
iASL: Allow use of undefined externals as long as they are protected by an if (CondRefOf (...)) block when compiling multiple definition blocks.
iASL: Fixed the type override behavior of named objects that are declared as External. External declarations will no longer override the type of the actual definition if it already exists.
AcpiNames: Added setargv.obj to the MSVC 2017 link sequence to enable command line wildcard support on Windows. Note: the AcpiNames utility is essentially redundant with the AcpiExec utility (using the "namespace" command) and is therefore deprecated. It will be removed in future releases of ACPICA.
Disassembler: ignore AE_ALREADY_EXISTS status when parsing create* operators. The disassembler is intended to emit existing ASL code as-is. Therefore, error messages emitted during disassembly should be ignored or handled in a way such that the disassembler can continue to parse the AML. This change ignores AE_ALREADY_EXISTS errors during the deferred Op parsing for create operators in order to complete parsing ASL termlists.
iASL DataTable Compiler: IVRS table: fix potentially uninitialized variable warning. Some compilers catch potential uninitialized variables. This is done by examining branches of if/else statements. This change replaces an "else if" with an "else" to fix the uninitialized variable warning.
|
1.1.1.13 |
| 28-Mar-2020 |
christos |
|
1.1.1.12 |
| 14-Dec-2019 |
christos |
|
1.1.1.11 |
| 29-Apr-2019 |
christos |
|
1.1.1.10 |
| 05-Jan-2019 |
christos | 13 December 2018. Summary of changes for version 20181213:
1) ACPICA Kernel-resident Subsystem:
Fixed some buffer length issues with the GenericSerialBus, related to two of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, which are rarely seen in the field. For these, the LEN field of the ASL buffer is now ignored. Hans de Goede
Implemented a new object evaluation trace mechanism for control methods and data objects. This includes nested control methods. It is particularly useful for examining the ACPI execution during system initialization since the output is relatively terse. The flag below enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface: #define ACPI_LV_EVALUATION 0x00080000
Examples: Enter evaluation : _SB.PCI0._INI (Method) Exit evaluation : _SB.PCI0._INI Enter evaluation : _OSI (Method) Exit evaluation : _OSI Enter evaluation : _SB.PCI0.TEST (Method) Nested method call : _SB.PCI0.NST1 Exit nested method : _SB.PCI0.NST1 Exit evaluation : _SB.PCI0.TEST
Added two recently-defined _OSI strings. See https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi- osi. "Windows 2018" "Windows 2018.2"
Update for buffer-to-string conversions via the ToHexString ASL operator. A "0x" is now prepended to each of the hex values in the output string. This provides compatibility with other ACPI implementations. The ACPI specification is somewhat vague on this issue. Example output string after conversion: "0x01,0x02,0x03,0x04,0x05,0x06"
Return a run-time error for TermArg expressions within individual package elements. Although this is technically supported by the ASL grammar, other ACPI implementations do not support this either. Also, this fixes a fault if this type of construct is ever encountered (it never has been).
2) iASL Compiler/Disassembler and Tools:
iASL: Implemented a new compile option (-ww) that will promote individual warnings and remarks to errors. This is intended to enhance the firmware build process.
AcpiExec: Implemented a new command-line option (-eo) to support the new object evaluation trace mechanism described above.
Disassembler: Added support to disassemble OEMx tables as AML/ASL tables instead of a "unknown table" message.
AcpiHelp: Improved support for the "special" predefined names such as _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be used for "xx" and "x".
|
1.1.1.9 |
| 07-Apr-2018 |
christos | branches: 1.1.1.9.2;
|
1.1.1.8 |
| 25-Jan-2017 |
christos | branches: 1.1.1.8.12; One more time in the right place...
|
1.1.1.7 |
| 09-Jan-2016 |
christos | branches: 1.1.1.7.2; 1.1.1.7.4; import new acpica:
|
1.1.1.6 |
| 18-Aug-2015 |
christos |
|
1.1.1.5 |
| 13-Apr-2015 |
christos |
|
1.1.1.4 |
| 25-Oct-2014 |
christos | branches: 1.1.1.4.2;
|
1.1.1.3 |
| 27-Dec-2013 |
christos | import new acpica
|
1.1.1.2 |
| 17-Feb-2011 |
jruoho | branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8; 1.1.1.2.10; 1.1.1.2.20; 1.1.1.2.24; Import 20110211.
|
1.1.1.1 |
| 17-Feb-2011 |
jruoho | Reimport ACPICA 20100528 to a new location.
|
1.1.1.20.6.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
1.1.1.15.2.1 |
| 01-Aug-2021 |
thorpej | Sync with HEAD.
|
1.1.1.14.4.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.1.1.14.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.1.1.9.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.1.1.9.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.1.1.8.12.2 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
1.1.1.8.12.1 |
| 16-Apr-2018 |
pgoyette | Sync with HEAD, resolve some conflicts
|
1.1.1.7.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.1.1.7.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.1.1.4.2.4 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
1.1.1.4.2.3 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
1.1.1.4.2.2 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.1.1.4.2.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.1.1.2.24.1 |
| 18-May-2014 |
rmind | sync with head
|
1.1.1.2.20.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.1.1.2.20.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.1.1.2.10.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.1.1.2.8.2 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.1.1.2.8.1 |
| 17-Feb-2011 |
jruoho | file exfield.c was added on branch jruoho-x86intr on 2011-06-06 09:08:56 +0000
|
1.1.1.2.4.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.1.1.2.4.1 |
| 17-Feb-2011 |
rmind | file exfield.c was added on branch rmind-uvmplock on 2011-03-05 20:54:30 +0000
|
1.1.1.2.2.2 |
| 17-Feb-2011 |
bouyer | Sync with HEAD
|
1.1.1.2.2.1 |
| 17-Feb-2011 |
bouyer | file exfield.c was added on branch bouyer-quota2 on 2011-02-17 12:00:23 +0000
|