Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 391 → Rev 404

/SPARTAN/trunk/src/time/delay.c
38,10 → 38,9
* of microseconds (or slightly more). The delay
* is implemented as CPU calibrated active loop.
*
* @param microseconds Number of usec to sleep.
*
* @param usec Number of microseconds to sleep.
*/
void delay(__u32 microseconds)
void delay(__u32 usec)
{
pri_t pri;
49,6 → 48,6
CPU in the system. Therefore it is necessary to
cpu_priority_high() before calling the asm_delay_loop(). */
pri = cpu_priority_high();
asm_delay_loop(microseconds * CPU->delay_loop_const);
asm_delay_loop(usec * CPU->delay_loop_const);
cpu_priority_restore(pri);
}
/SPARTAN/trunk/src/time/timeout.c
90,7 → 90,7
* time microseconds (or slightly more).
*
* @param t Timeout list.
* @patam time Number of usec in the future to execute
* @param time Number of usec in the future to execute
* the handler.
* @param f Timeout handler function.
* @param arg Timeout handler argument.