mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
21 lines
301 B
C
21 lines
301 B
C
/*
|
|
* System time keeping definitions
|
|
*
|
|
* Copyright (C) 2007 Bahadir Balban
|
|
*/
|
|
|
|
#ifndef __GENERIC_TIME_H__
|
|
#define __GENERIC_TIME_H__
|
|
|
|
/* Used by posix systems */
|
|
struct timeval {
|
|
int tv_sec;
|
|
int tv_usec;
|
|
};
|
|
|
|
extern volatile u32 jiffies;
|
|
|
|
int do_timer_irq(void);
|
|
|
|
#endif /* __GENERIC_TIME_H__ */
|