the following patch was just integrated into master: commit 7e2ee67a5b61e66390413d13c7ca62daad272f02 Author: Stefan Reinauer reinauer@chromium.org Date: Thu Jul 26 15:15:38 2012 -0700
x86emu: Add an RDTSC implementation to the x86 emulator
This instruction is being used in some debug VBIOSes. This implementation doesn't even try to be accurate. Instead, it just increments the counter by a fixed amount every time an rdtsc instruction in encountered, to avoid divides by zero.
Imported from: http://cgit.freedesktop.org/xorg/xserver/commit/?id=c4b7e9d1c16797c3e4b1200b...
Change-Id: I8fba1a060c57ccb7bbd44aa321dd349bc56bf574 Signed-off-by: Stefan Reinauer reinauer@google.com
Reviewed-By: Patrick Georgi patrick@georgi-clan.de at Fri Jul 27 14:41:20 2012, giving +2 See http://review.coreboot.org/1362 for details.
-gerrit