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>.
This commit is contained in:
Ralf Corsepius
2005-02-11 15:51:44 +00:00
parent 16ae480f42
commit 8c46a69037
3 changed files with 15 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
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>.
2005-02-10 Ralf Corsepius <ralf.corsepius@rtems.org>
* mpc505/vectors/vectors.S, ppc403/vectors/vectors.S:

View File

@@ -18,11 +18,11 @@
*/
#include <rtems.h>
#include <rtems/error.h>
#include <mpc8260.h>
#include <mpc8260/cpm.h>
void rtems_panic(char *, int);
/*
* Allocation order:
* - Dual-Port RAM section 0
@@ -31,9 +31,9 @@ void rtems_panic(char *, int);
* - Dual-Port RAM section 3
*/
static struct {
uint8_t *base;
unsigned int size;
unsigned int used;
char *base;
size_t size;
unsigned int used;
} dpram_regions[] = {
/* { (char *)&m8260.dpram0[0], sizeof m8260.dpram0, 0 },*/
{ (char *)&m8260.dpram1[0], sizeof m8260.dpram1, 0 },

View File

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