Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Thor Lancelot Simon <tls@netbsd.org>
List: source-changes
Date: 09/23/2004 02:24:22
Module Name:	src
Committed By:	tls
Date:		Thu Sep 23 02:24:22 UTC 2004

Modified Files:
	src/sys/arch/xen/conf: GENERIC XEN
	src/sys/arch/xen/i386: locore.S
	src/sys/arch/xen/xen: clock.c

Log Message:
Changes from Christian Limpach to improve timekeeping on NetBSD/xen by
actually adjusting the time correctly (calling hardclock as needed, not
just blindly every time Xen schedules us) based on Xen's idea of the
time in the shared page.

Xen source repo change info:
 ChangeSet
   2004/09/22 13:47:22+01:00 cl349@freefall.cl.cam.ac.uk
   Fix time.

 netbsd-2.0-xen-sparse/sys/arch/xen/xen/clock.c
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +28 -3
   Don't call hardclock on spurious timer interrupt and call hardclock
   for missed interrupts.

 netbsd-2.0-xen-sparse/sys/arch/xen/conf/XEN
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +0 -1
   Don't need custom HZ value any longer.

: ----------------------------------------------------------------------


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/xen/conf/GENERIC
cvs rdiff -r1.12 -r1.13 src/sys/arch/xen/conf/XEN
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/i386/locore.S
cvs rdiff -r1.6 -r1.7 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.