{
if (ObjDesc->CommonField.BitLength >= ACPI_INTEGER_BIT_SIZE)
{
/* * The field is large enough to hold the maximum integer, so we can * never overflow it. */return (FALSE);
}
if (Value >= ((UINT64) 1 << ObjDesc->CommonField.BitLength))
{
/* * The Value is larger than the maximum value that can fit into * the register. */return (TRUE);
}
/* The Value will fit into the field with no truncation */return (FALSE);
}
Generated on Tue May 22 2012 05:25:27 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.