forked from Imagelibrary/rtems
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c, ide/pcmcia_ide.c, startup/bspstart.c, startup/imbx8xx.c: Fix some warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* console/console.c, ide/pcmcia_ide.c, startup/bspstart.c,
|
||||
startup/imbx8xx.c: Fix some warnings.
|
||||
|
||||
2010-03-27 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* startup/start.S: removed bootcard calling warning
|
||||
|
||||
@@ -93,6 +93,9 @@ static void serial_putchar(const char c);
|
||||
|
||||
BSP_output_char_function_type BSP_output_char = _BSP_null_char;
|
||||
|
||||
extern volatile m8xx_t m8xx;
|
||||
extern struct rtems_termios_tty *ttyp[];
|
||||
|
||||
/*
|
||||
* _EPPCBug_pollRead
|
||||
*
|
||||
@@ -111,8 +114,6 @@ static int _EPPCBug_pollRead(
|
||||
int minor
|
||||
)
|
||||
{
|
||||
extern volatile m8xx_t m8xx;
|
||||
|
||||
char c;
|
||||
volatile int simask; /* We must read and write m8xx.simask */
|
||||
int retval;
|
||||
@@ -220,8 +221,6 @@ static ssize_t _EPPCBug_pollWrite(
|
||||
size_t len
|
||||
)
|
||||
{
|
||||
extern volatile m8xx_t m8xx;
|
||||
|
||||
volatile int simask;
|
||||
int i;
|
||||
ISR_Level level;
|
||||
@@ -875,7 +874,6 @@ rtems_device_driver console_open(
|
||||
{
|
||||
#if NVRAM_CONFIGURE == 1
|
||||
/* Used to track termios private data for callbacks */
|
||||
extern struct rtems_termios_tty *ttyp[];
|
||||
rtems_libio_open_close_args_t *args = arg;
|
||||
static const rtems_termios_callbacks sccEPPCBugCallbacks = {
|
||||
NULL, /* firstOpen */
|
||||
|
||||
@@ -219,7 +219,7 @@ void mbx8xx_pcmciaide_read_block
|
||||
| Input Parameters: |
|
||||
\*-------------------------------------------------------------------------*/
|
||||
int minor,
|
||||
uint16_t block_size,
|
||||
uint32_t block_size,
|
||||
rtems_blkdev_sg_buffer *bufs,
|
||||
uint32_t *cbuf,
|
||||
uint32_t *pos
|
||||
@@ -276,7 +276,7 @@ void mbx8xx_pcmciaide_write_block
|
||||
| Input Parameters: |
|
||||
\*-------------------------------------------------------------------------*/
|
||||
int minor,
|
||||
uint16_t block_size,
|
||||
uint32_t block_size,
|
||||
rtems_blkdev_sg_buffer *bufs,
|
||||
uint32_t *cbuf,
|
||||
uint32_t *pos
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
SPR_RW(SPRG1)
|
||||
|
||||
int bsp_interrupt_initialize(void);
|
||||
|
||||
/*
|
||||
* Driver configuration parameters
|
||||
*/
|
||||
|
||||
@@ -149,6 +149,10 @@ static uint32_t upmaTable[64] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
#if ( !defined(EPPCBUG_VECTORS) )
|
||||
extern uint32_t simask_copy;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Initialize MBX8xx
|
||||
*/
|
||||
@@ -158,7 +162,6 @@ void _InitMBX8xx (void)
|
||||
uint32_t i;
|
||||
#endif
|
||||
register uint32_t r1;
|
||||
extern uint32_t simask_copy;
|
||||
|
||||
/*
|
||||
* Initialize the Debug Enable Register (DER) to an appropriate
|
||||
|
||||
Reference in New Issue
Block a user