DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 src/sys/i386/isa src/sys/kern src/sys/sys

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Nov 2004 12:25:13 -0800 (PST)

dillon      2004/11/20 12:25:13 PST

DragonFly src repository

  Modified files:
    sys/i386/i386        vm86.c 
    sys/i386/isa         clock.c 
    sys/kern             kern_clock.c kern_systimer.c 
    sys/sys              systimer.h time.h 
  Add code to the BIOS VM86 emulator to detect writes to the 8254.  If a
  write is detected the 8254 is reset after the bios call returns and the
  event is reported.  Some bioses, in particular video bioses, uses timer 2
  for timing things.  We need timer 2 for our master clock.
  Remove restoreclocks().  This was causing gd_cpuclock_base to reverse index
  and jump the time ahead an hour with a flurry of hardclock interrupts.
  Introduce a new systimer API call, systimer_init_periodic_nq(), which
  installs a non-queued periodic systimer.  Non-queued means that if multiple
  events built-up (due to an 8254 glitch, sleep, or other event), only one
  event will be reported.
  This should fix the BIOS/8254 glitching, the 'hour jump' problem, and
  hopefully other timer jumping issues as well.
  Bugs-reported-by: Andreas Hauser <andy@xxxxxxxxxxxxxxx>,
  		Jonathon McKitrick <jcm@xxxxxxxxxxxxxxxxx>,
  		and others
  Revision  Changes    Path
  1.12      +93 -22    src/sys/i386/i386/vm86.c
  1.20      +6 -5      src/sys/i386/isa/clock.c
  1.27      +10 -33    src/sys/kern/kern_clock.c
  1.5       +30 -1     src/sys/kern/kern_systimer.c
  1.3       +2 -0      src/sys/sys/systimer.h
  1.10      +0 -1      src/sys/sys/time.h


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]