forked from Imagelibrary/rtems
clean up of RunWay interrupt support
This commit is contained in:
@@ -37,11 +37,19 @@
|
|||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <runway.h>
|
#include <runway.h>
|
||||||
|
|
||||||
#include "shm.h"
|
#include <shm.h>
|
||||||
|
|
||||||
#define INTERRUPT 0 /* can be interrupt or polling */
|
#define INTERRUPT 0 /* can be interrupt or polling */
|
||||||
#define POLLING 1
|
#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;
|
shm_config_table BSP_shm_cfgtbl;
|
||||||
|
|
||||||
void Shm_Cause_interrupt_simhppa(
|
void Shm_Cause_interrupt_simhppa(
|
||||||
|
|||||||
@@ -19,10 +19,10 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include "shm.h"
|
#include <shm.h>
|
||||||
|
|
||||||
void Shm_Cause_interrupt_simhppa(
|
void Shm_Cause_interrupt_simhppa(
|
||||||
rtems_unsigned32 node
|
rtems_unsigned32 node
|
||||||
|
|||||||
Reference in New Issue
Block a user