Changeset 7ba7108 in rtems


Ignore:
Timestamp:
Aug 14, 1998, 3:24:09 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e013fe3
Parents:
db8e8a8b
Message:

Changed tm27 clear interrupt macro on all PPC BSPs except the papyrus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/dmv177/include/bsp.h

    rdb8e8a8b r7ba7108  
    8282  do { \
    8383    unsigned32 _clicks = 0xffffffff; \
     84    unsigned32 _msr = 0; \
     85    _ISR_Set_level( 0 ); \
     86    asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
     87    _msr &=  ~0x8000; \
     88    asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
    8489    asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
    8590  } while (0)
Note: See TracChangeset for help on using the changeset viewer.