ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/sys/contrib/dev/acpica/components/executer/exfldio.c
(Generate patch)

Comparing trunk/sys/contrib/dev/acpica/components/executer/exfldio.c (file contents):
Revision 12107 by laffer1, Mon May 28 19:13:05 2018 UTC vs.
Revision 12108 by laffer1, Sun Oct 21 15:50:05 2018 UTC

# Line 947 | Line 947 | AcpiExInsertIntoField (
947  
948      AccessBitWidth = ACPI_MUL_8 (ObjDesc->CommonField.AccessByteWidth);
949  
950 <    /*
951 <     * Create the bitmasks used for bit insertion.
952 <     * Note: This if/else is used to bypass compiler differences with the
953 <     * shift operator
954 <     */
955 <    if (AccessBitWidth == ACPI_INTEGER_BIT_SIZE)
956 <    {
957 <        WidthMask = ACPI_UINT64_MAX;
958 <    }
959 <    else
960 <    {
961 <        WidthMask = ACPI_MASK_BITS_ABOVE (AccessBitWidth);
962 <    }
950 >    /* Create the bitmasks used for bit insertion */
951  
952 +    WidthMask = ACPI_MASK_BITS_ABOVE_64 (AccessBitWidth);
953      Mask = WidthMask &
954          ACPI_MASK_BITS_BELOW (ObjDesc->CommonField.StartFieldBitOffset);
955  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines