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]

Questions about Interrupt and Handler?


Dear Sir :

I am using eCos and ARM7TDMI, and if it isn't too much trouble, may I have
the following queries:

1. As we know, the relationship between exception type and its respective
vector address in ARM7TDMI is as follows:

    vector address        exception type
            0x00         Reset
            0x04         Undefined Instruction
            0x08         SWI
            0x0C              Prefetch Abort
            0x10         Data Abort
            0x14         Reserved
            0x18         IRQ
            0x1C         FIQ

And as we know, in eCos, there exist the mechanism of interrupts and
exceptions, and there are distinct spaces for exception and interrupt
vectors.

My question is that which exception vector addresses of ARM7TDMI are for
exception vectors in eCos, and which are for interrupt vectors in eCos?

2. I need to program exception and interrupt handlers for ARM7TDMI. So, are
there any source code examples for exception and interrupt handler
installation and manipulation?

3. Are there any detailed documents and source code examples for VSR
(vector service routine) manipulation?
    In eCos documents, it seems that they do not mention how to install
VSRs. Would someone tell me how to make it?

Would someone give me the answers for the questions above.

Many thanks in advance!!


Regards,


Liu Ming-Jun








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