mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 10:32:52 +03:00
[Timers] Initialise timers on first use
Timers are sometimes required before the call to initialise(), so we cannot rely on initialise() to set up the timers before use. Also fix a potential integer overflow issue in generic_currticks_udelay()
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define GPXE_TIMER_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <gpxe/tables.h>
|
||||
|
||||
typedef unsigned long tick_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user