mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 09:01:24 +03:00
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>
This commit is contained in:
8
src/arch/i386/include/bits/timer2.h
Normal file
8
src/arch/i386/include/bits/timer2.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef BITS_TIMER2_H
|
||||
#define BITS_TIMER2_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
void i386_timer2_udelay(unsigned int usecs);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user