powerpc/tqm8xx: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-12 13:57:28 -05:00
parent 9ca6799b0e
commit ee0ea5bfcd
2 changed files with 27 additions and 30 deletions

View File

@@ -1,6 +1,8 @@
/*
* Clock Tick interrupt conexion code.
*
*/
/*
* COPYRIGHT (c) 1989-1997.
* On-Line Applications Research Corporation (OAR).
*
@@ -15,17 +17,18 @@
#include <bsp.h>
#include <bsp/irq-generic.h>
#include <rtems/bspIo.h>
extern void clockOn(void*);
extern void clockOff (void*);
extern int clockIsOn(void*);
extern void Clock_isr(void*);
void BSP_clock_hdl(void * arg)
static void BSP_clock_hdl(void * arg)
{
Clock_isr(arg);
}
int BSP_get_clock_irq_level(void)
static int BSP_get_clock_irq_level(void)
{
/*
* Caution : if you change this, you must change the

View File

@@ -1,31 +1,17 @@
/*===============================================================*\
| Project: RTEMS TQM8xx BSP |
+-----------------------------------------------------------------+
| This file has been adapted to MPC8xx by |
| Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> |
| Copyright (c) 2008 |
| Embedded Brains GmbH |
| Obere Lagerstr. 30 |
| D-82178 Puchheim |
| Germany |
| rtems@embedded-brains.de |
| |
| See the other copyright notice below for the original parts. |
+-----------------------------------------------------------------+
| The license and distribution terms for this file may be |
| found in the file LICENSE in this distribution or at |
| |
| http://www.rtems.org/license/LICENSE. |
| |
+-----------------------------------------------------------------+
| this file contains the console driver |
\*===============================================================*/
/* derived from MBX8xx BSP: */
/* bsp.h
*
/*
* RTEMS TQM8xx BSP
* This include file contains all board IO definitions.
*
* This file includes definitions for the MBX860 and MBX821.
*/
/*
* This file has been adapted to MPC8xx by:
* Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* Copyright (c) 2008
* Embedded Brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
* Germany
* rtems@embedded-brains.de
*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
@@ -146,13 +132,21 @@ extern int rtems_scc_enet_driver_attach (struct rtems_bsdnet_ifconfig *config,
#define PGHPLUS_PB_SPI_EEP_CE_MSK (1<< 0)
#define PGHPLUS_PB_SPI_DISP4_RS_MSK (1<<15)
#define PGHPLUS_PB_SPI_DISP4_CE_MSK (1<<14)
/*
* our (internal) bus frequency
*/
extern uint32_t BSP_bus_frequency;
/*
* Interfaces to required Clock Driver support methods
*/
int BSP_disconnect_clock_handler(void);
int BSP_connect_clock_handler (rtems_irq_hdl);
#ifdef __cplusplus
}
#endif
#endif
#endif