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

From: Cyrill Gorcunov
Date: Sun Aug 10 2008 - 03:28:56 EST


[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 -
--
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/