This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Interrupt Handler
- From: "Robert Cragie" <rcc at jennic dot com>
- To: "Vinayak P Risbud" <vinayak at multitech dot co dot in>, "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 10 Jul 2002 16:20:15 +0100
- Subject: RE: [ECOS] Interrupt Handler
An interrupt occurs. It runs the code at 0x10018, which jumps to the
location specified at 0x10038, which is 0x1037c (ignore the disassembly at
0x10038, you are interested in the data here). 0x1037c is the start of the
interrupt handler, which essentially stacks the required registers on the
exception stack and then calls hal_IRQ_handler() at line 0x103e0. You are
now at 0x129ac...
Robert Cragie, Design Engineer
Direct: +44 (0) 114 281 4512
________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
www.jennic.com Tel: +44 (0) 114 281 2655
> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Vinayak P
> Risbud
> Sent: 10 July 2002 15:23
> To: Ecos-Discuss
> Subject: [ECOS] Interrupt Handler
>
>
> Hi,
> I have attatched my some part of redboot.elf
> disassembled file.
> I am not able to follow, how exactly my ISR is
> called upon reception of an interrupt.
>
> What I know is, upon IRQ, the control jumps to 0x0018.
> I am not able to follow, how exactly, my ISR which is
> present at 0x129ac is called ?
>
> can any one explain me the exact flow ?
>
> Thanks
> Vinayak
>
>
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss