Fix a nasty problem with the RTC.
commit7273e9a52bc787caed7fdea1df4171e25200217d
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Nov 2010 03:06:39 +0000 (9 21:06 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Nov 2010 03:06:39 +0000 (9 21:06 -0600)
treec383b02b047b06c30273c0dcb52bca345a4d3ea7
parent3a51b976d0391133acdb112d760cc251d6a7e0c3
Fix a nasty problem with the RTC.

We need to make sure that we advance time in the TestTimeSource such that it
follows unit boundaries.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
include/timelib.hpp [new file with mode: 0644]
pc/mc146818a.cpp
test/test-mc146818a.cpp
test/timelib.cpp [new file with mode: 0644]
time/test-time-source.cpp
time/timer.cpp