DragonFly-2.3.0.877.g76c58 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
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun May 3 04:36:13 PDT 2009
commit 76c58571c167a68b12478dcff753f0a639e381da
Author: Sepherosa Ziehau <sephe at 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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/76c58571c167a68b12478dcff753f0a639e381da
--
DragonFly BSD source repository
More information about the Commits
mailing list