clean up of RunWay interrupt support

This commit is contained in:
Joel Sherrill
1995-08-11 14:16:20 +00:00
parent 4d9fa26805
commit e34941195e
2 changed files with 11 additions and 3 deletions

View File

@@ -37,11 +37,19 @@
#include <bsp.h>
#include <runway.h>
#include "shm.h"
#include <shm.h>
#define INTERRUPT 0 /* can be interrupt or polling */
#define POLLING 1
#define HPPA_RUNWAY_PROC_HPA_BASE ((void *) 0xFFFA0000)
/* given a processor number, where is its HPA? */
#define HPPA_RUNWAY_HPA(cpu) \
((rtems_unsigned32) (HPPA_RUNWAY_PROC_HPA_BASE + ((cpu) * 0x2000)))
#define HPPA_RUNWAY_REG_IO_EIR_OFFSET 0x000
shm_config_table BSP_shm_cfgtbl;
void Shm_Cause_interrupt_simhppa(

View File

@@ -19,10 +19,10 @@
* $Id$
*/
#include "stdio.h"
#include <stdio.h>
#include <rtems.h>
#include "shm.h"
#include <shm.h>
void Shm_Cause_interrupt_simhppa(
rtems_unsigned32 node