This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cyg_drv_interrupt_create ()
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] cyg_drv_interrupt_create ()
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 21 Jun 2001 03:20:47 +0100
- Cc: 'eCos' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <000201c0f9ab$5d9ce0e0$090110ac@TRENT>
"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 :-|.
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/