Changeset 11290355 in rtems for c/src/lib/libbsp/hppa1.1/simhppa
- Timestamp:
- 09/29/95 17:19:16 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1ceface
- Parents:
- 1039ae4
- Location:
- c/src/lib/libbsp/hppa1.1/simhppa
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h
r1039ae4 r11290355 14 14 */ 15 15 16 #ifndef __ SIMHPPA_h17 #define __ SIMHPPA_h16 #ifndef __PXFL_BSP_h 17 #define __PXFL_BSP_h 18 18 19 19 #ifdef __cplusplus … … 24 24 #include <clockdrv.h> 25 25 #include <rtems/ttydrv.h> 26 #include <libcsupport.h>27 26 28 27 /* -
c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/getcfg.c
r1039ae4 r11290355 53 53 shm_config_table BSP_shm_cfgtbl; 54 54 55 void Shm_Cause_interrupt_simhppa( 56 rtems_unsigned32 node 57 ); 55 void Shm_Cause_interrupt_pxfl( rtems_unsigned32 node ); 58 56 59 57 void Shm_Get_configuration( … … 66 64 BSP_shm_cfgtbl.format = SHM_BIG; 67 65 68 BSP_shm_cfgtbl.cause_intr = Shm_Cause_interrupt_ simhppa;66 BSP_shm_cfgtbl.cause_intr = Shm_Cause_interrupt_pxfl; 69 67 70 68 #ifdef NEUTRAL_BIG -
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 ) 2 2 * 3 3 * This routine is the shared memory driver routine which … … 25 25 #include <shm.h> 26 26 27 void Shm_Cause_interrupt_ simhppa(27 void Shm_Cause_interrupt_pxfl( 28 28 rtems_unsigned32 node 29 29 ) 30 30 { 31 31 Shm_Interrupt_information *intr; 32 rtems_unsigned8 *u8;33 rtems_unsigned16 *u16;34 32 rtems_unsigned32 *u32; 35 33 rtems_unsigned32 value; … … 41 39 case NO_INTERRUPT: 42 40 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;59 41 case LONG: 60 42 u32 = (rtems_unsigned32 *)intr->address; 61 43 HPPA_ASM_STWAS( value, 0, u32 ); 62 44 break; 45 default: 46 fprintf( stderr, "Shm_Cause_interrupt_pxfl: Unsupported length!!!\n" ); 47 rtems_shutdown_executive( 0 ); 48 break; 63 49 } 64 50 } -
c/src/lib/libbsp/hppa1.1/simhppa/startup/setvec.c
r1039ae4 r11290355 56 56 (vector < (HPPA_INTERRUPT_BSP_BASE + HPPA_BSP_INTERRUPTS))) 57 57 { 58 simhppa_interrupt_install(handler,59 60 58 pxfl_interrupt_install(handler, 59 vector - HPPA_INTERRUPT_BSP_BASE, 60 (rtems_isr_entry *) &previous_isr); 61 61 } 62 62 #endif
Note: See TracChangeset
for help on using the changeset viewer.