[Timers] Initialise timers on first use
authorMichael Brown <mcb30@etherboot.org>
Tue, 18 Mar 2008 15:23:10 +0000 (15:23 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 18 Mar 2008 15:23:10 +0000 (15:23 +0000)
commit070cbebc26781c569e180a4a03107be2af94e58b
tree7f402cabc56e0c5ef57ee2c7b1f662a2c688a53b
parent2652abdc5f42f623ce4abf0efc117dc4f0d20474
[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()
src/core/timer.c
src/include/gpxe/timer.h