This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interrupts on PC


Nick Garnett wrote:

> Jonathan Larmour <jlarmour@redhat.com> writes:
>
> > Rafael Rodríguez Velilla wrote:
> > >
> > >    I'm experimenting a little with the PC target and I have a question.
> > >   I 'd want to install an ISR for a hardware IRQ, which vector should I
> > > use? The number of the hardware vector (for example, 1 for the keyboard)
> > > or the number in the vector table (9 for the keyboard)?
> >
> > The number in the vector table.
> >
>
> More specifically, use the values defined in pcmb_intr.h, which is
> automatically included by hal_intr.h. The mapping of external
> interrupts to vectors in eCos does not match the mapping used by DOS.

  I'll take a look at that include file. Thank you.



--
Rafael Rodríguez Velilla        rrv@tid.es
Telefónica I+D          http://www.tid.es
Telf: +34 - 91 337 4270




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]