Ticket #1768: pr1768.diff

File pr1768.diff, 948 bytes (added by Joel Sherrill, on Mar 17, 2011 at 11:58:38 AM)

Fix for head

  • c/src/lib/libbsp/i386/shared/irq/irq_asm.S

    ? c/src/lib/libbsp/i386/shared/irq/.irq_asm.S.swp
    RCS file: /usr1/CVS/rtems/c/src/lib/libbsp/i386/shared/irq/irq_asm.S,v
    retrieving revision 1.23
    diff -u -r1.23 irq_asm.S
     
    167167        incl      PER_CPU_ISR_NEST_LEVEL(ebx)  /* one nest level deeper */
    168168        incl      SYM (_Thread_Dispatch_disable_level) /* disable multitasking */
    169169
     170        /*
     171         * GCC versions starting with 4.3 no longer place the cld
     172         * instruction before string operations.  We  need to ensure
     173         * it is set correctly for ISR handlers.
     174         */
     175        cld
     176
    170177        /*
    171178         * re-enable interrupts at processor level as the current
    172179         * interrupt source is now masked via i8259