Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2081 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2079
Line 34... Line 34...
34
 
34
 
35
#ifndef KERN_TIMEOUT_H_
35
#ifndef KERN_TIMEOUT_H_
36
#define KERN_TIMEOUT_H_
36
#define KERN_TIMEOUT_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <typedefs.h>
39
#include <cpu.h>
40
#include <synch/spinlock.h>
40
#include <synch/spinlock.h>
41
#include <adt/list.h>
41
#include <adt/list.h>
42
 
42
 
43
#define us2ticks(us)    ((uint64_t)(((uint32_t) (us)/(1000000/HZ))))
43
#define us2ticks(us)    ((uint64_t)(((uint32_t) (us)/(1000000/HZ))))
44
 
44