This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: cyg_drv_interrupt_create ()
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Subject: RE: [ECOS] cyg_drv_interrupt_create ()
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Fri, 22 Jun 2001 14:00:04 -0600
- Cc: "'eCos'" <ecos-discuss at sources dot redhat dot com>
- Organization: Extreme Engineering
No, I don't have one that's not listed for a port. The CL-PS6700
interrupts are wired to the EINT1, and EXTFIQ. I'm modifying the
edb7xxx_misc.c file to incorporate the PCMCIA interrupts though. I'll
post it to the list soon to see what you guys think.
> -----Original Message-----
> From: jlarmour@cambridge.redhat.com
> [mailto:jlarmour@cambridge.redhat.com] On Behalf Of Jonathan Larmour
> Sent: Friday, June 22, 2001 1:57 PM
> To: Trenton D. Adams
> Cc: 'eCos'
> Subject: Re: [ECOS] cyg_drv_interrupt_create ()
>
>
> "Trenton D. Adams" wrote:
> >
> > > -----Original Message-----
> > > From: jlarmour@cambridge.redhat.com
> > > [mailto:jlarmour@cambridge.redhat.com] On Behalf Of
> Jonathan Larmour
> > > Sent: Wednesday, June 20, 2001 8:21 PM
> > > To: Trenton D. Adams
> > > Cc: 'eCos'
> > > Subject: Re: [ECOS] cyg_drv_interrupt_create ()
> > > "Trenton D. Adams" wrote:
> > > >
> > > > What exactly is the first parameter to this functions
> > > supposed to be?
> > > > I'm thinking and interrupt number, but I'm not sure.
> Maybe it's a
> > > > memory address, or an offset into the interrupt vector table?
> > >
> > > The interrupt number. Most times these map directly to what you
> > > would expect. But you can get the definitions by including
> > > <cyg/hal/hal_intr.h>. Look at the header (and possibly what it
> > > includes) to find the value required. Yes our
> documentation could be
> > > improved :-|.
> >
> > Does it have to be defined in the <cyg/hal/hal_intr.h>
> header file to
> > be a useable interrupt?
>
> There should be entries for each interrupt that exists as
> generally the number of interrupts is used to calculate the
> size of the eCos interrupt table. Do you have one that isn't
> listed for a port?
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44
> (1223) 271062 Maybe this world is another planet's Hell
> -Aldous Huxley || Opinions==mine Come to the Red Hat
> TechWorld open source conference in Brussels!
> Keynotes, techie talks and exhibitions
> http://www.redhat-techworld.com/
>