ddk: update

git-svn-id: svn://kolibrios.org@4125 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2013-10-29 07:49:21 +00:00
parent 2b454bada8
commit 5527aca48a
5 changed files with 44 additions and 12 deletions

View File

@@ -273,10 +273,17 @@ struct timer_list {
void (*function)(unsigned long);
unsigned long data;
// struct tvec_base *base;
u32 handle;
};
#define setup_timer(_timer, _fn, _data) \
do { \
(_timer)->function = (_fn); \
(_timer)->data = (_data); \
(_timer)->handle = 0; \
} while (0)
struct timespec {
long tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */