Add 'VME' support for RTEMS-uC5282 target.

This commit is contained in:
W. Eric Norum
2005-02-07 15:06:10 +00:00
parent a5e85b0eb0
commit 390a6318e8
2 changed files with 9 additions and 13 deletions

View File

@@ -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;
}

View File

@@ -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);
}