10293 Commits

Author SHA1 Message Date
Robert Moore
77b040565f Windows binaries: update for version 20090220.
Version 20090220.
2009-02-20 08:34:47 -08:00
Robert Moore
b408d6f1bf Update table header print function.
Cleanup table header output.
2009-02-19 15:39:42 -08:00
Robert Moore
14b8df76ec Revert "Fix WalkNamespace/TableUnload race condition."
This reverts commit ab25f5e04d934cb5830f445b3ca35e272026b560.
Needs additional testing.
2009-02-19 15:31:21 -08:00
Robert Moore
ab25f5e04d Fix WalkNamespace/TableUnload race condition.
Fixes a problem where a WalkNamespace user function could have a
namespace node deleted out from under it due to the execution of
an AML Unload operator. A new mutex has been defined to exclude
these two activities. ACPICA BZ 749.
2009-02-17 14:37:48 -08:00
Robert Moore
f7e29abf60 Disassembler: decode FADT PM_Profile field.
Add support to decode this field in the FADT with ascii names
for the legal values.
2009-02-13 12:23:16 -08:00
Robert Moore
bc11849524 Update ACPICA Programmer Reference.
Some intererfaces were renamed, update feature descriptions.
2009-02-13 10:26:23 -08:00
Robert Moore
9f6da2363c Restructure bit register access functions.
Update code for AcpiReadBitRegister and AcpiWriteBitRegister.
Simplified code path, condensed duplicate code.
2009-02-10 15:09:16 -08:00
Robert Moore
44bf030e27 AcpiExec: Add function to exercise H/W interfaces.
Added calls to WriteBitRegister and ReadBitRegister.
2009-02-10 13:42:08 -08:00
Robert Moore
930bc63d04 Formatting update - no functional changes.
Split some long lines.
2009-02-10 13:40:53 -08:00
Robert Moore
89cce9695d Rename ACPI bit register access functions.
Rename AcpiGetRegister and AcpiSetRegister to clarify the purpose
of these functions. New names are AcpiReadBitRegister and
AcpiWriteBitRegister.
2009-02-10 09:00:12 -08:00
Robert Moore
d258fbe313 Optimize ACPI register locking.
Removed locking for reads from the ACPI bit registers in PM1 Status,
Enable, Control, and PM2 Control. The lock is not required when
reading the single-bit registers. The AcpiGetRegisterUnlocked function
is no longer needed and has been removed. This will improve performance
for reads on these registers.
ACPICA BZ 760.
2009-02-10 08:43:05 -08:00
Robert Moore
f21fd0d909 Fix warning message for root table truncation.
Fix the calculation used for this warning.
Myron Stowe <myron.stowe@hp.com>
2009-02-09 14:54:46 -08:00
Robert Moore
83388feb98 Formatting update - no functional changes.
Split some long lines.
2009-02-09 14:26:00 -08:00
Robert Moore
f2d5bfb9b8 Debug output: decrease verbosity of DB_INFO debug level.
Removed some of the extraneous debug prints using the DB_INFO level.
This should make the DB_INFO more useful.
2009-02-06 10:21:21 -08:00
Robert Moore
ec62cb3b5f Debug output: print result of _OSI invocations.
Print input strings and the result (supported or not supported)
for invocations of the _OSI method.
2009-02-06 10:19:35 -08:00
Robert Moore
69dc0f01c7 Conditionally compile AcpiSetFirmwareWakingVector64.
This function is only needed on 64-bit host operating systems.
2009-02-05 12:49:35 -08:00
Robert Moore
5025573120 Remove ACPI_GET_OBJECT_TYPE macro.
Remove all instances of this obsolete macro, since it is now a simple
reference to ->common.type. There were about 150 invocations of the
macro across 41 files.
2009-02-05 10:17:44 -08:00
Robert Moore
775c7c9341 Add function to handle PM1 control registers.
Added AcpiHwWritePm1Control. This function writes both of the PM1
control registers (A/B). These registers are
different than than the PM1 A/B status and enable registers
in that different values can be written to the A/B registers.
Most notably, the SLP_TYP bits can be different, as per the
values returned from the _Sx predefined methods.
2009-02-03 15:31:52 -08:00
Robert Moore
144e085305 Remove redundant ACPI_BITREG_SLEEP_TYPE_B.
This type is the same as TYPE_A. Removed this and all related instances.
Renamed SLEEP_TYPE_A to simply SLEEP_TYPE.
2009-02-03 14:57:38 -08:00
Robert Moore
26a2eea9f4 Fix parameter validation for AcpiRead/Write.
Now return AE_BAD_PARAMETER if the input register pointer is null,
and AE_BAD_ADDRESS if the register has an address of zero.
Previously, these cases simply returned AE_OK. For optional registers
such as PM1B status/enable/control, the caller should check for a valid
register address before calling.
ACPICA BZ 748.
2009-02-03 14:49:21 -08:00
Robert Moore
753eaf64ea For PM1B registers, do not shift value read or written.
The PM1B registers are mirrors of the PM1A registers with different
bits actually implemented. From the ACPI specification:
"Although the bits can be split between the two register blocks (each
register block has a unique pointer within the FADT), the bit positions
are maintained. The register block with unimplemented bits (that is, those
implemented in the other register block) always returns zeros, and
writes have no side effects"
2009-02-03 14:34:03 -08:00
Robert Moore
bef985b4bd Remove extra write for AcpiHwClearAcpiStatus.
This function was writing an optional PM1B status register twice.
The existing call to the low-level AcpiHwRegisterWrite automatically
handles a possibly split PM1 A/B register.
ACPICA BZ 751.
2009-02-03 09:20:05 -08:00
Robert Moore
599e9589eb Fix writes to optional PM1B registers.
On read, shift B register bits above the A bits. On write, shift B bits
down to zero before writing the B register. New: AcpiHwReadMultiple,
AcpiHwWriteMultiple. These two functions now transparently handle the
(possible) split registers for PM1 Status, Enable, and Control.
2009-02-02 13:47:26 -08:00
Robert Moore
75f66c2008 Update comments in module header.
Enhance the explanations of the various package return types
for clarity.
2009-01-30 12:59:45 -08:00
Robert Moore
dccd61004e Split out PM1 status registers from the FADT.
Add new globals for the PM1 status registers (A/B), similar to the
way the PM1 enable registers are handled. Instead of overloading the
FADT Event Register blocks. This makes the code clearer and less prone
to error.
2009-01-30 09:35:26 -08:00
Robert Moore
5333ae5527 Update version to 20090123.
Update version to 20090123.
2009-01-23 11:02:09 -08:00
Robert Moore
194efa26e4 Logfile: changes for version 20090123.
Version 20090123.
2009-01-23 11:01:07 -08:00
Robert Moore
36c50887d2 Windows binaries: update for version 20090123.
Version 20090123.
2009-01-23 11:00:04 -08:00
Robert Moore
3d300ecb5a Update Windows project files - output filenames.
Use default filenames for output files since using anything else
does not always "stick".
2009-01-23 10:48:02 -08:00
Robert Moore
177325af3c Debugger: Automatically pad input names with '_'
For the Find command, automatically pad names that are shorter
than 4 characters with underscores, as they are within the
namespace.
2009-01-23 09:51:28 -08:00
Robert Moore
21361ed95b Update Windows project files for VC++ bug.
Use absolute paths to all project directories. Previously, used paths
relative to the project root, but there is a bug in VC++ that then
creates project directories all over the disk.
2009-01-21 14:04:52 -08:00
Robert Moore
52485728be Update Windows OSL.
Cleanup the AcpiOsTableOverride function.
2009-01-21 14:04:01 -08:00
Robert Moore
0c7950d576 iASL: Dump RSDT to file for -g option.
Now dumps the RSDT as well as the FADT and DSDT.
2009-01-20 15:13:36 -08:00
Robert Moore
382b7a021d iASL: Split windows table access to new file (-g).
Split the acpi table access (in registry) to a new file.
Prepares for integrating acpidump utility into acpica.
2009-01-20 15:12:24 -08:00
Robert Moore
416eb5461f Update all copyrights and signons to 2009.
Add 2009 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.
2009-01-08 13:17:27 -08:00
Robert Moore
bddda3d5aa Disassembler: Update handling of FADT flags.
1) Decode all Boot Architecture flags.
2) Decode all flags, regardless of the FADT version. Previously,
only those flags that were actually valid for the FADT version
were displayed. This seemed to omit some information.
2009-01-08 12:56:02 -08:00
Robert Moore
dc767b2527 Update FADT flag definitions.
Add new flags in the Boot Architecture flags field. Update comments
for all FADT flags. Add FADT version when each flag was defined.
2009-01-08 12:53:55 -08:00
Jürg Billeter
81d0f24355 iASL: Fix build error under bison-2.4
Adds the missing type specifiers to fix build with bison 2.4.1
ACPICA BZ 744, Jürg Billeter
2008-12-22 11:28:45 +08:00
Robert Moore
409f5b644f Add override for dynamic tables.
Add a call to AcpiOsTableOverride during the installation of
a dynamic table (loaded via the Load or LoadTable AML operators).
2008-12-11 12:58:42 -08:00
Robert Moore
05224d2cf5 Remove extraneous parameter in table manager.
Removed the Flags parameter from several internal functions
since it was not being used.
2008-12-09 10:02:20 -08:00
Robert Moore
2d8f95c694 Allow OS override of all ACPI tables.
Previously, the table override mechanism was implemented for the
DSDT only. Now, any table in the RSDT/XSDT can be replaced by the
host OS. (including the DSDT).
2008-12-09 09:37:48 -08:00
Robert Moore
7d19af2188 Add error check to debug object dump routine.
Add check for invalid handle in NsDumpOneObject.
2008-12-04 12:39:41 -08:00
Robert Moore
1310e25615 Update version to 20081204.
Update version to 20081204.
2008-12-04 09:19:23 -08:00
Robert Moore
7c854b4e72 Logfile: changes for version 20081204.
Version 20081204.
2008-12-04 09:18:12 -08:00
Robert Moore
649e626e8e Windows binaries: update for version 20081204.
New windows binaries.
2008-12-04 09:03:05 -08:00
Robert Moore
462b1db3db FADT: Update error msgs for consistency.
Update all messages so they look consistent.
2008-12-03 14:59:22 -08:00
Robert Moore
abcfc51e45 FADT: set UseDefaultRegisterWidths to TRUE by default.
This returns the FADT support to the original behavior, which is to
use default register widths. However, now check each register
definition and report a warning if it differs from the default.
This is a first step to moving away from the default widths, rather
than outright believing the widths in all FADTs for all machines,
considered rather dangerous until more data is obtained.
2008-12-03 09:41:09 -08:00
Robert Moore
1b61f8b176 Fix interface to AcpiGetGpeDevice.
Incorrectly defined with an extra indirection *
2008-12-03 09:38:53 -08:00
Robert Moore
641a60311f Update ACPICA Programmer Reference.
Complete update, including external interfaces, OSL interfaces,
overview sections, and debugger reference.
2008-11-26 09:55:12 -08:00
Robert Moore
09058e5daf FADT parsing changes and fixes.
1) Update the register lengths for the PM1 event blocks. The length
must be divided by two in order to use these to access the status
registers.
2) Add run-time option to use default register lengths to override a
faulty FADT.
3) Add warning message if any of the X64 address structures contain a
length that does not match the legacy length earlier in the FADT.
4) Move all FADT warning messages into the ValidateFadt function.
2008-11-21 13:45:49 -08:00