| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Use AslCommonError because conversion errors are not in fact
syntax errors. Prevents early abort of the compiler.
|
|
|
|
|
|
|
|
|
| |
Improve adherence to ACPI spec for implicit and explicit conversions
Adds octal support for constants in ASL code
Adds integer overflow errors for constants during ASL compilation
Eliminates most of the existing complex flags parameters
Simplify support for implicit/explicit runtime conversions
Adds one new file, utilities/utstrsuppt.c
|
|
|
|
|
| |
Realloc buffers as needed for very long input lines.
Erik Schmauss.
|
|
|
|
|
|
|
| |
Both UtLocalCalloc and UtStringCacheCalloc will abort the
compiler on an allocation failure. Therefore, there is no
need to check for a non-allocation after these calls. This
change makes this consistent across the compiler.
|
|
|
|
|
|
| |
Adds the dual GNU/BSD dual license to the existing Intel license.
Provides all licensing information in each source module.
Affects all ACPICA source modules.
|
|
|
|
|
|
|
| |
Remove the bit width of the compiler that generated the tool
from the tool signon. This was confusing and unnecessary.
Changed the iASL signon to add "disassembler" to the name.
|
|
|
|
| |
Affects all files.
|
|
|
|
| |
Split the AML and ASL decode into separate files.
|
|
|
|
|
|
|
|
| |
Consolidate multiple versions of strtoul64 to one common version.
limit possible bases to either 10 or 16.
Handles both implicit and explicit conversions.
Added a 2-character ascii-to-hex function for GPEs and buffers.
Adds a new file, utsrttoul64.c
|
|
|
|
|
|
|
|
| |
Fixes a problem with the merger of the two internal versions
of this function. Make the maximum integer width (32-bit or
64-bit) a parameter to the function so that it no longer
exclusively uses the integer width specified in the DSDT/SSDT.
ACPICA BZ 1260
|
|
|
|
|
| |
-lx option: creates a large, multiple cross-reference file.
Intended mostly for BIOS developers.
|
|
|
|
| |
Move from main module to utilities module.
|
|
|
|
|
| |
Was using a local Strtoul64, update to use the common AcpiUtStrtoul64
and remove the local Strtoul64.
|
|
|
|
| |
Was defined as stroul64 in some places.
|
|
|
|
| |
Commented them out with an "OBSOLETE" flag.
|
|
|
|
|
|
| |
1) Cleanup output
2) Enhance output with additional data (namestrings, etc.)
3) Adds a new file: asldebug.c
|
|
|
|
| |
Affects all files.
|
|
|
|
| |
Do not blindly overwrite an existing file.
|
|
|
|
|
| |
Extends multiple tables per file support. The number of SSDTs
can be specified on the command line.
|
|
|
|
|
| |
Mostly indentation inconsistencies across the code. Split
some long lines, etc.
|
|
|
|
| |
Reset user execute bit, set other permissions read-only.
|
|
|
|
| |
Set user execute bit to force git to commit the files.
|
|
|
|
|
| |
These were defined in two places. Changed to ACPI_SIGN* names
and define them once in acmacros.h
|
|
|
|
|
|
| |
Across all of ACPICA. Replace C library macros such as ACPI_STRLEN
with the standard names such as strlen. The original purpose for
these macros is long since obsolete.
|
|
|
|
|
|
|
|
| |
1) Create the .i file without any #line directives. These directives
are passed to the compiler via the new .pre file. #line is used to
keep the line numbers in sync with any include files. ACPICA BZ 1160.
2) Pass through the original comments in the code. ACPICA BZ 968.
|
|
|
|
|
|
|
| |
The user preprocessor file (*.i) now contains only ASL text and no #line
directives. A second preprocessor file (*.tmp) contains such
directives which are used by the compiler to keep the line
numbers correct across #include files. ACPICA BZ 1160.
|
|
|
|
| |
-t option displays all ACPI tables.
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to fold expressions with a target operand -- these are
folded and converted to a Store operator:
Add (4, 3, INT1) --> Store (7, INT1)
Also supports ASL+ constructs:
INT1 = 4 + 3 --> Store (7, INT1)
|
| |
|
|
|
|
|
|
| |
This reverts commit 28a95326289ca5ee7cd95f8e8e809dc5564d9509.
Commit mistakenly changes file format to CRLF from default LF.
|
| |
|
|
|
|
|
|
|
|
| |
Fix for commit b707acdd0d3bf031c2c8d5ca7d0f275f95a4c5cf which was
applied using a version of the patch that had a capitalization
error.
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
A potential for a memory leak existed for string allocations greater
than ASL_STRING_CACHE_SIZE in UtStringCacheCalloc. This patch allows these
allocations to be added to the cache list as fully occupied caches without
effecting the normal cache size management.
ACPICA Bugzilla 1121.
Fix by Dean Nelson <dnelson@redhat.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
|
|
|
|
|
|
| |
This reverts commit aa3dbff9d25221619186e87657755840ee2acaf2.
Implementation breaks test suite. Need to revisit.
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to fold expressions with a target operand -- these are
folded and converted to Store:
Add (4, 3, INT1) --> Store (7, INT1)
Also supports ASL+ constructs:
INT1 = 4 + 3 --> Store (7, INT1)
|
|
|
|
|
| |
From acpisrc execution -- the utility now ensures that there is
exactly one blank line after the header.
|
|
|
|
|
| |
Add object caches for the field and subtable objects, to improve
performance and to simplify memory management.
|
|
|
|
|
|
|
|
| |
Ensure that the parse tree is deleted for each compile.
Fix other miscellaneous memory leaks per-compile.
Consistently deploy the use of the string cache.
Add tracking for multiple buffers within caches.
Ensure the cache buffers are always deleted.
|
|
|
|
|
|
| |
This adds a -u option to AcpiHelp to display all known ACPI UUIDs.
Some existing files in the core code have been restructured.
Three new files.
|
|
|
|
|
| |
Change all comments that contain the string "ACPI CA" to "ACPICA"
so that the name is standard across the entire source base.
|
|
|
|
|
| |
Update ACPICA copyrights to 2014. Includes all source headers and
signons for the various tools.
|
|
|
|
|
|
| |
The ISO 9899:1990 7.8.1.3 specification states that undefined
behaviour may occur if va_end is not invoked before return.
Colin King <colin.king@canonical.com>.
|
|
|
|
|
|
| |
After many years, different formatting for switch() has crept in.
This change makes every switch block identical. Chao Guan.
ACPICA bugzilla 997.
|
|
|
|
| |
Includes all source headers and signons for the various tools.
|
|
|
|
|
| |
Removed several small pathname functions to increase efficiency.
Essentially, they replace a function call with a single compare.
|
|
|
|
|
|
| |
Replaces instances of strncpy(...,4) for ACPI_NAMEs.
ACPI_MOVE_NAME optimizes these to a single 32-bit copy on machines
that support misaligned transfers.
|
|
|
|
| |
Remove an extraneous space after a comma, for consistency.
|
|
|
|
| |
For consistency with the rest of the source code.
|
|
|
|
| |
Some small fixes within commments. Colin Ian King.
|
|
|
|
| |
Maintenance for source code consistency.
|