Changeset 6579ae0 in rtems


Ignore:
Timestamp:
Aug 4, 2008, 5:46:07 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1be10249
Parents:
ce7803fe
Message:

2008-08-04 Ray Xu <rayx.cn@…>

  • shared/irq/irq_asm.S: Correct minor mistakes in adding Thumb code which prevented ARM from working.
Location:
c/src/lib/libbsp/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/ChangeLog

    rce7803fe r6579ae0  
     12008-08-04      Ray Xu <rayx.cn@gmail.com>
     2
     3        * shared/irq/irq_asm.S: Correct minor mistakes in adding Thumb code
     4        which prevented ARM from working.
     5
    162008-05-23      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/arm/shared/irq/irq_asm.S

    rce7803fe r6579ae0  
    4848        /* FIXME: I'm not sure why I can't save just r12. I'm also  */
    4949        /*     not sure which of r1-r3 are important.               */
    50 #if __thumb__
     50#ifdef __thumb__
    5151        ldr     r0, =ExecuteITHandler +1
    5252        mov     lr, pc
     
    122122#ifdef __thumb__
    123123        sub     lr,  #0x1
    124 #endif       
     124#endif
    125125        ldmia   sp!, {r1}                 /* out with the old          */
    126126        stmdb   sp!, {lr}                 /*    in with the new (lr) */
     
    148148                                          /*    it's just going to get   */
    149149                                          /*    overwritten              */
     150        nop                               /* made _ISR_Dispatch_p_4 4-word align */
    150151#else
    151152        .code 32
     
    156157                                          /*    overwritten              */
    157158#endif
    158         nop                /*made _ISR_Dispatch_p_4 4-word align */
     159
    159160
    160161_ISR_Dispatch_p_4:
Note: See TracChangeset for help on using the changeset viewer.