Skip to contentSkip to conversation

/dev/rtc, regular interrupts

Linux-ia64 Peter Chubb 2 participants 2 messages Nov 22, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
Is there a way to get regular high-resolution timer interrupts
from 2.5.X linux on itanium or itanium2, similar to what one would be able to get from /dev/rtc using the RTC_UIE_ON ioctl on an IA32 system?

Peter C

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb

Peter> Hi, Is there a way to get regular high-resolution timer Peter> interrupts from 2.5.X linux on itanium or itanium2, similar Peter> to what one would be able to get from /dev/rtc using the Peter> RTC_UIE_ON ioctl on an IA32 system?

ia64 is legacy-free so there is no guarantee that the old timer chip is there (it isn't on hp's zx1-platforms, for example). The EFI real time interface doesn't provide for fine-grained timers, but the high precision event timer (HPET) does. However, HPET is not widely implemented yet in today's hardware. Depending on what you want to do, the PMU could also be used as a high-precision timer.

	--david