Robert Moore
680197ffe8
Update version to 20160626.
...
Version 20160626.
R06_26_13
2013-06-26 10:56:18 -07:00
Robert Moore
ebc97948e1
Logfile: Changes for version 20130626.
...
Version 20130626.
2013-06-26 10:55:48 -07:00
Robert Moore
95540c4acc
ACPICA reference: Update for acpidump and multiple UEFI tables.
...
Additional changes for acpidump; allow multiple UEFI tables,
similar to multiple SSDTs.
2013-06-26 10:05:59 -07:00
Robert Moore
27f70f5fdd
AcpiDump/FreeBSD: Fix possible duplicate checksum error.
...
Fix duplicate error message on checksum error; general cleanup
for memory leaks and error messages.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-26 09:46:36 -07:00
Robert Moore
01b8a575ef
AcpiDump/Linux: Fix possible duplicate checksum message.
...
Do not duplicate checksum error message.
2013-06-26 09:45:50 -07:00
Robert Moore
8cb37d69cf
Revert "Fix a problem with the ASL DeRefOf operator."
...
This reverts commit bc9a14b13ef0bd4b96294d7498df126df4e3d008.
This fix causes problems with ASLTS and requires additional
debug.
2013-06-26 09:37:49 -07:00
Robert Moore
bc9a14b13e
Fix a problem with the ASL DeRefOf operator.
...
Fixes a problem where where the dereferencing of a reference object
did not work properly when the object being referenced was a FieldUnit
or BufferField object. This would typically result in an AE_TYPE
later during execution of the method.
2013-06-25 12:51:28 -07:00
Robert Moore
b0dcf1681a
Tests: Misc aslts error fixes for Identity2MS test.
...
Fixes some problems with the test itself, reducing runtime errors.
Chao Guan.
2013-06-21 09:45:34 -07:00
Robert Moore
6d291fb820
AcpiDump/FreeBSD: Fix for memory leak and an AE_ exception.
...
1) Make sure to unmap table in an error case.
2) Return AE_LIMIT when there exists an instance. Otherwise, return AE_NOT_FOUND.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-19 13:00:57 -07:00
Robert Moore
588973fc4b
Disassembler: Add EINJ "Flush Cacheline" instruction.
...
This instruction was added post-ACPI 5.0
Colin Ian King <colin.king@canonical.com>
2013-06-19 10:48:48 -07:00
Robert Moore
1ad15d5595
AcpiDump: Add preliminary support for FreeBSD.
...
Adds the OSL file for FreeBSD. Updates makefile.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-19 10:04:55 -07:00
Robert Moore
bce1e0e71e
Fix compiler warnings for casting issues (only some compilers).
...
Fixes compiler warnings from GCC 4.2 and perhaps other compilers.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-19 09:56:23 -07:00
Robert Moore
35357adc05
Automated cleanup, no functional change.
...
Removed extraneous spaces.
2013-06-19 09:51:56 -07:00
Robert Moore
4cd5eb8593
Makefiles: Update flags for old GCC and other compilers.
...
Adds support for FreeBSD, which uses old gcc 4.2
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-19 09:21:14 -07:00
Robert Moore
88982558e5
Makefiles: Update to improve portability.
...
1) Use $(MAKE) instead of naked make.
2) Consistently use braces instead of parentheses.
Jung-uk Kim <jkim@FreeBSD.org>
2013-06-18 12:34:01 -07:00
Robert Moore
d43e189699
AcpiDump: Change "version" option to -v to standardize.
...
Verbose option is -z for now.
2013-06-07 11:59:37 -07:00
Robert Moore
0fa1f81d0f
Remove restriction of 256 maximum GPEs in any GPE block.
...
The FADT can support over 1000 GPEs, so remove any restriction
on the GPE numbers.
2013-06-07 10:35:52 -07:00
Robert Moore
89066d68ed
AcpiDump: Linux version, add support for multiple UEFI tables.
...
Also adds support for more than 9 SSDTs.
Chao Guan.
2013-06-07 10:34:14 -07:00
Robert Moore
a0ae650ff3
iASL: Update template for DMAR table.
...
Update some fields and checksum. Lv Zheng.
2013-06-05 13:30:54 -07:00
Robert Moore
bafa2716cc
AcpiDump: Allow FADT/MADT as valid signatures, cleanup.
...
To be friendly, allow FADT and MADT as synonyms for FACP and APIC.
Cleanup some error messages.
2013-06-05 13:15:03 -07:00
Robert Moore
4feb7ffeb6
AcpiDump/Linux version: Restructure code and some cleanup.
...
Add a couple new subroutines to clarify the code, cleanup some
loops, error messages, and constants. Chao Guan.
2013-06-05 13:13:20 -07:00
Robert Moore
a46f7ba7e8
ASLTS: Fix for test MS2C.
...
Fixes a bug in this test. Chao Guan.
2013-06-04 14:36:03 -07:00
Robert Moore
da31a068ac
AcpiDump: Cleanup for linux OSL interface.
...
Cleanup some names, parameters, and comments.
2013-06-04 13:41:18 -07:00
Robert Moore
50bf399c8e
iASL/Disassembler: Fix some possible memory leaks.
...
Fix for a few possible memory leaks in error recovery paths
Reported by Colin King <colin.king@canonical.com>
2013-06-04 13:17:45 -07:00
Robert Moore
48edcb1179
Disassembler: Expand maximum output string length to 64K.
...
Was 256 bytes max. The original purpose of this constraint was to
limit the amount of debug output. However, the string function in
question (UtPrintString) is now used for the disassembler also,
where 256 bytes is insufficient. Reported by RehabMan@GitHub.
2013-06-04 12:00:50 -07:00
Robert Moore
3fc353da22
AcpiDump: Added full support for Linux.
...
Adds full support for linux platforms. Chao Guan, Bob Moore.
2013-05-31 17:42:48 -07:00
Robert Moore
0d0b913fe4
AcpiExec: Add _OSI test for a feature string.
...
Ensure that the "Extended Address Space Descriptor" string is
recognized properly (it is always supported).
2013-05-30 13:11:02 -07:00
Robert Moore
ecfb12c90f
iASL/Preprocessor: Add proper message for #warning directive.
...
Was previously sharing the message for #error, this was incorrect.
2013-05-30 13:03:54 -07:00
Robert Moore
bd737d9f96
iASL/Preprocessor: Fix two issues with preprocessor errors.
...
1) Allow regular compiler to run normally even if there are
preprocessor errors. All preprocessor directives are stripped
anyway.
2) Attempt to pop an empty directive stack indicates that there
is a missing #endif directive, display appropriate message.
2013-05-30 12:53:29 -07:00
Robert Moore
f08677cf18
iASL: fix another "could not delete" issue.
...
Must actually close the .SRC intermediate file rather than just
zero out the handle. Otherwise, the file cannot be deleted when
the compiler terminates.
2013-05-30 08:45:21 -07:00
Robert Moore
b83eecfa55
iASL: Abort compiler immediately upon a #error directive.
...
There may not be a standard on this, as some C compilers seem to
abort immediately, others not. For iASL, we will abort
immediately on a #error preprocessor directive.
2013-05-29 13:14:50 -07:00
Robert Moore
6ed94cefc6
iASL: Fix mysterious "could not delete file" errors.
...
This fix ensures that the intermediate preprocessor .i file is
closed before an attempt is made to delete it. This has to be
done with care, because it may be the same as the global input
file, depending where/when the compiler terminated/aborted.
2013-05-29 13:12:00 -07:00
Robert Moore
0ac19a10da
Build helpfile: update for new version of ACPICA website.
...
More instructions on how to update the website.
2013-05-24 14:34:40 -07:00
Robert Moore
86e760ea9b
iASL/Preprocessor: Finish implementation of nested #if/#else blocks.
...
Allows arbitrary depth of nested blocks.
2013-05-24 14:27:56 -07:00
Robert Moore
1e2483fcfe
Comment update. No functional change.
...
Add some comments concerning behavior when the _STA method does
not exist. According to the ACPI specification, in this case the
device should be assumed to be present, functional, and enabled.
2013-05-22 07:32:31 -07:00
Robert Moore
b569b601b7
iASL/TableCompiler: Fix form DMAR compilation problems.
...
Fixes problems with the optional DMAR subtables.
ACPICA BZ 999. Lv Zheng.
2013-05-21 12:55:04 -07:00
Robert Moore
b6819e3036
iASL/TableCompiler: Cleanup line parsing routine.
...
A couple of small cleanups. Lv Zheng.
2013-05-21 12:51:48 -07:00
Robert Moore
df934a1718
Disassembler: Add some missing types for HEST and EINJ tables.
...
Add a missing EINJ action, and two missing HEST notify names.
Colin King <colin.king@canonical.com>.
2013-05-21 11:38:57 -07:00
Robert Moore
b1056d2d3e
iASL: Ensure va_end is always called before function return.
...
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>.
2013-05-21 11:27:49 -07:00
Robert Moore
364c90feae
_CST repair: Handle null package entries.
...
Sort package only after null/bad elements have been removed.
Lv Zheng.
2013-05-17 14:42:32 -07:00
Robert Moore
7006193bce
Update version to 20130517.
...
Version 20130517.
R05_17_13
2013-05-17 09:18:37 -07:00
Robert Moore
d48a4e5f0f
Logfile: Changes for version 20130517.
...
Version 20130517.
2013-05-17 09:17:59 -07:00
Robert Moore
205240fbd7
ACPICA Reference: Update for acpidump and address handlers.
...
New sections for each of these, plus documentation of the
interfaces required for acpidump.
2013-05-17 09:16:44 -07:00
Robert Moore
4610702a34
Add several repairs for _CST predefined name.
...
Sort list based on the C-state, remove invalid/zero entries.
ACPICA BZ 890. Lv Zheng.
2013-05-16 13:46:26 -07:00
Robert Moore
47502d203d
Move _PRT repair into the standard complex repair module.
...
Moved this longstanding repair to the relatively new predefined name
repair module. ACPICA BZ 783. Lv Zheng.
2013-05-16 12:49:25 -07:00
Robert Moore
6421b9db11
Makefiles: add some additional comments/whitespace.
...
Update for recent APPLE changes.
2013-05-16 09:41:02 -07:00
Robert Moore
80f53a7902
Merge branch 'osx-makefile' of ssh://ssh.github.com/liangqi/acpica
2013-05-16 09:11:49 -07:00
Robert Moore
f1393c4283
AcpiExec: Install some local space handlers for PCI devices.
...
For test support only. Install memory and I/O handlers for
any PCI devices (PNP0A08).
2013-05-16 08:52:21 -07:00
Robert Moore
7e7085fd11
Debugger: Update an initialization error message.
...
Add actual ACPI_STATUS value to an init error msg.
2013-05-16 08:22:13 -07:00
Robert Moore
475ab557b0
iASL: Add package support for the -so (offset table) option.
...
Add Package objects to the type of objects that are supported
in the offset table (BIOS support option.)
2013-05-16 08:19:23 -07:00