SVNews r322411

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-08-11 19:02:11 - r322411 by ian (ian)

Complete list of files affected by revision r322411:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/dev/xen/timer/timer.c  
  History   Contents   Diff   MODIFY   /head/sys/isa/rtc.h  
  History   Contents   Diff   MODIFY   /head/sys/x86/isa/atrtc.c  

Commit message:

Stop calling atrtc_set() from the xen timer clock_settime() method. That
removes the only reference to atrtc_set() from outside of atrtc.c, so make
it static.

The xen timer driver registers as a realtime clock with 1us resolution. In
the past that resulted in only the xen timer's clock_settime() getting
called, so it would call atrtc_set() to set the hardware clock as well. As
of r32090, the clock_settime() method of all registered realtime clocks gets
called, so the xen driver no longer needs to chain-call the lower-resolution
driver.

Thanks to royger@ for talking me through the xen stuff, and for testing.

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 15 ms, 3 files printed. Current time is 2017-12-17 08:12:04. All times are in UTC/GMT.