login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
28
Re: mmap over HPET - 32 bit wrap arround
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Lee Revell <rlrevell@...>
To: Raz <raziebe@...>
Cc: Linux Kernel <linux-kernel@...>
Subject:
Re: mmap over HPET - 32 bit wrap arround
Date: Wednesday, May 28, 2008 - 7:57 pm
On Wed, May 28, 2008 at 6:19 PM, Raz <raziebe@gmail.com> wrote:
quoted text
> I am wondering wether someone can explain how hpet behaves. The bellow > is a short program that reads from a mmaped /dev/hpet the time. I am > running it and it looks that afer ~296 seconds the counter resets . I > AM RUNNING 64bi KERNEL(2.6.18-8.el5) and reading a 64BIT VARIABLE. > my hpet is 14MHZ, so I am guessing a 32bit wraparound ( ~296 * 14Mhz > ) = MAX_INT . but why ? >
HPET counter can be either 32 or 64 bit. Check COUNT_SIZE_CAP.
http://www.intel.com/hardwaredesign/hpetspec_1.pdf
Lee --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
mmap over HPET - 32 bit wrap arround
, Raz
, (Wed May 28, 6:19 pm)
Re: mmap over HPET - 32 bit wrap arround
, Lee Revell
, (Wed May 28, 7:57 pm)
Re: mmap over HPET - 32 bit wrap arround
, Raz
, (Sat May 31, 2:20 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Faik Uygur
Re: Linux 2.6.21-rc1
pageexec
Re: [stable] Linux 2.6.25.10
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
9 users
and
877 guests
online.
Online users
strcmp
donnamarie007
Kedar Sovani
summerspring
aussienewlin
officetoynerd
powerplatecdho
autoinsurancsd
summerspring
Syndicate