diff options
| author | Alexey Zaytsev | 2008-03-02 01:41:10 +0100 |
|---|---|---|
| committer | Alexey Zaytsev | 2008-03-02 01:41:10 +0100 |
| commit | a1572e0ab0f5fab9a1f0185ded593bec811aa175 (patch) | |
| tree | e407d6d0f2b8e93950216268ec0198fff865c6a0 /src/include/timer.h | |
| parent | Introduce the new timer subsystem. (diff) | |
| download | ipxe-a1572e0ab0f5fab9a1f0185ded593bec811aa175.tar.gz ipxe-a1572e0ab0f5fab9a1f0185ded593bec811aa175.tar.xz ipxe-a1572e0ab0f5fab9a1f0185ded593bec811aa175.zip | |
Modify gPXE core and drivers to work with the new timer subsystem
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'src/include/timer.h')
| -rw-r--r-- | src/include/timer.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/include/timer.h b/src/include/timer.h deleted file mode 100644 index cd1b2821a..000000000 --- a/src/include/timer.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef TIMER_H -#define TIMER_H - -/* - * This file should be removed as soon as there are no - * currticks() abusers. - */ - -#include <stddef.h> -/* -#warning Please fix me. I'm abusing the deprecated include/timer.h -*/ -#include <unistd.h> - -/* Duplicates include/gpxe/timer.h */ -typedef uint32_t tick_t; - -#define MSECS_IN_SEC (1000) -#define USECS_IN_SEC (1000*1000) -#define USECS_IN_MSEC (1000) - -#define TICKS_PER_SEC USECS_IN_SEC - -tick_t currticks(void); - -#endif - |
