forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
void __gnat_install_handler_common( int, int );
|
void __gnat_install_handler_common( int, int );
|
||||||
|
|
||||||
void
|
void
|
||||||
__gnat_install_handler ()
|
__gnat_install_handler (void)
|
||||||
{
|
{
|
||||||
__gnat_install_handler_common (0x1d, 0x15);
|
__gnat_install_handler_common (0x1d, 0x15);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ rtems_boolean Timer_driver_Find_average_overhead;
|
|||||||
|
|
||||||
rtems_boolean Timer_driver_Is_initialized = FALSE;
|
rtems_boolean Timer_driver_Is_initialized = FALSE;
|
||||||
|
|
||||||
void Timer_initialize()
|
void Timer_initialize(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Timer runs long and accurate enough not to require an interrupt.
|
* Timer runs long and accurate enough not to require an interrupt.
|
||||||
@@ -63,7 +63,7 @@ void Timer_initialize()
|
|||||||
#define LEAST_VALID 13 /* Don't trust a value lower than this */
|
#define LEAST_VALID 13 /* Don't trust a value lower than this */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int Read_timer()
|
int Read_timer(void)
|
||||||
{
|
{
|
||||||
uint32_t total;
|
uint32_t total;
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ int LEON3_Cpu_Index = 0;
|
|||||||
* amba_ahb_masters, amba_ahb_slaves and amba.
|
* amba_ahb_masters, amba_ahb_slaves and amba.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned int getasr17();
|
unsigned int getasr17(void);
|
||||||
|
|
||||||
asm(" .text \n"
|
asm(" .text \n"
|
||||||
"getasr17: \n"
|
"getasr17: \n"
|
||||||
@@ -47,7 +47,6 @@ extern rtems_configuration_table Configuration;
|
|||||||
void bsp_predriver_hook(void)
|
void bsp_predriver_hook(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
unsigned int tmp;
|
|
||||||
amba_apb_device dev;
|
amba_apb_device dev;
|
||||||
|
|
||||||
/* Scan the AMBA Plug&Play info at the default LEON3 area */
|
/* Scan the AMBA Plug&Play info at the default LEON3 area */
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ int uarts = 0;
|
|||||||
static int isinit = 0;
|
static int isinit = 0;
|
||||||
volatile LEON3_UART_Regs_Map *LEON3_Console_Uart[LEON3_APBUARTS];
|
volatile LEON3_UART_Regs_Map *LEON3_Console_Uart[LEON3_APBUARTS];
|
||||||
|
|
||||||
int scan_uarts() {
|
int scan_uarts(void) {
|
||||||
int i;
|
int i;
|
||||||
amba_apb_device apbuarts[LEON3_APBUARTS];
|
amba_apb_device apbuarts[LEON3_APBUARTS];
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ rtems_boolean Timer_driver_Is_initialized = FALSE;
|
|||||||
|
|
||||||
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
|
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
|
||||||
|
|
||||||
void Timer_initialize()
|
void Timer_initialize(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Timer runs long and accurate enough not to require an interrupt.
|
* Timer runs long and accurate enough not to require an interrupt.
|
||||||
@@ -57,7 +57,7 @@ void Timer_initialize()
|
|||||||
/* to start/stop the timer. */
|
/* to start/stop the timer. */
|
||||||
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
||||||
|
|
||||||
int Read_timer()
|
int Read_timer(void)
|
||||||
{
|
{
|
||||||
uint32_t total;
|
uint32_t total;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user