Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 06/25/2005 18:44:59
Module Name: src
Committed By: bouyer
Date: Sat Jun 25 18:44:59 UTC 2005
Modified Files:
src/sys/arch/xen/xen: clock.c
Log Message:
Use the time provided by the hypervisor instead of our global time variable
for xen_microtime(). This match more closely what is done on a real i386
(where we read the RTC), and seems to fix gettimeofday() sometime going
backward by several seconds for me.
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/xen/xen/clock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.