forked from Imagelibrary/rtems
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:
@@ -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:
|
||||
|
||||
@@ -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 },
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user