Changeset f3f4be7 in rtems


Ignore:
Timestamp:
Feb 8, 2005, 12:21:08 AM (15 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c2ab8b0
Parents:
8e712757
Message:

Ensure consistency of 'installed' bitmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c

    r8e712757 rf3f4be7  
    355355        static unsigned char installed[8];
    356356
    357         if (installed[source/8] & (1 << (source % 8)))
     357        rtems_interrupt_disable(level);
     358        if (installed[source/8] & (1 << (source % 8))) {
     359            rtems_interrupt_enable(level);
    358360            return 0;
     361        }
    359362        installed[source/8] |= (1 << (source % 8));
     363        rtems_interrupt_enable(level);
    360364        for (l = 1 ; l < 7 ; l++) {
    361365            for (p = 0 ; p < 7 ; p++) {
Note: See TracChangeset for help on using the changeset viewer.