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/core | |
| 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/core')
| -rw-r--r-- | src/core/getkey.c | 2 | ||||
| -rw-r--r-- | src/core/misc.c | 2 | ||||
| -rw-r--r-- | src/core/random.c | 2 | ||||
| -rw-r--r-- | src/core/serial.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/getkey.c b/src/core/getkey.c index 71ec6cc1b..1551cf37c 100644 --- a/src/core/getkey.c +++ b/src/core/getkey.c @@ -17,9 +17,9 @@ */ #include <console.h> -#include <latch.h> #include <gpxe/process.h> #include <gpxe/keys.h> +#include <gpxe/timer.h> /** @file * diff --git a/src/core/misc.c b/src/core/misc.c index fcf0aeab3..a54f5a108 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -4,8 +4,8 @@ MISC Support Routines #include <stdlib.h> #include <byteswap.h> -#include <latch.h> #include <gpxe/in.h> +#include <gpxe/timer.h> /************************************************************************** INET_ATON - Convert an ascii x.x.x.x to binary form diff --git a/src/core/random.c b/src/core/random.c index e4a70d434..d34e763a6 100644 --- a/src/core/random.c +++ b/src/core/random.c @@ -5,7 +5,7 @@ */ #include <stdlib.h> -#include <latch.h> +#include <gpxe/timer.h> static int32_t rnd_seed = 0; diff --git a/src/core/serial.c b/src/core/serial.c index f325bc45b..f6d0ecbb9 100644 --- a/src/core/serial.c +++ b/src/core/serial.c @@ -15,7 +15,7 @@ #include "console.h" #include <gpxe/init.h> #include "io.h" -#include "timer.h" +#include <unistd.h> #include "config/serial.h" /* Set default values if none specified */ |
