projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modularize hardware access; Port to new timer interface.
[bertos.git]
/
drv
/
timer.h
diff --git
a/drv/timer.h
b/drv/timer.h
index e66ed6188cfd7157685f3ec27c09f61d87d15df0..bd7b1f7e8154cb1ef760cda37cd6b9c02e9f01dc 100755
(executable)
--- a/
drv/timer.h
+++ b/
drv/timer.h
@@
-15,6
+15,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.24 2005/04/11 19:10:28 bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
+ *#* Revision 1.23 2005/03/01 23:25:46 bernie
+ *#* Move event.h to mware/.
+ *#*
*#* Revision 1.22 2004/12/13 12:07:06 bernie
*#* DISABLE_IRQSAVE/ENABLE_IRQRESTORE: Convert to IRQ_SAVE_DISABLE/IRQ_RESTORE.
*#*
*#* Revision 1.22 2004/12/13 12:07:06 bernie
*#* DISABLE_IRQSAVE/ENABLE_IRQRESTORE: Convert to IRQ_SAVE_DISABLE/IRQ_RESTORE.
*#*
@@
-81,9
+87,9
@@
#define DRV_TIMER_H
#include <mware/list.h>
#define DRV_TIMER_H
#include <mware/list.h>
-#include <cpu.h>
-#include <compiler.h>
-#include <config.h>
+#include <c
fg/c
pu.h>
+#include <c
fg/c
ompiler.h>
+#include <c
fg/c
onfig.h>
/*! Number of timer ticks per second. */
#define TICKS_PER_SEC ((mtime_t)1000)
/*! Number of timer ticks per second. */
#define TICKS_PER_SEC ((mtime_t)1000)
@@
-99,11
+105,7
@@
extern void timer_udelay(utime_t utime);
#ifndef CONFIG_TIMER_DISABLE_EVENTS
#ifndef CONFIG_TIMER_DISABLE_EVENTS
-#if CONFIG_KERNEL
- #include <kern/event.h>
-#else
- #include <mware/event.h>
-#endif
+#include <mware/event.h>
/*!
* The timer driver supports multiple synchronous timers
/*!
* The timer driver supports multiple synchronous timers