summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc8xx
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-11 15:51:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-11 15:51:44 +0000
commit8c46a69037cb8fd5f358b68bdf05048ee7357c23 (patch)
treeea50c0896973d348c1d51a5d5ab3b7dede6b43ee /c/src/lib/libcpu/powerpc/mpc8xx
parentName changes. (diff)
downloadrtems-8c46a69037cb8fd5f358b68bdf05048ee7357c23.tar.bz2
2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* mpc8260/cpm/dpram.c, mpc8xx/cpm/dpram.c: Remove local rtems_panic, use #include <rtems/error.h>.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc8xx')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c
index e4034af202..77b8a448a8 100644
--- a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c
+++ b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c
@@ -14,11 +14,11 @@
*/
#include <rtems.h>
+#include <rtems/error.h>
+
#include <mpc8xx.h>
#include <mpc8xx/cpm.h>
-extern void rtems_panic(char *, int);
-
/*
* Allocation order:
* - Dual-Port RAM section 0
@@ -28,9 +28,9 @@ extern void rtems_panic(char *, int);
* - Dual-Port RAM section 4
*/
static struct {
- uint8_t *base;
- unsigned int size;
- unsigned int used;
+ char *base;
+ size_t size;
+ unsigned int used;
} dpram_regions[] = {
{ (char *)&m8xx.dpram0[0], sizeof m8xx.dpram0, 0 },
{ (char *)&m8xx.dpram1[0], sizeof m8xx.dpram1, 0 },