mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[ACPI] ACPICA 20051021
Implemented support for the EM64T and other x86_64 processors. This essentially entails recognizing that these processors support non-aligned memory transfers. Previously, all 64-bit processors were assumed to lack hardware support for non-aligned transfers. Completed conversion of the Resource Manager to nearly full table-driven operation. Specifically, the resource conversion code (convert AML to internal format and the reverse) and the debug code to dump internal resource descriptors are fully table-driven, reducing code and data size and improving maintainability. The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word on 64-bit processors instead of a fixed 32-bit word. (Alexey Starikovskiy) Implemented support within the resource conversion code for the Type-Specific byte within the various ACPI 3.0 *WordSpace macros. Fixed some issues within the resource conversion code for the type-specific flags for both Memory and I/O address resource descriptors. For Memory, implemented support for the MTP and TTP flags. For I/O, split the TRS and TTP flags into two separate fields. Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
1 parent
50eca3eb89
commit
0897831bb5
32 files changed
+2541
-3248
No files matched your search
@@ -625,9 +625,8 @@ acpi_ex_do_logical_op(u16 opcode,
|
||||
|
||||
/* Lexicographic compare: compare the data bytes */
|
||||
|
||||
compare = ACPI_MEMCMP((const char *)operand0->buffer.pointer,
|
||||
(const char *)local_operand1->buffer.
|
||||
pointer,
|
||||
compare = ACPI_MEMCMP(operand0->buffer.pointer,
|
||||
local_operand1->buffer.pointer,
|
||||
(length0 > length1) ? length1 : length0);
|
||||
|
||||
switch (opcode) {
|
||||
|
||||
@@ -77,7 +77,7 @@ acpi_ex_system_memory_space_handler(u32 function,
|
||||
struct acpi_mem_space_context *mem_info = region_context;
|
||||
u32 length;
|
||||
acpi_size window_size;
|
||||
#ifndef ACPI_MISALIGNED_TRANSFERS
|
||||
#ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED
|
||||
u32 remainder;
|
||||
#endif
|
||||
|
||||
@@ -109,7 +109,7 @@ acpi_ex_system_memory_space_handler(u32 function,
|
||||
return_ACPI_STATUS(AE_AML_OPERAND_VALUE);
|
||||
}
|
||||
|
||||
#ifndef ACPI_MISALIGNED_TRANSFERS
|
||||
#ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED
|
||||
/*
|
||||
* Hardware does not support non-aligned data transfers, we must verify
|
||||
* the request.
|
||||
|
||||
Reference in new issue
Block a user