diff options
author | Bob Moore <robert.moore@intel.com> | 2005-10-21 00:00:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-12-10 00:22:54 -0500 |
commit | 0897831bb54eb36fd9e2a22da7f0f64be1b20d09 (patch) | |
tree | 8d77687ce8ebcfb62d6012d2d3c44f6a904b3c15 /drivers/acpi/executer | |
parent | 50eca3eb89d73d9f0aa070b126c7ee6a616016ab (diff) |
[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 <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/executer')
-rw-r--r-- | drivers/acpi/executer/exmisc.c | 5 | ||||
-rw-r--r-- | drivers/acpi/executer/exregion.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/executer/exmisc.c b/drivers/acpi/executer/exmisc.c index a3f4d72bedc9..1899ab251393 100644 --- a/drivers/acpi/executer/exmisc.c +++ b/drivers/acpi/executer/exmisc.c | |||
@@ -625,9 +625,8 @@ acpi_ex_do_logical_op(u16 opcode, | |||
625 | 625 | ||
626 | /* Lexicographic compare: compare the data bytes */ | 626 | /* Lexicographic compare: compare the data bytes */ |
627 | 627 | ||
628 | compare = ACPI_MEMCMP((const char *)operand0->buffer.pointer, | 628 | compare = ACPI_MEMCMP(operand0->buffer.pointer, |
629 | (const char *)local_operand1->buffer. | 629 | local_operand1->buffer.pointer, |
630 | pointer, | ||
631 | (length0 > length1) ? length1 : length0); | 630 | (length0 > length1) ? length1 : length0); |
632 | 631 | ||
633 | switch (opcode) { | 632 | switch (opcode) { |
diff --git a/drivers/acpi/executer/exregion.c b/drivers/acpi/executer/exregion.c index 9a2f5bea3afe..1897379b5f90 100644 --- a/drivers/acpi/executer/exregion.c +++ b/drivers/acpi/executer/exregion.c | |||
@@ -77,7 +77,7 @@ acpi_ex_system_memory_space_handler(u32 function, | |||
77 | struct acpi_mem_space_context *mem_info = region_context; | 77 | struct acpi_mem_space_context *mem_info = region_context; |
78 | u32 length; | 78 | u32 length; |
79 | acpi_size window_size; | 79 | acpi_size window_size; |
80 | #ifndef ACPI_MISALIGNED_TRANSFERS | 80 | #ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED |
81 | u32 remainder; | 81 | u32 remainder; |
82 | #endif | 82 | #endif |
83 | 83 | ||
@@ -109,7 +109,7 @@ acpi_ex_system_memory_space_handler(u32 function, | |||
109 | return_ACPI_STATUS(AE_AML_OPERAND_VALUE); | 109 | return_ACPI_STATUS(AE_AML_OPERAND_VALUE); |
110 | } | 110 | } |
111 | 111 | ||
112 | #ifndef ACPI_MISALIGNED_TRANSFERS | 112 | #ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED |
113 | /* | 113 | /* |
114 | * Hardware does not support non-aligned data transfers, we must verify | 114 | * Hardware does not support non-aligned data transfers, we must verify |
115 | * the request. | 115 | * the request. |