Changeset 0e4c603 in rtems


Ignore:
Timestamp:
08/11/95 14:24:44 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
aa9f194
Parents:
12f86efd
Message:

clean up -- interrupt support is in place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/unix/posix/include/bsp.h

    r12f86efd r0e4c603  
    11/*  bsp.h
    22 *
    3  *  This include file contains all Solaris 2.3 UNIX definitions.
     3 *  This include file contains all POSIX BSP definitions.
    44 *
    55 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
     
    1414 */
    1515
    16 #ifndef __SOLARIS23_h
    17 #define __SOLARIS23_h
     16#ifndef __POSIX_BSP_h
     17#define __POSIX_BSP_h
    1818
    1919#ifdef __cplusplus
     
    2222
    2323#include <rtems.h>
     24#include <clockdrv.h>
    2425#include <iosupp.h>
     26#include <libcsupport.h>
     27#include <signal.h>
    2528
    2629/*
     
    5962extern rtems_configuration_table BSP_Configuration;
    6063
    61 #define INTERRUPT_EXTERNAL_MPCI        0
    62 
     64/*
     65 * Define this to use signals for MPCI shared memory driver.
     66 * If undefined, the shared memory driver will poll from the
     67 * clock interrupt.
     68 * Ref: ../shmsupp/getcfg.c
     69 *
     70 * BEWARE:: many UN*X kernels and debuggers become severely confused when
     71 *          debugging programs which use signals.  The problem is *much*
     72 *          worse when using multiple signals, since ptrace(2) tends to
     73 *          drop all signals except 1 in the case of multiples.
     74 *          On hpux9, this problem was so bad, we couldn't use interrupts
     75 *          with the shared memory driver if we ever hoped to debug
     76 *          RTEMS programs.
     77 *          Maybe systems that use /proc don't have this problem...
     78 */
     79 
     80/* #define INTERRUPT_EXTERNAL_MPCI        SIGUSR1 */
     81 
    6382/* functions */
    6483
     84rtems_isr_entry set_vector(rtems_isr_entry, rtems_vector_number, int);
    6585void bsp_start( void );
    6686void bsp_cleanup( void );
Note: See TracChangeset for help on using the changeset viewer.