| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Problem was with the test itself.
Chao Guan.
|
|
|
|
|
| |
Now correctly output the table name header so that AcpiXtract
recognizes the output file/table.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Replace open/read/write/close with the stream I/O equivalents
fopen/fread/fwrite/fclose for portability and performance
Lv Zheng, Bob Moore.
|
|
|
|
| |
Improvement over displaying one header after the other.
|
|
|
|
|
| |
No need for a goto to the bottom of the function, simply return
the status code immediately.
|
|
|
|
|
|
| |
Cleanup the ACPI_NEXT_RESOURCE macro.
Update AcpiWalkResources to use ACPI_NEXT_RESOURCE.
Lv Zheng.
|
|
|
|
|
|
|
| |
Improve the implementation of the macros.
Change the SETx macros to the style of (destination, source).
Also add ACPI_CASTx companion macros.
Lv Zheng.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Missed during previous checkin.
|
|
|
|
|
|
| |
This changes adds the ShareAndWake and ExclusiveAndWake flags
which were added to the Irq, Interrupt, and Gpio resource
descriptors in ACPI 5.0.
|
|
|
|
|
|
| |
Originally intended to force the compiler/disassembler into an
ACPI 2.0 mode, this was never implemented and the entire concept
is now obsolete.
|
|
|
|
| |
Ease-of-use change.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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 the build.txt file to add more VC instructions.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Ensure a write error is not missed.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add supported versions for linux as well as windows.
|
|
|
|
| |
Ensure that the fwrite did not fail.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Ensure cleanup after a memory allocation failure in dsmethod.c.
Original Linux change from Jesper Juhl.
|
|
|
|
| |
Version 20121018.
|
|
|
|
| |
Version 20121018.
|
|
|
|
| |
Changed ACPI_DEVICE_ID* to ACPI_PNP_DEVICE_ID*
|
|
|
|
|
| |
1) Summary file for all other readme files
2) How to add a new ACPI table to ACPICA
|
|
|
|
|
| |
Ensure that browsing information is generated for all tools and
for both release and debug cases.
|
|
|
|
| |
Update various options.
|
|
|
|
| |
Emit new template based upon recent header changes for MPST.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Now calls _SUB in addition to the other ID methods: _HID, _CID,
and _UID.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fix for errors on printf changes on 64-bit platforms and gcc.
|
|
|
|
| |
Fix for name segment copy and validation.
|
|
|
|
|
|
| |
Rename the dump buffer routines. Offset parameter can specify
the buffer starting offset that is used when displaying each
line of the buffer.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Resolves to a 32-bit move for the normal case, strncpy on machines
that do not support misaligned transfers.
|