From a1572e0ab0f5fab9a1f0185ded593bec811aa175 Mon Sep 17 00:00:00 2001 From: Alexey Zaytsev Date: Sun, 2 Mar 2008 03:41:10 +0300 Subject: Modify gPXE core and drivers to work with the new timer subsystem Signed-off-by: Alexey Zaytsev --- src/include/etherboot.h | 2 +- src/include/gpxe/dhcp.h | 1 - src/include/gpxe/tcp.h | 1 - src/include/timer.h | 27 --------------------------- 4 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 src/include/timer.h (limited to 'src/include') diff --git a/src/include/etherboot.h b/src/include/etherboot.h index 8d658194f..2a465954f 100644 --- a/src/include/etherboot.h +++ b/src/include/etherboot.h @@ -12,8 +12,8 @@ #include #include #include -#include #include +#include #include #include diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 9a9ba7484..6db0e026c 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -12,7 +12,6 @@ #include #include #include -#include struct net_device; struct job_interface; diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index e2753120c..264ec29b4 100644 --- a/src/include/gpxe/tcp.h +++ b/src/include/gpxe/tcp.h @@ -9,7 +9,6 @@ * */ -#include "latch.h" #include /** 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 -/* -#warning Please fix me. I'm abusing the deprecated include/timer.h -*/ -#include - -/* 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 - -- cgit v1.2.3-55-g7522