Ignore:
Timestamp:
01/15/96 21:50:28 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a625ccd
Parents:
5c491aef
Message:

updates from Tony Bennett for PA and UNIX ports

Location:
c/src/lib/libbsp/hppa1.1/simhppa/shmsupp
Files:
2 edited

Legend:

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

    r5c491aef rc64e4ed4  
    3636
    3737#include <bsp.h>
    38 #include <runway.h>
    3938
    4039#include <shm.h>
     
    4443
    4544#define HPPA_RUNWAY_PROC_HPA_BASE  ((void *) 0xFFFA0000)
    46  
     45
    4746/* given a processor number, where is its HPA? */
    4847#define HPPA_RUNWAY_HPA(cpu)   \
    4948  ((rtems_unsigned32) (HPPA_RUNWAY_PROC_HPA_BASE + ((cpu) * 0x2000)))
    50  
     49
    5150#define HPPA_RUNWAY_REG_IO_EIR_OFFSET   0x000
    5251
    5352shm_config_table BSP_shm_cfgtbl;
    5453
    55 void Shm_Cause_interrupt_pxfl( rtems_unsigned32 node );
     54extern void Shm_Cause_interrupt_pxfl( rtems_unsigned32 node );
    5655
    5756void Shm_Get_configuration(
  • c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c

    r5c491aef rc64e4ed4  
    2323
    2424#include <rtems.h>
     25#include <rtems/error.h>
     26
    2527#include <shm.h>
    2628
     
    3941    case NO_INTERRUPT:
    4042       break;
     43
    4144    case LONG:
    4245      u32   = (rtems_unsigned32 *)intr->address;
     
    4548    default:
    4649      fprintf( stderr, "Shm_Cause_interrupt_pxfl: Unsupported length!!!\n" );
    47       rtems_shutdown_executive( 0 );
    48       break;
    4950  }
    5051}
Note: See TracChangeset for help on using the changeset viewer.