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: Int Vectors and Build Problem


Leo McManus <leomcmanusir@yahoo.com> writes:

> ARM720T on ARM Integrator board.
> 
> After building my eCos executable, I can see in my Srecord and with my GDB,
> that the int vectors, which are loaded at download time to address 0x40000 and
> later copied to address 0x0, point to address 0xE59FF018, which holds no
> memory. This is worked out at compilation time.

Those are not interrupt routine addresses, they are instructions. The
CPU executes the instruction at the vector location when an exception
occurs. In eCos the instructions we use just pick up an address from
[PC+32] and jump to it. So the interrupt vector addresses are in the
32 bytes following the hardware vectors.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


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


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