Generalize timer based delay code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 23 May 2010 15:38:53 +0000 (11:38 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 23 May 2010 15:38:53 +0000 (11:38 -0400)
commitb5cc2ca5d06b4982139afd1205a0390944c60c7d
tree878aa59ad1e9adaf1fe30d3017e0f8966068bca8
parent144817be2de1e0f51ad9e138c72660932a4ef07d
Generalize timer based delay code.

Move the timer based counting code in serial.c to clock.c.

Rework the interface to make it similar to the tsc based timers.
src/clock.c
src/serial.c
src/util.h