03 Feb, 2007
40 commits
-
Remove flags parameter for acpi_{get,set}_register().
It is no longer necessary now that these functions use a
spinlock for mutual exclusion.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Fixed a problem with the Global Lock where the lock could appear to be obtained before it is actually obtained, semaphore created with one unit.
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Fixed a regression where an error was no
longer emitted if a control method attempts to create 2
objects of the same name. This previously and now returns
AE_ALREADY_EXISTS. When this exception occurs, it invokes
the mechanism that will dynamically serialize the control
method to possible prevent future errors. (BZ 440)Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Disassembler now verifies an input
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
to differentiate the failure modes.
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Useful during disassembly where the target may
be in a different table and thus the type is unknown.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Required new table init interface since iASL does not use RSDP/XSDT.
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Moved all FADT-related functions to a new file, tbfadt.c.
Eliminated the acpi_hw_initialize function - the
FADT registers are now validated when the table is loaded.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Enhanced the implementation of the interpreters'
serialized mode (boot with "acpi_serialize" to set
acpi_glb_all_methods_serialized flag.)
When this mode is specified, instead of creating a serialization
semaphore per control method, the interpreter lock is
simply no longer released before a blocking operation
during control method execution. This effectively makes
the AML Interpreter single-threaded. The overhead of a
semaphore per-method is eliminated.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Removed offset display, not needed.
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Split acpi_format_exception into two parts. New
function is acpi_ut_verify_exception and will be used to
verify exception codes returned by user.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Update internal GPE data structure to simplify
debug, use gpe_number instead of register bitmask.Signed-off-by: Bob Moore
Signed-off-by: Len Brown -
Update interface to acpi_ut_repair_name() to avoid
alignment issues on IA64Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Change for GPE support: when a wake GPE is
received, now all wake GPEs are immediately disabled to
prevent the waking GPE from firing again, and to prevent
other wake GPEs from interrupting the wake process.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Implement support for ACPI DMAR table (DMA
Remapping Table) in header files and disassembler.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Len Brown
-
Lint changes
Move RSDT/XSDT pointer extraction to separate function
Warning on 32-bit platforms if XSDT pointers use more than 32 bits.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
comments only
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
The Table Manager component has been completely
redesigned and reimplemented. The new design is much
simpler, and reduces the overall code and data size of
the kernel-resident ACPICA by approximately 5%. Also,
it is now possible to obtain the ACPI tables very early
during kernel initialization, even before dynamic memory
management is initialized.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Temporary fix for BankValue parameter of a Bank
Field to support all constant values, including Zero
and One. Must eventually be converted to a full TermArg
evaluation.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Fix for object premature deletion after CopyObject
on Operation Region (BZ 350)Signed-off-by: Bob Moore
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
The ACPI Global Lock interrupt handler no longer
queues the execution of a separate thread to signal the
global lock semaphore. Instead, the semaphore is signaled
directly from the interrupt handler.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Completed a new design and implementation for
the ACPI Global Lock support. On the OS side, the global
lock is now treated as a standard AML mutex. Previously,
multiple OS threads could acquire the global lock
simultaneously, but this could cause the BIOS to be starved
by the lock in cases such as the Embedded Controller driver,
where there is a tight coupling between the OS and the BIOS.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown -
Additional update for NumElements fix. Must handle
case where NumElements > Package list length, pad package
with null elements.Signed-off-by: Alexey Starikovskiy
Signed-off-by: Len Brown