This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Finding Interrupt Vector Number for PIT
- From: AbdullahKhateeb Khan <khateeb4u at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 11 Dec 2005 20:26:39 -0800 (PST)
- Subject: [ECOS] Finding Interrupt Vector Number for PIT
I am using Intel P-4 Desktop computer as a target. My
host platform is an i386-pc (window based)
#define PC_PIT_CONTROL (0x43)
#define PC_PIT_CLOCK_0 (0x40)
#define PC_PIT_CLOCK_1 (0x41)
#define PC_PIT_CLOCK_2 (0x42)
The above mentioned piece of code is taken from
"var_intr.h". It shows that Programmable Interval
Timer (PIT) includes three seperate timers. The
addresses 0x40, 0x41, 0x42, 0x43 are the I/O addresses
used to program these timers. I know how to program
these Timers in different modes.
To program any of these timers to generate interrupt
and to map an ISR at its interrupt i need to know the
interrupt vector number where i have to store the
address of ISR.
-How can i find the interrupt vector number of
PC_PIT_CLOCK_0?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss