PERFORCE change 89197 for review

Kip Macy kmacy at FreeBSD.org
Wed Jan 4 23:02:57 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=89197

Change 89197 by kmacy at kmacy:freebsd7_xen3 on 2006/01/05 07:02:44

	try to avoid premature wrapping of the counter

Affected files ...

.. //depot/projects/xen3/src/sys/i386-xen/i386-xen/clock.c#4 edit

Differences ...

==== //depot/projects/xen3/src/sys/i386-xen/i386-xen/clock.c#4 (text+ko) ====

@@ -610,10 +610,10 @@
 	struct shadow_time_info *shadow;
 	shadow = &per_cpu(shadow_time, smp_processor_id());
 
-	return (uint32_t)get_nsec_offset(shadow);
-
+	__get_time_values_from_xen();
+	
+	return (uint32_t)(processed_system_time + shadow->system_timestamp + get_nsec_offset(shadow));
 
-	
 }
 
 /*


More information about the p4-projects mailing list