timer2.h File Reference

Timer chip control. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
void timer2_udelay (unsigned long usecs)


Detailed Description

Timer chip control.

Definition in file timer2.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

void timer2_udelay ( unsigned long  usecs  ) 

Definition at line 82 of file timer2.c.

References load_timer2(), timer2_running(), and TIMER2_TICKS_PER_SEC.

Referenced by rdtsc_udelay(), and TIMER_INLINE().

00082                                            {
00083         load_timer2 ( ( usecs * TIMER2_TICKS_PER_SEC ) / ( 1000 * 1000 ) );
00084         while (timer2_running()) {
00085                 /* Do nothing */
00086         }
00087 }


Generated on Tue Apr 6 20:01:12 2010 for gPXE by  doxygen 1.5.7.1