diff options
author | njl <njl@FreeBSD.org> | 2003-04-29 18:39:29 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-04-29 18:39:29 +0000 |
commit | 0f552762e45d65746b7b1ee44d8ca1b52bf83450 (patch) | |
tree | 4f870813153015b497486f4e5b8eaf0bb08c4bad /sys/contrib/dev/acpica/hwtimer.c | |
parent | 2b17a8d498a3e4598c19121ab1fad3e7ced2c699 (diff) | |
download | FreeBSD-src-0f552762e45d65746b7b1ee44d8ca1b52bf83450.zip FreeBSD-src-0f552762e45d65746b7b1ee44d8ca1b52bf83450.tar.gz |
Import of Intel ACPI 20030228 vendor distribution
Diffstat (limited to 'sys/contrib/dev/acpica/hwtimer.c')
-rw-r--r-- | sys/contrib/dev/acpica/hwtimer.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/contrib/dev/acpica/hwtimer.c b/sys/contrib/dev/acpica/hwtimer.c index d7fe8e1..92267a6 100644 --- a/sys/contrib/dev/acpica/hwtimer.c +++ b/sys/contrib/dev/acpica/hwtimer.c @@ -2,7 +2,7 @@ /****************************************************************************** * * Name: hwtimer.c - ACPI Power Management Timer Interface - * $Revision: 21 $ + * $Revision: 24 $ * *****************************************************************************/ @@ -10,7 +10,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp. * All rights reserved. * * 2. License @@ -210,10 +210,13 @@ AcpiGetTimer ( * transitions (unlike many CPU timestamp counters) -- making it * a versatile and accurate timer. * - * Note that this function accomodates only a single timer + * Note that this function accommodates only a single timer * rollover. Thus for 24-bit timers, this function should only * be used for calculating durations less than ~4.6 seconds - * (~20 hours for 32-bit timers). + * (~20 minutes for 32-bit timers) -- calculations below + * + * 2**24 Ticks / 3,600,000 Ticks/Sec = 4.66 sec + * 2**32 Ticks / 3,600,000 Ticks/Sec = 1193 sec or 19.88 minutes * ******************************************************************************/ |