Add 'VME' support for RTEMS-uC5282 target.
This commit is contained in:
@@ -280,7 +280,7 @@ LOCAL long devInstallAddr (
|
||||
size, &pPhysicalAddress);
|
||||
if (status) {
|
||||
errPrintf (status, __FILE__, __LINE__, "%s base=0X%X size = 0X%X",
|
||||
epicsAddressTypeName[addrType], base, size);
|
||||
epicsAddressTypeName[addrType], (unsigned int)base, (unsigned int)size);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,17 +16,19 @@
|
||||
|
||||
#include <epicsStdio.h>
|
||||
#include <epicsExit.h>
|
||||
|
||||
#if defined(__PPC__) /* && defined(mpc750) */
|
||||
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <bsp/VME.h>
|
||||
#include <bsp/bspExt.h>
|
||||
|
||||
#include "devLib.h"
|
||||
#include <epicsInterrupt.h>
|
||||
|
||||
#if defined(__PPC__) || defined(__mcf528x__)
|
||||
|
||||
#if defined(__PPC__)
|
||||
#include <bsp/VME.h>
|
||||
#include <bsp/bspExt.h>
|
||||
#endif
|
||||
|
||||
|
||||
typedef void myISR (void *pParam);
|
||||
|
||||
LOCAL myISR *isrFetch(unsigned vectorNumber, void **parg);
|
||||
@@ -336,9 +338,3 @@ bcopyLongs(char *source, char *destination, int nlongs)
|
||||
while(nlongs--)
|
||||
*d++ = *s++;
|
||||
}
|
||||
|
||||
void
|
||||
rebootHookAdd(void (*funptr)())
|
||||
{
|
||||
epicsAtExit(funptr,NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user