Use new UNALIGNED macros

date	2003.04.16.19.03.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:29:34 +00:00
parent 63413f6eb5
commit f3a406fccc

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: exfldio - Aml Field I/O
* $Revision: 1.93 $
* $Revision: 1.94 $
*
*****************************************************************************/
@ -717,12 +717,12 @@ AcpiExGetBufferDatum (
case ACPI_FIELD_WORD_GRANULARITY:
ACPI_MOVE_UNALIGNED16_TO_16 (Datum, &(((UINT16 *) Buffer) [Index]));
ACPI_MOVE_UNALIGNED16_TO_64 (Datum, &(((UINT16 *) Buffer) [Index]));
break;
case ACPI_FIELD_DWORD_GRANULARITY:
ACPI_MOVE_UNALIGNED32_TO_32 (Datum, &(((UINT32 *) Buffer) [Index]));
ACPI_MOVE_UNALIGNED32_TO_64 (Datum, &(((UINT32 *) Buffer) [Index]));
break;
case ACPI_FIELD_QWORD_GRANULARITY:
@ -783,12 +783,12 @@ AcpiExSetBufferDatum (
case ACPI_FIELD_WORD_GRANULARITY:
ACPI_MOVE_UNALIGNED16_TO_16 (&(((UINT16 *) Buffer)[Index]), &MergedDatum);
ACPI_MOVE_UNALIGNED64_TO_16 (&(((UINT16 *) Buffer)[Index]), &MergedDatum);
break;
case ACPI_FIELD_DWORD_GRANULARITY:
ACPI_MOVE_UNALIGNED32_TO_32 (&(((UINT32 *) Buffer)[Index]), &MergedDatum);
ACPI_MOVE_UNALIGNED64_TO_32 (&(((UINT32 *) Buffer)[Index]), &MergedDatum);
break;
case ACPI_FIELD_QWORD_GRANULARITY: