Robert Moore
027c7ffd9a
Expand device initialization counters to 32 bits.
...
Expand the various device initialization counters from 16-bit to 32-bit.
Allows for very large namespaces.
2010-05-20 12:29:29 -07:00
Robert Moore
1af8b94914
iASL/Tools: Replace all %d format specifiers with %u (unsigned).
...
With only a few exceptions, ACPICA does not use signed integers.
Therefore, %d is incorrect.
2010-05-20 12:12:23 -07:00
Robert Moore
3929a1f9a2
Core: Replace all %d format specifiers with %u (unsigned).
...
With only a few exceptions, ACPICA does not use signed integers.
Therefore, %d is incorrect.
2010-05-20 10:22:16 -07:00
Robert Moore
89f72c1af3
Optimization: Reduce the number of namespace walks.
...
On control method exit, only walk the namespace if the method is known
to have created namespace objects outside of its local scope.
Bob Moore, Alexey Starikovskiy.
2010-05-20 08:58:10 -07:00
Robert Moore
4ac33e7d2f
Tests: update script for changed acpiexec options.
...
Some options are renamed
2010-05-19 13:56:07 -07:00
Robert Moore
d90488f435
acpiexec: add option to disable memory tracking mechanism.
...
-dt option will disable the tracking mechanism, which improves performance
considerably. Also restructured the options into -d (disable) and -e (enable) options.
2010-05-19 13:53:55 -07:00
Robert Moore
b2bad68e4c
Limit maximum time for Sleep() operator.
...
To prevent accidental deep sleeps, limit the maximum time that Sleep()
will sleep. Configurable, default maximum is two seconds.
ACPICA bugzilla 854.
2010-05-19 09:00:58 -07:00
Robert Moore
ba571ef4a6
Expand initialization counters to 32 bits.
...
Expand the various initialization counters from 16-bit to 32-bit.
Allows for very large namespaces. Alexey Starikovskiy, Bob Moore.
2010-05-18 15:10:09 -07:00
Robert Moore
450158957f
iASL/Core: Add support for _WDG/_WED MS methods.
...
These objects are defined by "Windows Instrumentation", and are not
part of the ACPI spec. Adds compiler support and runtime typechecking
support in the ACPICA core. ACPICA BZ 860.
2010-05-18 12:07:27 -07:00
Robert Moore
07e62f2dbf
Fix namestring associated with AE_NO_HANDLER exception.
...
Was incorrectly AE_WAKE_ONLY_GPE.
2010-04-30 12:33:10 -07:00
Robert Moore
27794f1bd0
Add comment: _BCL cannot be sorted on the fly.
...
Because of package index values used for _BQC and _BCM.
2010-04-30 12:19:10 -07:00
Robert Moore
2ec18d1ecf
Update version to 20100428.
...
Version 20100428.
2010-04-28 12:24:04 -07:00
Robert Moore
40143226fd
Logfile: Changes for version 20100428.
...
Version 20100428.
2010-04-28 12:22:52 -07:00
Robert Moore
adad51c546
Windows binaries: Update for version 20100428.
...
Version 20100428.
2010-04-28 12:21:56 -07:00
Robert Moore
d03f125c24
Documentation: Update both ACPICA and iASL reference.
...
ACPICA: LoadTable/GPE support
iASL: Resource Descriptor error checking
Misc changes in both docs.
2010-04-28 10:20:03 -07:00
Robert Moore
4052dc8f9a
Tests: Add -cr iASL option to ASLTS makefile.
...
This option disables resource descriptor error checking.
ASLTS tests byte-by-byte descriptor construction, thus we
do not want to error check the values at compile time.
2010-04-28 10:18:24 -07:00
Robert Moore
540b6bfb95
iASL: Add -cr option to disable resource descriptor checks.
...
Useful for ASLTS. Disable errors from resource descriptors.
ASLTS checks for correct byte-by-byte descriptor construction, thus
errors are unavoidable.
2010-04-28 10:16:26 -07:00
Robert Moore
f9c241317d
Update linux makefile for iASL changes.
...
New files added, makefile cleaned up.
2010-04-23 14:45:57 -07:00
Robert Moore
ecff2c8ed5
Update/clarify some parameter names associated with ACPI_HANDLE.
...
Simple rename of some parameters to standardize them.
2010-04-23 10:00:16 -07:00
Robert Moore
6d8374fa06
Tests: Add new file with examples of extended iASL error checking.
...
Shows advanced error checking ability of iASL. Compiles with no errors
with ASL.
2010-04-23 09:22:19 -07:00
Robert Moore
bc9ed0f853
Tests: Update grammar.asl for iASL changes - resource descriptors.
...
Fix errors caused by new error checking in iASL.
2010-04-23 09:16:04 -07:00
Robert Moore
e211c4a5ac
iASL: Allow alignment=0 for IO/Memory32 descriptors.
...
Means the same as alignment=1 in the field.
Also, fix check for _MAX on _GRA boundary.
2010-04-23 09:13:08 -07:00
Robert Moore
99b080dcde
iASL: Implement rules for MIF/MAF flags, address descriptors.
...
This change implements the rules for LEN/MIF/MAF/MIN/MAX/GRA that come
from the ACPI specification (Table 6-40). Also added a special
case for IO descriptor where MIN/MAX are both start addresses, not
a start and end address. ACPICA BZ 840.
2010-04-22 15:08:47 -07:00
Robert Moore
8e3a28a487
iASL: Split large aslrestype1.c and aslrestype2.c files.
...
New files are aslrestype1i.c, aslrestype2d.c, aslrestype2e.c,
aslrestype2q.c, and aslrestype2w.c
2010-04-22 09:36:27 -07:00
Robert Moore
0530d6d5cc
iASL: Add Min/Max/Len/Gran validation for resource descriptors.
...
This change implements validation for the address fields that are
common to all address-type resource descriptors. These checks
are implemented: Checks for valid min/max, length within the
min/max window, valid granularity and min/max a multiple of
granularity. ACPICA BZ 840.
2010-04-22 07:55:53 -07:00
Robert Moore
68af6e5482
iASL: Add error for more predefined names that must be methods.
...
If no return value is expected from this predefined name, then
it follows that it must be implemented as a control method
(with zero args, because the args > 0 case was handled above)
Examples are: _DIS, _INI, _IRC, _OFF, _ON, _PSx
2010-04-20 09:51:00 -07:00
Robert Moore
03d18d0470
Rename AcpiExSystemDoSuspend->AcpiExSystemDoSleep.
...
Suspend has other meanings in ACPI context, name was misleading.
2010-04-19 13:32:17 -07:00
Robert Moore
681f8f4e6b
Prevent possible allocation overrun during object copy.
...
Original code did not handle the case where the object to be
copied was a namespace node.
2010-04-09 12:47:44 -07:00
Robert Moore
c2e293f281
Update allocation dump routine.
...
Prevent possible access beyond end-of-allocation.
Fully validate descriptor (size and type) before output.
Lin Ming, Bob Moore.
2010-04-09 12:35:00 -07:00
Robert Moore
3e2a9ea0fc
Update windows project files.
...
New files added for GPE file split.
2010-04-09 09:04:36 -07:00
Robert Moore
b0a99f238c
Split large file, evgpeblk.c.
...
Create two new files, evgpeinit.c and evgpeutil.c. Updated unix and
linux makefiles.
2010-04-09 09:01:59 -07:00
Robert Moore
85fa1f3470
acpiexec: add source ASL for ACPI tables used within.
...
2 tests added.
2010-04-08 15:29:16 -07:00
Robert Moore
d764104bff
Add GPE support for dynamically loaded ACPI tables.
...
For all GPEs, including FADT-based and GPE Block Devices, execute
any _PRW methods in the new table, and process any _Lxx/_Exx GPE
methods in the new table. Any runtime GPE that is referred to by
an _Lxx/_Exx method in the new table is immediately enabled.
ACPICA BZ 833. Lin Ming, Bob Moore.
2010-04-08 14:59:22 -07:00
Robert Moore
8cf3f0b4b9
iASL: Add -ts hex output option (emit ASL code).
...
New option to emit the hex AML code in an ASL buffer.
ACPICA BZ 853.
2010-04-08 13:44:37 -07:00
Robert Moore
f633a5f198
iASL: Add typechecking for _Wxx predefined names.
...
_Wxx is a GPE method type, similar to the _Lxx/Exx methods.
Adds support for all _Wxx names, which were not previously
recognized as valid predefined names.
2010-04-07 12:58:16 -07:00
Robert Moore
66a0da38e3
iASL: Add error if _Lxx/_Exx/_Qxx/_Wxx names are not methods.
...
These predefined names must be defined as control methods. They
cannot be defined as any other object type. ACPICA BZ 850.
2010-04-07 12:48:53 -07:00
Robert Moore
b7afb93b2d
iASL: Update signon for ACPI 4.0a
...
Add "a" to output string.
2010-04-07 08:39:25 -07:00
Robert Moore
6afc9c9921
iASL: Update -ta/-tc hex output options.
...
Add ascii dump for partial last lines.
For C, omit comma after last byte.
Add total AML size in comment.
Update to improve general appearance and usefullness.
2010-04-05 14:55:41 -07:00
Robert Moore
66525d7384
Clarify/rename some root table descriptor fields.
...
Original fields were not very descriptive and led to maintenance problems.
New fields should help to understand the existing code.
2010-04-05 10:19:39 -07:00
Robert Moore
752d13e806
Additional fix for root table size regression.
...
Set the size of the new root table correctly. Not the current size, but
the number of current tables + the default increment.
2010-04-02 12:53:37 -07:00
Robert Moore
67a1ef8c98
Additional change for table load regression
...
add .signature
2010-04-01 14:26:23 -07:00
Robert Moore
e4c530f4e7
Fix for table load regression.
...
Fixes a problem introduced in 20100331 where the table manager could
fault or return an AE_NO_ACPI_TABLES exception.
2010-04-01 14:05:20 -07:00
Robert Moore
4580a813dd
Integrate FreeBSD changes for acfreebsd.h
...
Changes from Jung-uk Kim [jkim@FreeBSD.org ]
2010-03-31 13:19:24 -07:00
Robert Moore
4f19d3be5a
Update version to 20100331.
...
Version 20100331.
2010-03-31 09:23:49 -07:00
Robert Moore
3a6f790649
Logfile: changes for version 20100331.
...
Version 20100331.
2010-03-31 09:22:09 -07:00
Robert Moore
28c6b69a26
Windows binaries: Update for version 20100331.
...
Version 20100331.
2010-03-31 09:21:10 -07:00
Robert Moore
dc2a536be0
Fix AcpiReallocateRootTable to set new root table size correctly.
...
New additional table count was not added into the table size
(count of total available slots.)
2010-03-31 08:15:59 -07:00
Robert Moore
8c28b93eee
Update part 2: DSDT copy/detection.
...
Now handles the case where the root table can be reallocated, which
would invalidate the original pointer.
2010-03-31 07:51:40 -07:00
Robert Moore
2a8d54c70f
Documentation: Update ACPICA reference for GPE changes.
...
Also added copy DSDT option.
2010-03-30 08:12:36 -07:00
Robert Moore
96a1c010a3
iASL: Update -g option (get local tables) for Windows 7.
...
Changed requested permissions for registry access.
Updated error messages to format/display windows exception code.
2010-03-30 08:09:10 -07:00