Unify pmtimer_read() and pittimer_read() code.
commiteac11944019ca331db860445ff24455e647662a0
authorKevin O'Connor <kevin@koconnor.net>
Sat, 20 Jul 2013 23:09:07 +0000 (20 19:09 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 21 Jul 2013 18:11:01 +0000 (21 14:11 -0400)
treecd6dc70456bdfd05ce20388b6e7a8652b50a6d4f
parent9999754ff64ed4cde89433af3d5d41fdf653d53d
Unify pmtimer_read() and pittimer_read() code.

These two functions both need to add in extra high bits to their
timers, and this code is the bulk of these functions.  Factor out the
duplicate code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/timer.c