Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2006 21:44:20 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/alpha clock.c
Message-ID:  <200603072144.k27LiLhx036480@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-03-07 21:44:20 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      clock.c 
  Log:
  - Simplify the i8254 timecounter for the alpha since we don't actually have
    an interrupt handler for the i8254.  (Our clock interrupts come from
    elsewhere.)  Instead, use the same algo that i386 uses when the lapic
    timer is in use.  This lets us remove a lot of cruft that tried to handle
    the i8254 interrupts that we weren't even using or setting up a handler
    for.
  - G/C a bunch of unused cruft while I'm here.
  - Fix the code to not use the rpcc timecounter (similar to TSC) on SMP
    machines to only disable that timecounter if more than one CPU is in
    use by the kernel.  Previously, a UP kernel on a machine with multiple
    CPUs would needlessly disable this timecounter.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.43      +12 -97    src/sys/alpha/alpha/clock.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603072144.k27LiLhx036480>