FreeBSD/sys/contrib/dev/acpica/components/executer/exsystem.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiExSystemDoStall
 *
 * PARAMETERS:  HowLong         - The amount of time to stall,
 *                                in microseconds
 *
 * RETURN:      Status
 *
 * DESCRIPTION: Suspend running thread for specified amount of time.
 *              Note: ACPI specification requires that Stall() does not
 *              relinquish the processor, and delays longer than 100 usec
 *              should use Sleep() instead. We allow stalls up to 255 usec
 *              for compatibility with other interpreters and existing BIOSs.
 *
 ******************************************************************************/
AcpiExSystemDoStall
PARAMETERS:  HowLong         - The amount of time to stall,
in microseconds

Status

Suspend running thread for specified amount of time.
Note: ACPI specification requires that Stall() does not
relinquish the processor, and delays longer than 100 usec
should use Sleep() instead. We allow stalls up to 255 usec
for compatibility with other interpreters and existing BIOSs.
AcpiExSystemDoStall PARAMETERS : HowLong - The amount of time to stall in microseconds Status Suspend running thread for specified amount of time . Note : ACPI specification requires that Stall () does not relinquish the processor and delays longer than 100 usec should use Sleep () instead . We allow stalls up to 255 usec for compatibility with other interpreters and existing BIOSs .
ACPI_STATUS
AcpiExSystemDoStall (
    UINT32                  HowLong)
{
    ACPI_STATUS             Status = AE_OK;
    ACPI_FUNCTION_ENTRY ();
    if (HowLong > 255) 
    {
        ACPI_ERROR ((AE_INFO,
            "Time parameter is too large (%u)", HowLong));
        Status = AE_AML_OPERAND_VALUE;
    }
    else
    {
        AcpiOsStall (HowLong);
    }
    return (Status);
}
ACPI_STATUS AcpiExSystemDoStall ( UINT32 HowLong ) { ACPI_STATUS Status = AE_OK ; ACPI_FUNCTION_ENTRY ( ) ; if ( HowLong > 255 ) { ACPI_ERROR ( ( AE_INFO , " " , HowLong ) ) ; Status = AE_AML_OPERAND_VALUE ; } else { AcpiOsStall ( HowLong ) ; } return ( Status ) ; }
FUNCTION:    AcpiExSystemDoStall
 PARAMETERS:  HowLong         - The amount of time to stall,
                                in microseconds
FUNCTION : AcpiExSystemDoStall PARAMETERS : HowLong - The amount of time to stall in microseconds
/* 255 microseconds */ /*
         * Longer than 255 usec, this is an error
         *
         * (ACPI specifies 100 usec as max, but this gives some slack in
         * order to support existing BIOSs)
         */