55c55
< static ACPI_INLINE void
---
> static void
60c60,61
< UINT64 Address);
---
> UINT64 Address,
> char *RegisterName);
205c206
< static ACPI_INLINE void
---
> static void
210c211,212
< UINT64 Address)
---
> UINT64 Address,
> char *RegisterName)
211a214
> UINT8 BitWidth;
212a216,230
>
> /* Bit width field in the GAS is only one byte long, 255 max */
>
> BitWidth = (UINT8) (ByteWidth * 8);
>
> if (ByteWidth > 31) /* (31*8)=248 */
> {
> ACPI_ERROR ((AE_INFO,
> "%s - 32-bit FADT register is too long (%u bytes, %u bits) "
> "to convert to GAS struct - 255 bits max, truncating",
> RegisterName, ByteWidth, (ByteWidth * 8)));
>
> BitWidth = 255;
> }
>
222c240
< GenericAddress->BitWidth = (UINT8) ACPI_MUL_8 (ByteWidth);
---
> GenericAddress->BitWidth = BitWidth;
487c505
< (UINT64) Address32);
---
> (UINT64) Address32, FadtInfoTable[i].Name);
703c721,722
< (FadtPmInfoTable[i].RegisterNum * Pm1RegisterByteWidth));
---
> (FadtPmInfoTable[i].RegisterNum * Pm1RegisterByteWidth),
> "PmRegisters");
< static ACPI_INLINE void
---
> static void
60c60,61
< UINT64 Address);
---
> UINT64 Address,
> char *RegisterName);
205c206
< static ACPI_INLINE void
---
> static void
210c211,212
< UINT64 Address)
---
> UINT64 Address,
> char *RegisterName)
211a214
> UINT8 BitWidth;
212a216,230
>
> /* Bit width field in the GAS is only one byte long, 255 max */
>
> BitWidth = (UINT8) (ByteWidth * 8);
>
> if (ByteWidth > 31) /* (31*8)=248 */
> {
> ACPI_ERROR ((AE_INFO,
> "%s - 32-bit FADT register is too long (%u bytes, %u bits) "
> "to convert to GAS struct - 255 bits max, truncating",
> RegisterName, ByteWidth, (ByteWidth * 8)));
>
> BitWidth = 255;
> }
>
222c240
< GenericAddress->BitWidth = (UINT8) ACPI_MUL_8 (ByteWidth);
---
> GenericAddress->BitWidth = BitWidth;
487c505
< (UINT64) Address32);
---
> (UINT64) Address32, FadtInfoTable[i].Name);
703c721,722
< (FadtPmInfoTable[i].RegisterNum * Pm1RegisterByteWidth));
---
> (FadtPmInfoTable[i].RegisterNum * Pm1RegisterByteWidth),
> "PmRegisters");