Use plain C in timer_rdtsc for division instead of inline asssembly.
authorAlexey Zaytsev <alexey.zaytsev@gmail.com>
Thu, 6 Mar 2008 13:06:58 +0000 (16:06 +0300)
committerAlexey Zaytsev <zaytsev.a@protei.ru>
Thu, 6 Mar 2008 13:06:58 +0000 (16:06 +0300)
commit8de54ef9aa9817d878ad6a7ddef29e92615a5963
tree0202077f13ad1ea6863ee62fbbce4bb6c25809a9
parent4704abbc5075c13230e00dd30b559c6e8ca07dbb
Use plain C in timer_rdtsc for division instead of inline asssembly.

This also fixes a bug in rdtsc_currticks when the result did not fix in %eax

Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
src/arch/i386/drivers/timer_rdtsc.c