Rename 3 struct fields for clarity and simpler source conversion

This commit is contained in:
rmoore1 2006-04-21 22:53:32 +00:00
parent 2645c56b4b
commit 50c2ae4128
2 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: aslrestype2 - Long (type2) resource templates and descriptors
* $Revision: 1.49 $
* $Revision: 1.50 $
*
*****************************************************************************/
@ -2627,8 +2627,8 @@ RsDoInterruptDescriptor (
/* Save the integer and move pointer to the next one */
Rover->U32Item = (UINT32) InitializerOp->Asl.Value.Integer;
Rover = ACPI_ADD_PTR (AML_RESOURCE, &(Rover->U32Item), 4);
Rover->DwordItem = (UINT32) InitializerOp->Asl.Value.Integer;
Rover = ACPI_ADD_PTR (AML_RESOURCE, &(Rover->DwordItem), 4);
Descriptor->ExtendedIrq.InterruptCount++;
Descriptor->ExtendedIrq.ResourceLength += 4;
@ -2656,8 +2656,8 @@ RsDoInterruptDescriptor (
if (HasResSourceIndex)
{
Rover->U8Item = ResSourceIndex;
Rover = ACPI_ADD_PTR (AML_RESOURCE, &(Rover->U8Item), 1);
Rover->ByteItem = ResSourceIndex;
Rover = ACPI_ADD_PTR (AML_RESOURCE, &(Rover->ByteItem), 1);
Descriptor->ExtendedIrq.ResourceLength += 1;
}
@ -2668,7 +2668,7 @@ RsDoInterruptDescriptor (
strcpy ((char *) Rover, (char *) ResSourceString);
Rover = ACPI_ADD_PTR (
AML_RESOURCE, &(Rover->U8Item), StringLength);
AML_RESOURCE, &(Rover->ByteItem), StringLength);
Descriptor->ExtendedIrq.ResourceLength = (UINT16)
(Descriptor->ExtendedIrq.ResourceLength + StringLength);

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amlresrc.h - AML resource descriptors
* $Revision: 1.37 $
* $Revision: 1.38 $
*
*****************************************************************************/
@ -479,9 +479,9 @@ typedef union aml_resource
/* Utility overlays */
AML_RESOURCE_ADDRESS Address;
UINT32 U32Item;
UINT16 U16Item;
UINT8 U8Item;
UINT32 DwordItem;
UINT16 WordItem;
UINT8 ByteItem;
} AML_RESOURCE;