summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use -f instead of --remove-destination for busybox cpbaserock/genivi/installBen Brewer2012-11-131-1/+1
|
* Fix bug in previous commitBen Brewer2012-11-131-1/+1
|
* Attempt to make Make do what I actually want it toBen Brewer2012-11-131-1/+1
|
* Properly escape makefile ruleBen Brewer2012-11-131-1/+1
|
* Change rule to work in MakefileBen Brewer2012-11-131-1/+1
|
* Correctly determine BITS earlier on for now so this buildsBen Brewer2012-11-131-1/+1
|
* Default to 32-bits so modern make doesn't emit the invalid -m0 flagBen Brewer2012-11-131-1/+1
|
* Create morph file to buildBen Brewer2012-11-121-0/+11
|
* ASLTS: Fix for several incorrect AE_AML_MUTEX_ORDER errors.Robert Moore2012-11-082-8/+8
| | | | | Problem was with the test itself. Chao Guan.
* AcpiBin: Fix for the dump-to-hex function.Robert Moore2012-11-081-2/+4
| | | | | Now correctly output the table name header so that AcpiXtract recognizes the output file/table.
* iASL/Tools: Standardize use of stream I/O functions.Robert Moore2012-11-0811-81/+142
| | | | | | | | | | 1) Check for I/O error after every fopen/fread/fwrite 2) Ensure proper order of size/count params for fread/fwrite 3) Use test of Actual != Requested after all fwrite, most fread 4) Standardize I/O error messages Improve reliability and maintainability of the code. Bob Moore, Lv Zheng.
* Tools: Replace low-level I/O with stream I/O functions.Robert Moore2012-11-084-68/+55
| | | | | | Replace open/read/write/close with the stream I/O equivalents fopen/fread/fwrite/fclose for portability and performance Lv Zheng, Bob Moore.
* AcpiBin: Display compared headers side-by-side.Robert Moore2012-11-062-4/+28
| | | | Improvement over displaying one header after the other.
* AcpiGetObjectInfo: optimize exit for mutex failure.Robert Moore2012-11-061-1/+1
| | | | | No need for a goto to the bottom of the function, simply return the status code immediately.
* Resource Manager: update template walking with ACPI_NEXT_RESOURCE.Robert Moore2012-11-022-2/+5
| | | | | | Cleanup the ACPI_NEXT_RESOURCE macro. Update AcpiWalkResources to use ACPI_NEXT_RESOURCE. Lv Zheng.
* Enhance the ACPI_GETx and ACPI_SETx macros.Robert Moore2012-11-023-43/+47
| | | | | | | Improve the implementation of the macros. Change the SETx macros to the style of (destination, source). Also add ACPI_CASTx companion macros. Lv Zheng.
* Disassembler: Prevent duplicate External() statements.Robert Moore2012-11-021-4/+29
| | | | | | | | | During generation of external statements, prevent similar pathnames that are actually duplicates, such as these: External (\ABCD) External (ABCD) Remove all leading '\' characters from pathnames during the external statement generation so that duplicates will be detected and tossed.
* Add macros to extract flag bits from resource descriptors.Robert Moore2012-11-024-59/+73
| | | | | | Improves readability and maintainability of the code. Fixes a problem with the UART serial bus descriptor for the number of data bits flags (was incorrectly 2 bits, should be 3).
* Debugger: Remove a couple inadvertent "//" comments.Robert Moore2012-11-021-2/+2
| | | | Missed during previous checkin.
* Disassembler: Add new ACPI 5.0 interrupt sharing flags.Robert Moore2012-11-015-8/+10
| | | | | | This changes adds the ShareAndWake and ExclusiveAndWake flags which were added to the Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0.
* iASL: Remove obsolete -2 option flag.Robert Moore2012-10-312-8/+1
| | | | | | Originally intended to force the compiler/disassembler into an ACPI 2.0 mode, this was never implemented and the entire concept is now obsolete.
* Disassembler: Add "Disasm" for a synonym for Disassemble command.Robert Moore2012-10-311-0/+3
| | | | Ease-of-use change.
* Debugger: Major update for the Disassemble<method> command.Robert Moore2012-10-3119-262/+474
| | | | | | | | | This command was downreved and did not properly disassemble control methods with any reasonable complexity. This fix brings the command up to the same level as the rest of the disassembler. Adds one new file, dmdeferred.c, which is existing code that is now common with the main disassembler and the debugger disassembl command.
* Disassembler: Fix for external declaration generationRobert Moore2012-10-311-1/+7
| | | | | | Fixes a problem where an incorrect pathname could be generated for an external declaration if the original reference to the object includes leading carats.
* Update ACPICA release build instructions.Robert Moore2012-10-261-5/+11
| | | | Update the build.txt file to add more VC instructions.
* Performance: Remove function tracing from critical allocation functions.Robert Moore2012-10-254-47/+43
| | | | | | | Tracing is no longer needed for many of the low-level function. Removing the trace mechanism from these functions improves performance a small amount, also simplifies the debug trace output.
* AcpiSrc: Add error check after call to write().Robert Moore2012-10-251-2/+4
| | | | Ensure a write error is not missed.
* iASL: Move parser entry prototype to avoid duplicate declaration.Robert Moore2012-10-252-4/+9
| | | | | | Newer versions of Bison emit this prototype, so move the prototype out of the iASL header to where it is actually used in order to avoid a duplicate declaration.
* iASL: Update readme file for new versions of bison/flex.Robert Moore2012-10-251-5/+16
| | | | Add supported versions for linux as well as windows.
* iASL: Add check for return value from fwrite().Robert Moore2012-10-251-1/+6
| | | | Ensure that the fwrite did not fail.
* Performance enhancement for ACPI package objects.Robert Moore2012-10-241-7/+33
| | | | | | | | | This change greatly increases the performance of package objects within the interpreter. It changes the processing of reference counts for packages by optimizing for the most common case where the package subobjects are either integers, strings, or buffers. Increases the performance of the ASLTS test suite by 1.5X. Chao Guan. ACPICA BZ 943.
* Fix possible memory leak.Robert Moore2012-10-231-1/+2
| | | | | Ensure cleanup after a memory allocation failure in dsmethod.c. Original Linux change from Jesper Juhl.
* Update version to 20121018.R10_18_12Robert Moore2012-10-181-1/+1
| | | | Version 20121018.
* Logfile: Changes for version 20121018.Robert Moore2012-10-181-1345/+2749
| | | | Version 20121018.
* Documentation: Update ACPICA ref for interface changes.Robert Moore2012-10-182-0/+0
| | | | Changed ACPI_DEVICE_ID* to ACPI_PNP_DEVICE_ID*
* Add two new readme files.Robert Moore2012-10-182-0/+104
| | | | | 1) Summary file for all other readme files 2) How to add a new ACPI table to ACPICA
* Windows project files: Update for browsing information.Robert Moore2012-10-1810-20/+21
| | | | | Ensure that browsing information is generated for all tools and for both release and debug cases.
* iASL: Update help message screen.Robert Moore2012-10-181-5/+5
| | | | Update various options.
* iASL: Update template for MPST table.Robert Moore2012-10-182-9/+18
| | | | Emit new template based upon recent header changes for MPST.
* Divergence: Backport Linux lockdep fix to ACPICA.Robert Moore2012-10-172-0/+20
| | | | | | | | | | | | | | | | Backport changes made in Linux aclinux.h to ACPICA to reduce divergence of the ACPICA base code from Linux. Following commits are involved: 1. Rafael J. Wysocki <rjw@sisk.pl> ACPI: Fix lockdep false positives in acpi_power_off() https://bugzilla.kernel.org/show_bug.cgi?id=38152 This will decrease 29 lines of 20120913 divergence.diff. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Len Brown <len.brown@intel.com>
* Divergence: Backport linux version of aclinux.h to ACPICA.Robert Moore2012-10-171-9/+10
| | | | | | | | | | | | | | | | | | | | | Backport changes made in Linux aclinux.h back to ACPICA to reduce divergence of the ACPICA base code from Linux. Following commits are involved: 1. Lin Ming <ming.m.lin@intel.com> ACPICA: Make acpi_thread_id no longer configurable, always u64 2. Thomas Gleixner <tglx@linutronix.de> acpi: fix bogus preemption logic https://bugzilla.kernel.org/show_bug.cgi?id=16210 3. Arun Sharma <asharma@fb.com> atomic: use <linux/atomic.h> This will decrease 71 lines of 20120913 divergence.diff. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Cc: Lin Ming <ming.m.lin@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Arun Sharma <asharma@fb.com>
* AcpiGetObjectInfo: Add support for ACPI 5.0 _SUB method.Robert Moore2012-10-177-27/+151
| | | | | Now calls _SUB in addition to the other ID methods: _HID, _CID, and _UID.
* Change ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID.Robert Moore2012-10-178-51/+51
| | | | | | | | Also changed ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) names for their various drivers. Affects the AcpiGetObjectInfo external interface, and other internal interfaces as well.
* Update for 64-bit generation of recent error message changes.Robert Moore2012-10-161-2/+2
| | | | Fix for errors on printf changes on 64-bit platforms and gcc.
* Fix externalize name to complete migration to ACPI_MOVE_NAME.Robert Moore2012-10-121-2/+4
| | | | Fix for name segment copy and validation.
* Add starting offset parameter to common dump buffer routine.Robert Moore2012-10-1214-42/+54
| | | | | | Rename the dump buffer routines. Offset parameter can specify the buffer starting offset that is used when displaying each line of the buffer.
* Deploy ACPI_MOVE_NAME across ACPICA source base.Robert Moore2012-10-1212-30/+28
| | | | | | 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.
* Update support for ACPI 5.0 MPST table.Robert Moore2012-10-124-21/+21
| | | | | | | Fixes some problems introduced by late changes to the table as it was added to the ACPI 5.0 specification. Both the table compiler and the disassembler and the main header support for the table.
* Enhance error reporting for invalid opcodes and bad ACPI_NAMEs.Robert Moore2012-10-124-14/+39
| | | | | | For disassembler, dump the 48 bytes surrounding the invalid opcode. Fix incorrect table offset reported for invalid opcodes. Report original 32-bit value for bad ACPI_NAMEs.
* Add ACPI_MOVE_NAME macro to optimize 4-byte ACPI_NAME copies.Robert Moore2012-10-121-0/+4
| | | | | Resolves to a 32-bit move for the normal case, strncpy on machines that do not support misaligned transfers.