diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-10-21 08:17:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-10-21 08:17:43 +0000 |
commit | f4a59e33762b8518db59e9ab71ee4f5f845c5ea7 (patch) | |
tree | 69aae46534005d5e8fed0a7f2e4e51a562947f22 /c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c | |
parent | 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-f4a59e33762b8518db59e9ab71ee4f5f845c5ea7.tar.bz2 |
2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>
* start/preload.S, include/bsp.h, vectors/exceptionhandler.c,
startup/bspstart.c: Misc. adaptations to rtems-4.7.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c index a9f513288d..bc21f7abaa 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c @@ -42,7 +42,7 @@ volatile BSP_ExceptionExtension test; void BSP_exceptionHandler(BSP_Exception_frame* excPtr) { -rtems_unsigned32 note; +uint32_t note; BSP_ExceptionExtension ext=0; rtems_id id=0; int recoverable = 0; @@ -147,8 +147,6 @@ int quiet=0; printk(" TEA"); } if (excPtr->EXC_SRR1 & (SRR1_MCP_EXC)) { - unsigned char c1,c2; - unsigned int l; unsigned long gerr; if (!quiet) printk(" MCP\n"); @@ -180,8 +178,8 @@ int quiet=0; if (id) { /* if there's a highlevel hook, install it */ if (ext && ext->highlevelHook) { - excPtr->EXC_SRR0 = (rtems_unsigned32)ext->highlevelHook; - excPtr->GPR3 = (rtems_unsigned32)ext; + excPtr->EXC_SRR0 = (uint32_t)ext->highlevelHook; + excPtr->GPR3 = (uint32_t)ext; return; } if (excPtr->EXC_SRR1 & MSR_FP) { |