Add hpet(4).

This commit is contained in:
jruoho 2010-08-06 16:42:31 +00:00
parent f40b256f09
commit ee62bcfb03
3 changed files with 82 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1231 2010/08/05 17:31:11 jruoho Exp $
# $NetBSD: mi,v 1.1232 2010/08/06 16:42:31 jruoho Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -1734,6 +1734,7 @@
./usr/share/man/cat4/x68k/vs.0 man-sys-catman .cat
./usr/share/man/cat4/x86/amdpcib.0 man-sys-catman .cat
./usr/share/man/cat4/x86/balloon.0 man-sys-catman .cat
./usr/share/man/cat4/x86/hpet.0 man-sys-catman .cat
./usr/share/man/cat4/xbox.0 man-sys-catman .cat
./usr/share/man/cat4/xge.0 man-sys-catman .cat
./usr/share/man/cat4/xi.0 man-sys-catman .cat
@ -4330,6 +4331,7 @@
./usr/share/man/html4/x68k/vs.html man-sys-htmlman html
./usr/share/man/html4/x86/amdpcib.html man-sys-htmlman html
./usr/share/man/html4/x86/balloon.html man-sys-htmlman html
./usr/share/man/html4/x86/hpet.html man-sys-htmlman html
./usr/share/man/html4/xbox.html man-sys-htmlman html
./usr/share/man/html4/xge.html man-sys-htmlman html
./usr/share/man/html4/xi.html man-sys-htmlman html
@ -6864,6 +6866,7 @@
./usr/share/man/man4/x68k/vs.4 man-sys-man .man
./usr/share/man/man4/x86/amdpcib.4 man-sys-man .man
./usr/share/man/man4/x86/balloon.4 man-sys-man .man
./usr/share/man/man4/x86/hpet.4 man-sys-man .man
./usr/share/man/man4/xbox.4 man-sys-man .man
./usr/share/man/man4/xge.4 man-sys-man .man
./usr/share/man/man4/xi.4 man-sys-man .man

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2010/08/05 04:58:27 jruoho Exp $
# $NetBSD: Makefile,v 1.3 2010/08/06 16:42:31 jruoho Exp $
MAN= amdpcib.4 balloon.4
MAN= amdpcib.4 balloon.4 hpet.4
MANSUBDIR=/x86

View File

@ -0,0 +1,76 @@
.\" $NetBSD: hpet.4,v 1.1 2010/08/06 16:42:31 jruoho Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Neither the name of the author nor the names of any
.\" contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 6, 2010
.Dt HPET 4 x86
.Os
.Sh NAME
.Nm hpet
.Nd High Precision Event Timer
.Sh SYNOPSIS
.Cd "hpet* at acpi?"
.Cd "hpet* at amdpcib?"
.Cd "hpet* at ichlpcib?"
.Sh DESCRIPTION
The
.Nm
driver supports High Precision Event Timers
.Pq Tn HPETs .
The
.Tn HPET
architecture defines one main 64-bit counter and several
additional timers with variable width.
The minimum clock frequency of the main timecounter is 10 MHz,
but much higher rates are common.
The additional 32 or 64 -bit parts are typically accessible via
.Tn MMIO
that is set by the system
.Tn BIOS
through
.Tn ACPI .
.Pp
As a
.Tn HPET
can provide higher interrupt rates than a
.Tn RTC
or
.Xr attimer 4 ,
multimedia is one typical application context.
The interrupt logic is configurable through
.Tn I/O
.Tn APIC ,
but a legacy mode is provided for older systems.
.Sh SEE ALSO
.Xr acpi 4 ,
.Xr attimer 4 ,
.Xr timecounter 9
.Rs
.%A Intel Corporation
.%T IA-PC HPET (High Precision Event Timers) Specification
.%N Revision 1.0a
.%D October, 2004
.%U http://www.intel.com/hardwaredesign/hpetspec_1.pdf
.Re