Shift CPU TSC down to reduce need for 64bit variables.
commit23c14a16392922f0706b97f38f61c5d2e55af81a
authorKevin O'Connor <kevin@koconnor.net>
Sat, 20 Jul 2013 21:06:51 +0000 (20 17:06 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 21 Jul 2013 18:09:21 +0000 (21 14:09 -0400)
tree00b8706493c453f1970a73c14232214b1ba5b9ae
parent0edf1d6bcc8026bca8f1fb5ebf8bcfd3795be151
Shift CPU TSC down to reduce need for 64bit variables.

The time-stamp-counter has a higher accuracy than is needed in
SeaBIOS.  Down shift it to ensure it safely fits in a 32bit variable.

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