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

DragonFly-2.3.0.834.gbea6e master sys/dev/acpica5 Makefile acpi_hpet.c acpi_hpet.h sys/sys systimer.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Apr 2009 07:51:16 -0700 (PDT)

commit bea6e27816f976132ff7ad7446c0e90406378f9b
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Apr 29 22:27:27 2009 +0800

    Add HPET cputimer.
    
    HPET - High Precision Event Timers.  Only main counter is used
    currently.  This cputimer should be faster than ACPI-fast24 and
    ACPI-safe, so give it highest priority.
    
    HPET is not enabled by default.  You could add "hpet" to
    debug.acpi.enabled to enable it.
    
    Obtained-from: FreeBSD
    Submitted-by: Dmitry Komissaroff <aunoor@gmail.com> w/ mod from me
    
    Local change:
    Try mapping 0x100 bytes HPET register space, if broken ACPI tables
    are encountered (like one of my testing box); 0x100 is large enough
    to cover the main counter.

Summary of changes:
 sys/dev/acpica5/Makefile    |    2 +-
 sys/dev/acpica5/acpi_hpet.c |  380 +++++++++++++++++++++++++++++++++++++++++++
 sys/dev/acpica5/acpi_hpet.h |   66 ++++++++
 sys/sys/systimer.h          |    2 +
 4 files changed, 449 insertions(+), 1 deletions(-)
 create mode 100644 sys/dev/acpica5/acpi_hpet.c
 create mode 100644 sys/dev/acpica5/acpi_hpet.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bea6e27816f976132ff7ad7446c0e90406378f9b


-- 
DragonFly BSD source repository



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