[ECOS] correction in hal/arm/arch/current/src/vectors.s

Ilko Iliev iliev@caretec.at
Wed Jan 24 01:42:00 GMT 2001


I try to run the last snapshot of eCos and I found the following problem:

The init_flag is of address 0x2022bcd (AT91EB01 target) and it stay in the loop
1:      cmp     r1,#0
         bne     1b
because init_flag was false read - it's a long variable and the address is 
not aligned.


Than I have correct
init_flag:
         .long   0

to

init_flag:
         .balign 4
         .long   0

and it's working :-)




Ilko



More information about the Ecos-discuss mailing list