summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/rsirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/rsirq.c')
-rw-r--r--sys/contrib/dev/acpica/rsirq.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/rsirq.c b/sys/contrib/dev/acpica/rsirq.c
index 7da1fdc..a8d5c16 100644
--- a/sys/contrib/dev/acpica/rsirq.c
+++ b/sys/contrib/dev/acpica/rsirq.c
@@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: rsirq - IRQ resource descriptors
- * $Revision: 32 $
+ * $Revision: 34 $
*
******************************************************************************/
@@ -175,7 +175,7 @@ AcpiRsIrqResource (
* Point to the 16-bits of Bytes 1 and 2
*/
Buffer += 1;
- ACPI_MOVE_UNALIGNED16_TO_16 (&Temp16, Buffer);
+ ACPI_MOVE_16_TO_16 (&Temp16, Buffer);
OutputStruct->Data.Irq.NumberOfInterrupts = 0;
@@ -328,7 +328,7 @@ AcpiRsIrqStream (
Temp16 |= 0x1 << Temp8;
}
- ACPI_MOVE_UNALIGNED16_TO_16 (Buffer, &Temp16);
+ ACPI_MOVE_16_TO_16 (Buffer, &Temp16);
Buffer += 2;
/*
@@ -406,7 +406,7 @@ AcpiRsExtendedIrqResource (
* Point past the Descriptor to get the number of bytes consumed
*/
Buffer += 1;
- ACPI_MOVE_UNALIGNED16_TO_16 (&Temp16, Buffer);
+ ACPI_MOVE_16_TO_16 (&Temp16, Buffer);
*BytesConsumed = Temp16 + 3;
OutputStruct->Id = ACPI_RSTYPE_EXT_IRQ;
@@ -464,7 +464,7 @@ AcpiRsExtendedIrqResource (
*/
for (Index = 0; Index < Temp8; Index++)
{
- ACPI_MOVE_UNALIGNED32_TO_32 (
+ ACPI_MOVE_32_TO_32 (
&OutputStruct->Data.ExtendedIrq.Interrupts[Index], Buffer);
/* Point to the next IRQ */
@@ -628,7 +628,7 @@ AcpiRsExtendedIrqStream (
for (Index = 0; Index < LinkedList->Data.ExtendedIrq.NumberOfInterrupts;
Index++)
{
- ACPI_MOVE_UNALIGNED32_TO_32 (Buffer,
+ ACPI_MOVE_32_TO_32 (Buffer,
&LinkedList->Data.ExtendedIrq.Interrupts[Index]);
Buffer += 4;
}
@@ -653,7 +653,7 @@ AcpiRsExtendedIrqStream (
* Buffer needs to be set to the length of the sting + one for the
* terminating null
*/
- Buffer += (ACPI_STRLEN (LinkedList->Data.ExtendedIrq.ResourceSource.StringPtr) + 1);
+ Buffer += (ACPI_SIZE)(ACPI_STRLEN (LinkedList->Data.ExtendedIrq.ResourceSource.StringPtr) + 1);
}
/*
OpenPOWER on IntegriCloud