From 4006d229e50204c93c1aa04c58385ce2e66d597e Mon Sep 17 00:00:00 2001 From: Alexey Zaytsev Date: Sat, 1 Dec 2007 07:07:01 +0300 Subject: 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 --- src/core/config.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/core/config.c') diff --git a/src/core/config.c b/src/core/config.c index d5accecf..f3e17b62 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -74,6 +74,17 @@ REQUIRE_OBJECT ( pc_kbd ); REQUIRE_OBJECT ( syslog ); #endif +/* + * Timers + */ + +#ifdef TIMER_BIOS +REQUIRE_OBJECT ( timer_bios ); +#endif + +#ifdef TIMER_RTDSC +REQUIRE_OBJECT ( timer_rtdsc ); +#endif /* * Drag in all requested protocols * -- cgit v1.2.3-55-g7522