mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 07:46:20 +08:00
m68k/gen68360: Fix warnings
This commit is contained in:
@@ -102,6 +102,11 @@ rtems_isr_entry set_vector(
|
||||
#define PGH360_PB_SPI_EEP_CE_MSK (1<< 0)
|
||||
#endif /* defined(PGH360) */
|
||||
|
||||
/*
|
||||
* Prototypes for BSP methods which cross file boundaries
|
||||
*/
|
||||
void _Init68360(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/*
|
||||
* MC68360 support routines
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* W. Eric Norum
|
||||
* Saskatchewan Accelerator Laboratory
|
||||
* University of Saskatchewan
|
||||
@@ -8,7 +10,6 @@
|
||||
* eric@skatter.usask.ca
|
||||
*/
|
||||
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/m68k/m68360.h>
|
||||
|
||||
@@ -45,11 +46,12 @@ void _Init68360 (void)
|
||||
int i;
|
||||
rtems_isr_entry *vbr;
|
||||
unsigned long ramSize;
|
||||
|
||||
#if (defined (__mc68040__))
|
||||
volatile unsigned long *RamBase_p;
|
||||
|
||||
RamBase_p = (volatile unsigned long *)&RamBase;
|
||||
|
||||
#if (defined (__mc68040__))
|
||||
/*
|
||||
*******************************************
|
||||
* Motorola 68040 and companion-mode 68360 *
|
||||
@@ -645,6 +647,9 @@ void _Init68360 (void)
|
||||
m360.mcr = 0x4C7F;
|
||||
|
||||
#else
|
||||
volatile unsigned long *RamBase_p;
|
||||
|
||||
RamBase_p = (volatile unsigned long *)&RamBase;
|
||||
/*
|
||||
***************************************************
|
||||
* Generic Standalone Motorola 68360 *
|
||||
|
||||
Reference in New Issue
Block a user