Ignore:
Timestamp:
09/27/95 20:53:58 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
07058e7
Parents:
c701f197
Message:

Modified UNIX simulator port so all references to native unix
stuff is in the executive source proper in the file cpu.c. This
should help avoid conflicts between RTEMS POSIX files and UNIX files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c

    rc701f197 r37f4c2d  
    1919 */
    2020
    21 #include <rtems.h>
    22 
    2321#include <bsp.h>
    2422#include <shm.h>
     
    2624void Shm_setvec( void )
    2725{
    28 #ifdef INTERRUPT_EXTERNAL_MPCI
    29   set_vector( Shm_isr, INTERRUPT_EXTERNAL_MPCI, 1 );
    30 #endif
     26  int vector;
     27
     28  vector = _CPU_SHM_Get_vector();
     29
     30  if ( vector )
     31    set_vector( Shm_isr, vector, 1 );
    3132}
Note: See TracChangeset for help on using the changeset viewer.