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

DragonFly- master sys/platform/pc32/apic mpapic.c sys/platform/pc32/isa clock.c sys/platform/pc64/isa clock.c sys/platform/vkernel/platform systimer.c sys/sys systimer.h

From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 May 2009 04:35:06 -0700 (PDT)

commit 76c58571c167a68b12478dcff753f0a639e381da
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun May 3 15:36:56 2009 +0800

    Allow one shot timer to be switched on a running system between i8254 and
    lapic timer:
    - Always register "clk" interrupt.
    - Add cputimer_intr_switch(), which could switch one shot timer between
      i8254 and lapic timer on a running system.  It could be used to select
      a proper one shot timer duing ACPI C3 transition:
      e.g. ->C3 use i8254, C3-> use lapic timer
    - Add sysctl node hw.cputimer_intr_type to test cputimer_intr_switch().

Summary of changes:
 sys/platform/pc32/apic/mpapic.c          |   34 +++++++++++++++++++-
 sys/platform/pc32/isa/clock.c            |   52 +++++++++++++++++++++++++++---
 sys/platform/pc64/isa/clock.c            |    5 +++
 sys/platform/vkernel/platform/systimer.c |    5 +++
 sys/sys/systimer.h                       |    6 +++
 5 files changed, 96 insertions(+), 6 deletions(-)


DragonFly BSD source repository

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