diff options
| author | Alexey Zaytsev | 2007-12-01 05:07:01 +0100 |
|---|---|---|
| committer | Alexey Zaytsev | 2008-03-02 01:15:07 +0100 |
| commit | 4006d229e50204c93c1aa04c58385ce2e66d597e (patch) | |
| tree | 1c07ed3523e40304e0c4b81aaa33c6316d1bd11a /src/arch/i386/include/bits/timer2.h | |
| parent | [DHCP] Fix RFC4390 client identifier constructions. (diff) | |
| download | ipxe-4006d229e50204c93c1aa04c58385ce2e66d597e.tar.gz ipxe-4006d229e50204c93c1aa04c58385ce2e66d597e.tar.xz ipxe-4006d229e50204c93c1aa04c58385ce2e66d597e.zip | |
Introduce the new timer subsystem.
Timer subsystem initialization code in core/timer.c
Split the BIOS and RTDSC timer drivers from i386_timer.c
Split arch/i386/firmware/pcbios/bios.c into the RTSDC
timer driver and arch/i386/core/nap.c
Split the headers properly:
include/unistd.h - delay functions to be used by the
gPXE core and drivers.
include/gpxe/timer.h - the fimer subsystem interface
to be used by the timer drivers
and currticks() to be used by
the code gPXE subsystems.
include/latch.h - removed
include/timer.h - scheduled for removal. Some driver
are using currticks, which is
only for core subsystems.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'src/arch/i386/include/bits/timer2.h')
| -rw-r--r-- | src/arch/i386/include/bits/timer2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/i386/include/bits/timer2.h b/src/arch/i386/include/bits/timer2.h new file mode 100644 index 000000000..83923b299 --- /dev/null +++ b/src/arch/i386/include/bits/timer2.h @@ -0,0 +1,8 @@ +#ifndef BITS_TIMER2_H +#define BITS_TIMER2_H + +#include <stddef.h> + +void i386_timer2_udelay(unsigned int usecs); + +#endif |
