11 Commits

Author SHA1 Message Date
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
2cd7f64bf8 Predefined name repair: fix NULL package elements.
For the predefined methods that return fixed-length packages (or subpackages),
attempt repair for a NULL element. Create an Integer of value 0, a NULL
String, or a zero-length buffer as appropriate. ACPICA BZ 818.
Lin Ming, Bob Moore.
2010-01-15 12:50:21 -08:00
Robert Moore
c7dd20b0d7 Update all ACPICA copyrights and signons to 2010.
Add 2010 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2010-01-08 08:49:11 -08:00
Robert Moore
cdfcc7cfce Update for new gcc-4 warning options.
Added several new options for the gcc-4 generation, and updated the source
accordingly. This includes some code restructuring to eliminate unreachable
code, elimination of some gotos, elimination of unused return values, and
some additional casting.
2010-01-08 08:14:05 -08:00
Robert Moore
cf2bc7db05 Predefined name repair: automatically remove null package elements.
This change will automatically remove embedded and trailing NULL package
elements from returned package objects that are defined to containe a
variable number of sub-packages. The driver is then presented with
a package with no null elements to deal with. ACPICA BZ 819.
2009-12-10 14:35:48 -08:00
Robert Moore
d34e4dc230 Update function headers and comments, no functional change.
Update comments for repair of _FDE and _GTM methods.
2009-12-08 14:15:57 -08:00
Robert Moore
82abf467aa Remove messages if predefined repair(s) are successful.
Repair mechanism was considered too wordy. Now, messages are only
unconditionally emitted if the return object cannot be repaired.
Existing messages for successful repairs were converted to
ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
2009-12-08 14:08:56 -08:00
Robert Moore
51dabc8bed Move Package-to-Buffer repair code into common ToBuffer function.
Move code specific to _FDE and _GTM into the generic repair code.
2009-12-04 15:16:53 -08:00
Robert Moore
453386a16b Automated cleanup - no functional change.
acpisrc -c cleanup.
2009-11-20 09:16:42 -08:00
Robert Moore
048fba8f81 Add repair for bad _FDE/_GTM buffers.
The expected return value for both names is a Buffer of 5 DWORDS.
This repair fixes two possible problems (both seen in the field):
A package of integers is returned, or a buffer of BYTEs is
returned.
2009-11-20 09:10:33 -08:00
Robert Moore
829c0044e5 Add repair for predefined methods that must return sorted lists.
This change will repair (by sorting) packages returned by _ALR,
_PSS, and _TSS. Drivers can now assume that the packages are
correctly sorted. Adds one new file, namespace/nsrepair2.c
ACPICA BZ 784. Lin Ming, Bob Moore.
2009-11-04 13:57:17 -08:00