Subversion Repositories freemyipod

Rev

Rev 85 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 85 Rev 111
Line 30... Line 30...
30
#define TIME_AFTER(a,b)         ((long)(b) - (long)(a) < 0)
30
#define TIME_AFTER(a,b)         ((long)(b) - (long)(a) < 0)
31
#define TIME_BEFORE(a,b)        TIME_AFTER(b,a)
31
#define TIME_BEFORE(a,b)        TIME_AFTER(b,a)
32
#define TIMEOUT_EXPIRED(a,b)    TIME_AFTER(USEC_TIMER,a + b)
32
#define TIMEOUT_EXPIRED(a,b)    TIME_AFTER(USEC_TIMER,a + b)
33
 
33
 
34
 
34
 
-
 
35
uint64_t read_native_timer();
-
 
36
#define NATIVE_TIMER (read_native_timer())
35
uint32_t read_usec_timer();
37
uint32_t read_usec_timer();
36
#define USEC_TIMER (read_usec_timer())
38
#define USEC_TIMER (read_usec_timer())
37
 
39
 
38
 
40
 
39
static inline void udelay(long duration)  /* in usec steps */
41
static inline void udelay(long duration)  /* in usec steps */