summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c b/c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c
index 50166b2b8e..fcd14428e1 100644
--- a/c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c
@@ -1,4 +1,4 @@
-/* void Shm_Cause_interrupt_simhppa( node )
+/* void Shm_Cause_interrupt_pxfl( node )
*
* This routine is the shared memory driver routine which
* generates interrupts to other CPUs.
@@ -24,13 +24,11 @@
#include <rtems.h>
#include <shm.h>
-void Shm_Cause_interrupt_simhppa(
+void Shm_Cause_interrupt_pxfl(
rtems_unsigned32 node
)
{
Shm_Interrupt_information *intr;
- rtems_unsigned8 *u8;
- rtems_unsigned16 *u16;
rtems_unsigned32 *u32;
rtems_unsigned32 value;
@@ -40,25 +38,13 @@ void Shm_Cause_interrupt_simhppa(
switch ( intr->length ) {
case NO_INTERRUPT:
break;
- case BYTE:
- u8 = (rtems_unsigned8 *)intr->address;
- fprintf(
- stderr,
- "Shm_Cause_interrupt_simhppa: Writes of unsigned8 not supported!!!\n"
- );
- rtems_shutdown_executive( 0 );
- break;
- case WORD:
- u16 = (rtems_unsigned16 *)intr->address;
- fprintf(
- stderr,
- "Shm_Cause_interrupt_simhppa: Writes of unsigned8 not supported!!!\n"
- );
- rtems_shutdown_executive( 0 );
- break;
case LONG:
u32 = (rtems_unsigned32 *)intr->address;
HPPA_ASM_STWAS( value, 0, u32 );
break;
+ default:
+ fprintf( stderr, "Shm_Cause_interrupt_pxfl: Unsupported length!!!\n" );
+ rtems_shutdown_executive( 0 );
+ break;
}
}