summaryrefslogtreecommitdiff
path: root/source/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #819 from heshamelmatary/mpamRobert Moore2023-02-074-0/+199
|\ | | | | Add support for Arm's MPAM ACPI table version 2
| * Add support for Arm's MPAM ACPI table version 2Hesham Almatary2023-01-314-0/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Complies with ACPI for Memory System Resource Partitioning and Monitoring 2.0 [1]. Document number: DEN0065, as of December 2022. Support for all types of MPAM resources. No support yet for: 1) MPAM PCC Interface Type 2) The optional Resource-specific data per MSC node, introduced in v2 of the MPAM ACPI spec. [1] https://developer.arm.com/documentation/den0065/latest Signed-off-by: Hesham Almatary <hesham.almatary@huawei.com>
* | Update all copyrights/signons to 2023Robert Moore2023-02-07100-100/+100
|/ | | | Copyright updates to 2023.
* Merge pull request #800 from ElyesH/TYPO_SPELLINGRobert Moore2022-10-274-7/+7
|\ | | | | Fix spelling errors
| * Fix spelling errorsElyes Haouas2022-09-284-7/+7
| | | | | | | | Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
* | Merge pull request #799 from ElyesH/MCHIRobert Moore2022-10-201-1/+0
|\ \ | | | | | | Remove duplicated MCHI table
| * | compiler/dttable1.c: Fix dead assignmentElyes Haouas2022-05-151-1/+0
| | | | | | | | | | | | | | | | | | The value stored to 'ParentTable' is never used. Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
* | | Finish support for the CDAT table, in both the data tableRobert Moore2022-10-1910-8/+311
| |/ |/| | | | | compiler and the disassembler.
* | Merge pull request #779 from pmaziarz/masterRobert Moore2022-08-181-11/+16
|\ \ | | | | | | iASL: NHLT: Fix compilation of optional undocumented fields
| * | iASL: NHLT: Fix compilation of optional undocumented fieldsPiotr Maziarz2022-05-271-11/+16
| | | | | | | | | | | | | | | Since those fields are optional some combinations of them were causing unpredicted flow when compiling the table.
* | | Merge pull request #778 from sathyaintel/ccel-v1Robert Moore2022-08-122-0/+12
|\ \ \ | | | | | | | | iASL: Add CCEL table to both compiler/disassembler
| * | | iASL: Add CCEL table to both compiler/disassemblerKuppuswamy Sathyanarayanan2022-05-262-0/+12
| |/ / | | | | | | | | | Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
* | | Update the PHAT template file.Robert Moore2022-08-121-6/+13
| | | | | | | | | | | | For changes to the various subtables.
* | | iASL: Update for PHAT table support.Robert Moore2022-08-121-11/+131
| | | | | | | | | | | | | | | Includes changes for both the data table compiler and the disassembler. Now handles Version Data Records and Health Data Records properly.
* | | iASL: Additional update to standardize format of output.Robert Moore2022-08-121-1/+1
| | |
* | | iASL: Additional fixes for error reporting.Robert Moore2022-08-122-2/+1
| | |
* | | iASL: Fix some error-reporting issues.Robert Moore2022-08-121-2/+9
|/ / | | | | | | Some errors were not being reported on the console output.
* | compiler/asloptions.c: Make variable j an INT32Colin Ian King2022-04-261-1/+1
|/ | | | | | | | Variable j is assigned a signed int value from the call to AcpiGetopt and is also compared to ACPI_OPT_END which is -1, so it makes sense to make j an INT32 type rather than a UINT32. Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
* Merge pull request #765 from shamiali2008/master-iort-revE.d-v2Robert Moore2022-03-294-8/+16
|\ | | | | IORT: Updates for revision E.d
| * IORT: Updates for revision E.dShameer Kolothum2022-03-284-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | IORT revision is now updated to E.d (ARM DEN 0049E.d) and contains a few additions like, -Added descriptor in the root complex node for specifying PASID width supported by the root complex. -Updated RMR node Flags field. -Introduced memory access attributes in the RMR node. Please note that IORT Rev E.c is deprecated and not supported. Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
* | Merge pull request #753 from marcj303/masterRobert Moore2022-03-292-4/+11
|\ \ | | | | | | Add DMAR SATC structure to iasl
| * | Add DMAR SATC structure to iaslMarc Jones2022-03-252-4/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Add the DMAR SATC structure support from the Intel ® Virtualization Technology for Directed I/O \ Architecture Specification, Rev. 3.4, Order Number: D51397-014 Test: $ iasl -d dmar.dat -> dmar.dsl $ iasl dmar.dsl -> dmar.aml $ cmp dmar.dat dmar.dsl Signed-off-by: Marc Jones <marcj303@gmail.com>
* | Merge pull request #758 from bwicaksononv/apmtRobert Moore2022-03-253-0/+124
|\ \ | | | | | | Add support for ARM Performance Monitoring Unit Table.
| * | Add support for ARM Performance Monitoring Unit Table.Besar Wicaksono2022-03-083-0/+124
| |/ | | | | | | | | | | | | | | | | | | | | The specification of this table is described in "ARM Performance Monitoring Unit Architecture 1.0 Platform Design Document" ARM DEN0117. This patch adds the necessary types and support for compiling/disassembling APMT. Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
* | iASL/MADT: Add OEM-defined subtableRobert Moore2022-03-181-2/+11
| | | | | | | | Adds support for the "reserved for OEM use" subtable (types 0x80 to 0xFF).
* | Improve an iASL error messageRobert Moore2022-03-182-2/+4
|/ | | | Add the filename to the Maximum error count exceeded message.
* Automated cleanup; No functional changesRobert Moore2022-02-171-14/+19
| | | | Removed some tabs and // comments.
* Use _exit instead of exit in signal handlersRobert Moore2022-02-171-1/+1
| | | | This is apparently much safer.
* Update copyright notices to the year 2022Robert Moore2022-02-17100-100/+100
| | | | Affects all source modules and utility signons.
* Merge pull request #742 from MasterDrogo/add-cedt-subtable_CFMWSRobert Moore2022-01-272-25/+105
|\ | | | | Add the sub-table CFMWS to the CEDT table
| * Fix Compile issue with CEDT and add templateLawrence Hileman2022-01-172-23/+103
| |
| * Add the subtable CFMWS to the CEDT tableLawrence Hileman2022-01-071-4/+4
| |
* | Merge pull request #743 from pmaziarz/masterRobert Moore2022-01-271-28/+32
|\ \ | | | | | | Improvements for NHLT
| * | iASL: NHLT: Rename linux specific strucures to DeviceInfoPiotr Maziarz2022-01-131-8/+8
| | | | | | | | | | | | | | | Those structures aren't used by Linux drivers, and in other NHLT related tools they are called DeviceInfo.
| * | iASL: NHLT: Fix parsing undocumented bytes at the end of EndpointPiotr Maziarz2022-01-131-18/+12
| | | | | | | | | | | | | | | | | | | | | Descriptor Undocumented bytes at the end of Endpoint Descriptor can be present independently of Linux-specific structures. Their size can also vary.
| * | iASL: NHLT: Treat Terminator as SpecificConfigPiotr Maziarz2022-01-131-2/+12
| |/ | | | | | | | | | | SpecificConfig has 4 bytes of size and then an amount of bytes specified by size. All of the terminators that I've seen had a size equal to 4, but theoretically it can vary.
* | Add new acpi 6.4 semantics for LoadTable operatorRobert Moore2022-01-201-1/+1
| | | | | | | | DDB_HANDLE is gone, now loadtable returns a pass/fail integer.
* | Add new acpi 6.4 semantics to the Load() operatorRobert Moore2022-01-204-5/+7
| | | | | | | | | | DDB_HANDLE is gone, now load returns a pass/fail integer, as well as storing it in an optional 2nd argument.
* | Remove a remark due to excessive outputRobert Moore2022-01-202-1/+8
|/ | | | | Removed a remark for duplicate Offset() operators, due to a user complaint.
* iASL/NHLT table: add support for optional "Specific Data" fieldRobert Moore2021-12-172-4/+33
| | | | | for the optional Linux-specific structure that appears at the end of an Endpoint Descriptor.
* iASL: Add suppport for AGDI tableIlkka Koskinen2021-12-142-0/+11
| | | | | | | | | | | Add support for Arm Generic Diagnostic Dump and Reset Interface, which is described by "ACPI for Arm Components 1.1 Platform Design Document" ARM DEN0093. Add the necessary types in the ACPICA header files and support for compiling and decompiling the table. Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
* iASL: Add TDEL table to both compiler/disassemblerRobert Moore2021-12-094-2/+12
| | | | Added ACPI_PCC_INFO to AcpiSrc.
* Merge pull request #721 from jrtc27/local-cache-calloc-alignRobert Moore2021-12-081-0/+5
|\ | | | | iASL: Fix unaligned accesses to local cache allocations
| * iASL: Fix unaligned accesses to local cache allocationsJessica Clarke2021-10-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Despite the documentation talking of strings, and the various constants and variables used in the function also doing so, UtLocalCacheCalloc gets used for things other than strings, such as FlInitOneFile using it to allocate an ASL_GLOBAL_FILE_NODE. The easiest way to fix that for a bump the pointer allocator is to just round up every allocation's size; there are more complex alternatives, as allocations smaller than the maximum native alignment only need to be rounded up to the next power of two, but optimising for that case seems unnecessarily complicated. It might make sense to split this into a string allocator and a separate generic object allocator (to complement the existing specific object allocators) to ensure strings can still be packed tightly in memory, but that is a more invasive change that may not be worth it for the small decrease in memory footprint.
* | iASL Table Compiler: Completed the full table compiler supportRobert Moore2021-12-084-0/+434
| | | | | | | | for the NHLT table. (Non-HD Audio Endpoint Description Table).
* | iASL table compiler: update a commentRobert Moore2021-12-031-1/+1
| | | | | | | | No functional changes.
* | iASL table compiler: FADT support updatesRobert Moore2021-12-033-5/+58
| | | | | | | | | | 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/Disassembler: Additional support for NHLT tableRobert Moore2021-10-191-0/+5
| | | | | | | | | | Added support for Vendor-defined microphone arrays and SNR (signal-to-noise) extension.
* | iASL: Open binary input files in binary mode, not text modeRobert Moore2021-10-192-9/+18
|/ | | | | Affects binary input AML files, as well as binary data table files, for disassembly.
* iASL table disassembler: Added disassembly support for the NHLT ACPI table.Robert Moore2021-09-302-0/+6
| | | | | | Note: support for Vendor-defined microphone arrays and SNR extensions are not supported at this time -- mostly due to a lack of example tables. Actual compiler support for NHLT is forthcoming.