Ignore:
Timestamp:
09/29/95 17:19:16 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ceface
Parents:
1039ae4
Message:

all targets compile .. tony's patches in place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c

    r1039ae4 r11290355  
    1 /*  void Shm_Cause_interrupt_simhppa( node )
     1/*  void Shm_Cause_interrupt_pxfl( node )
    22 *
    33 *  This routine is the shared memory driver routine which
     
    2525#include <shm.h>
    2626
    27 void Shm_Cause_interrupt_simhppa(
     27void Shm_Cause_interrupt_pxfl(
    2828  rtems_unsigned32 node
    2929)
    3030{
    3131  Shm_Interrupt_information *intr;
    32   rtems_unsigned8  *u8;
    33   rtems_unsigned16 *u16;
    3432  rtems_unsigned32 *u32;
    3533  rtems_unsigned32  value;
     
    4139    case NO_INTERRUPT:
    4240       break;
    43     case BYTE:
    44       u8   = (rtems_unsigned8 *)intr->address;
    45       fprintf(
    46         stderr,
    47         "Shm_Cause_interrupt_simhppa: Writes of unsigned8 not supported!!!\n"
    48       );
    49       rtems_shutdown_executive( 0 );
    50       break;
    51     case WORD:
    52       u16   = (rtems_unsigned16 *)intr->address;
    53       fprintf(
    54         stderr,
    55         "Shm_Cause_interrupt_simhppa: Writes of unsigned8 not supported!!!\n"
    56       );
    57       rtems_shutdown_executive( 0 );
    58       break;
    5941    case LONG:
    6042      u32   = (rtems_unsigned32 *)intr->address;
    6143      HPPA_ASM_STWAS( value, 0, u32 );
    6244      break;
     45    default:
     46      fprintf( stderr, "Shm_Cause_interrupt_pxfl: Unsupported length!!!\n" );
     47      rtems_shutdown_executive( 0 );
     48      break;
    6349  }
    6450}
Note: See TracChangeset for help on using the changeset viewer.