mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 19:37:25 +08:00
Add missing prototypes.
This commit is contained in:
@@ -70,7 +70,7 @@ void Init5282 (void)
|
||||
|
||||
/* Copy the interrupt vector table to address 0x0 in SDRAM */
|
||||
{
|
||||
extern void INTERRUPT_VECTOR();
|
||||
extern void INTERRUPT_VECTOR(void);
|
||||
uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
|
||||
uint32_t *intvec = (uint32_t *)0x0;
|
||||
register int i;
|
||||
|
||||
@@ -126,7 +126,7 @@ init5272(void)
|
||||
|
||||
/* Copy the interrupt vector table to SRAM */
|
||||
{
|
||||
extern void INTERRUPT_VECTOR();
|
||||
extern void INTERRUPT_VECTOR(void);
|
||||
uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
|
||||
uint32_t *intvec = (uint32_t *)BSP_RAMBAR;
|
||||
register int i;
|
||||
|
||||
@@ -188,7 +188,7 @@ for(way_cnt=0; way_cnt<4; way_cnt++)
|
||||
* Use the shared implementations of the following routines
|
||||
*/
|
||||
|
||||
void bsp_predriver_hook()
|
||||
void bsp_predriver_hook(void)
|
||||
{
|
||||
/* Do nothing */
|
||||
}
|
||||
@@ -197,7 +197,7 @@ void bsp_postdriver_hook(void);
|
||||
void bsp_libc_init( void *, uint32_t, int );
|
||||
void bsp_pretasking_hook(void); /* m68k version */
|
||||
|
||||
void bsp_calc_mem_layout()
|
||||
void bsp_calc_mem_layout(void)
|
||||
{
|
||||
/*
|
||||
* these labels (!) are defined in the linker command file
|
||||
|
||||
@@ -200,7 +200,7 @@ Init5206e(void)
|
||||
MCF5206E_CSCR_RD;
|
||||
|
||||
{
|
||||
extern void INTERRUPT_VECTOR();
|
||||
extern void INTERRUPT_VECTOR(void);
|
||||
uint32_t *inttab = (uint32_t*)&INTERRUPT_VECTOR;
|
||||
uint32_t *intvec = (uint32_t*)BSP_MEM_ADDR_ESRAM;
|
||||
register int i;
|
||||
|
||||
@@ -54,7 +54,7 @@ static uint32_t bsp_clock_nanoseconds_since_last_tick(void)
|
||||
/*
|
||||
* Turn off the clock
|
||||
*/
|
||||
static void Clock_driver_support_shutdown_hardware()
|
||||
static void Clock_driver_support_shutdown_hardware(void)
|
||||
{
|
||||
MCF_PIT1_PCSR &= ~MCF_PIT_PCSR_EN;
|
||||
}
|
||||
@@ -64,7 +64,7 @@ static void Clock_driver_support_shutdown_hardware()
|
||||
*
|
||||
* We need to have 1 interrupt every BSP_Configuration.microseconds_per_tick
|
||||
*/
|
||||
static void Clock_driver_support_initialize_hardware()
|
||||
static void Clock_driver_support_initialize_hardware(void)
|
||||
{
|
||||
int level;
|
||||
uint32_t pmr;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
extern void _wr_vbr(uint32_t);
|
||||
extern void init_main();
|
||||
extern void init_main(void);
|
||||
extern int boot_card(int, char **, char **);
|
||||
|
||||
/*
|
||||
|
||||
@@ -78,7 +78,7 @@ void Init5235 (void)
|
||||
|
||||
/* Copy the interrupt vector table to address 0x0 in SDRAM */
|
||||
{
|
||||
extern void INTERRUPT_VECTOR();
|
||||
extern void INTERRUPT_VECTOR(void);
|
||||
uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
|
||||
uint32_t *intvec = (uint32_t *)0x0;
|
||||
register int i;
|
||||
|
||||
@@ -54,7 +54,7 @@ static uint32_t bsp_clock_nanoseconds_since_last_tick(void)
|
||||
/*
|
||||
* Turn off the clock
|
||||
*/
|
||||
static void Clock_driver_support_shutdown_hardware()
|
||||
static void Clock_driver_support_shutdown_hardware(void)
|
||||
{
|
||||
MCF_PIT3_PCSR &= ~MCF_PIT_PCSR_EN;
|
||||
}
|
||||
@@ -64,7 +64,7 @@ static void Clock_driver_support_shutdown_hardware()
|
||||
*
|
||||
* We need to have 1 interrupt every BSP_Configuration.microseconds_per_tick
|
||||
*/
|
||||
static void Clock_driver_support_initialize_hardware()
|
||||
static void Clock_driver_support_initialize_hardware(void)
|
||||
{
|
||||
int level;
|
||||
uint32_t pmr;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
extern void _wr_vbr(uint32_t);
|
||||
extern void init_main();
|
||||
extern void init_main(void);
|
||||
extern int boot_card(int, char **, char **);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user