Re: Programming the apic when no external to cpu timer is present?

From: Cyrill Gorcunov
Date: Sun Aug 10 2008 - 03:32:24 EST


[Cyrill Gorcunov - Sun, Aug 10, 2008 at 11:28:38AM +0400]
| [Bradley Hanna - Sat, Aug 09, 2008 at 08:19:43PM -0400]
| | I am working with an embedded testing board that has no timer external
| | to the cpu other than an rtc. How does linux go about programming the
| | local cpu timer (apic) to raise hardware interrupts?
| |
| | thanks for your patience,
| |
| | brahan
| |
|
| you could take a look on apic_(32|64).c. Here is the
| function you need I hope - setup_APIC_timer
|
| - Cyrill -

oops - it should be lapic_timer_setup :)

- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/