Changeset a4dc7e0 in rtems


Ignore:
Timestamp:
03/08/99 21:02:20 (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b02af64
Parents:
3ef8798
Message:

Patch from Ian Lance Taylor <ian@…> to correct previous interrupt
patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i386/cpu.h

    r3ef8798 ra4dc7e0  
    3333#define i386_disable_interrupts( _level ) \
    3434  { \
    35     _level = 0;   /* avoids warnings */ \
    3635    asm volatile ( "pushf ; \
    3736                    cli ; \
     
    4544    asm volatile ( "push %0 ; \
    4645                    popf" \
    47                     : "=rm" ((_level)) \
     46                    : : "rm" ((_level)) \
    4847    ); \
    4948  }
     
    5453                    popf ; \
    5554                    cli" \
    56                     : "=rm" ((_level)) \
     55                    : : "rm" ((_level)) \
    5756    ); \
    5857  }
Note: See TracChangeset for help on using the changeset viewer.