Changeset 66e519c1 in rtems for c/src/lib/libcpu


Ignore:
Timestamp:
Aug 8, 1996, 4:52:24 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8b1c1ae
Parents:
f55d898
Message:

ERC32_Force_interrupt implementation replaced per Jiri Gaisler's experience
on the real erc32 hardware.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sparc/include/erc32.h

    rf55d898 r66e519c1  
    346346#define ERC32_Force_interrupt( _source ) \
    347347  do { \
     348    unsigned32 _level; \
     349    \
     350    sparc_disable_interrupts( _level ); \
     351    ERC32_MEC.Test_Control = ERC32_MEC.Test_Control | 0x80000; \
     352    sparc_enable_interrupts( _level ); \
    348353    ERC32_MEC.Interrupt_Force = (1 << (_source)); \
    349354  } while (0)
Note: See TracChangeset for help on using the changeset viewer.