From 6731665740417f7b4a740848f58d3dcdec987a6f Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Thu, 3 Jun 2004 02:12:52 +0000 Subject: Add port for qemu 0.5.5 snapshot of 04/05/30, A fast CPU emulator environment. PR: 67506 Submitted by: Juergen Lock --- emulators/qemu/files/patch-be | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 emulators/qemu/files/patch-be (limited to 'emulators/qemu/files/patch-be') diff --git a/emulators/qemu/files/patch-be b/emulators/qemu/files/patch-be new file mode 100644 index 000000000000..6c9a95892ade --- /dev/null +++ b/emulators/qemu/files/patch-be @@ -0,0 +1,12 @@ +Index: qemu/vl.c +@@ -666,8 +667,8 @@ + { + struct timeval r; + if (!gettimeofday(&r, NULL)) { +- return ((CLK_TCK * 1000LL) * (int64_t)r.tv_sec +- + ((int64_t)r.tv_usec * CLK_TCK) / 1000) / timer_freq; ++ return ((timer_freq * 1000LL) * (int64_t)r.tv_sec ++ + ((int64_t)r.tv_usec * timer_freq) / 1000) / timer_freq; + } + } + #else -- cgit v1.2.3