forked from Imagelibrary/rtems
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* mpc8260/console-generic/console-generic.c, mpc8260/cpm/dpram.c, mpc8260/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.c: Removed warnings.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2002-11-04 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* mpc8260/console-generic/console-generic.c, mpc8260/cpm/dpram.c,
|
||||||
|
mpc8260/exceptions/raw_exception.c,
|
||||||
|
mpc8xx/exceptions/raw_exception.c: Removed warnings.
|
||||||
|
|
||||||
2002-11-01 Joel Sherrill <joel@OARcorp.com>
|
2002-11-01 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/dpram.c,
|
* mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/dpram.c,
|
||||||
|
|||||||
@@ -91,8 +91,10 @@ static volatile m8260BufferDescriptor_t *RxBd[NUM_PORTS], *TxBd[NUM_PORTS];
|
|||||||
/* Used to track termios private data for callbacks */
|
/* Used to track termios private data for callbacks */
|
||||||
struct rtems_termios_tty *ttyp[NUM_PORTS];
|
struct rtems_termios_tty *ttyp[NUM_PORTS];
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* Used to record previous ISR */
|
/* Used to record previous ISR */
|
||||||
static rtems_isr_entry old_handler[NUM_PORTS];
|
static rtems_isr_entry old_handler[NUM_PORTS];
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Device-specific routines
|
* Device-specific routines
|
||||||
@@ -100,12 +102,12 @@ static rtems_isr_entry old_handler[NUM_PORTS];
|
|||||||
void m8xx_console_reserve_resources(rtems_configuration_table *);
|
void m8xx_console_reserve_resources(rtems_configuration_table *);
|
||||||
static int m8xx_smc_set_attributes(int, const struct termios*);
|
static int m8xx_smc_set_attributes(int, const struct termios*);
|
||||||
static int m8xx_scc_set_attributes(int, const struct termios*);
|
static int m8xx_scc_set_attributes(int, const struct termios*);
|
||||||
static rtems_isr m8xx_smc1_interrupt_handler(rtems_vector_number);
|
static rtems_isr m8xx_smc1_interrupt_handler();
|
||||||
static rtems_isr m8xx_smc2_interrupt_handler(rtems_vector_number);
|
static rtems_isr m8xx_smc2_interrupt_handler();
|
||||||
static rtems_isr m8xx_scc1_interrupt_handler(rtems_vector_number);
|
static rtems_isr m8xx_scc1_interrupt_handler();
|
||||||
static rtems_isr m8xx_scc2_interrupt_handler(rtems_vector_number);
|
static rtems_isr m8xx_scc2_interrupt_handler();
|
||||||
static rtems_isr m8xx_scc3_interrupt_handler(rtems_vector_number);
|
static rtems_isr m8xx_scc3_interrupt_handler();
|
||||||
static rtems_isr m8xx_scc4_interrupt_handler(rtems_vector_number);
|
static rtems_isr m8xx_scc4_interrupt_handler();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -350,7 +352,7 @@ m8xx_uart_setAttributes(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
m8xx_scc1_interrupt_handler (rtems_vector_number v)
|
m8xx_scc1_interrupt_handler ()
|
||||||
{
|
{
|
||||||
int nb_overflow;
|
int nb_overflow;
|
||||||
|
|
||||||
@@ -394,7 +396,7 @@ m8xx_scc1_interrupt_handler (rtems_vector_number v)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
m8xx_scc2_interrupt_handler (rtems_vector_number v)
|
m8xx_scc2_interrupt_handler ()
|
||||||
{
|
{
|
||||||
int nb_overflow;
|
int nb_overflow;
|
||||||
|
|
||||||
@@ -439,7 +441,7 @@ m8xx_scc2_interrupt_handler (rtems_vector_number v)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
m8xx_scc3_interrupt_handler (rtems_vector_number v)
|
m8xx_scc3_interrupt_handler ()
|
||||||
{
|
{
|
||||||
int nb_overflow;
|
int nb_overflow;
|
||||||
|
|
||||||
@@ -485,7 +487,7 @@ m8xx_scc3_interrupt_handler (rtems_vector_number v)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
m8xx_scc4_interrupt_handler (rtems_vector_number v)
|
m8xx_scc4_interrupt_handler ()
|
||||||
{
|
{
|
||||||
int nb_overflow;
|
int nb_overflow;
|
||||||
|
|
||||||
@@ -529,7 +531,7 @@ m8xx_scc4_interrupt_handler (rtems_vector_number v)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
m8xx_smc1_interrupt_handler (rtems_vector_number v)
|
m8xx_smc1_interrupt_handler ()
|
||||||
{
|
{
|
||||||
int nb_overflow;
|
int nb_overflow;
|
||||||
|
|
||||||
@@ -574,7 +576,7 @@ m8xx_smc1_interrupt_handler (rtems_vector_number v)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
m8xx_smc2_interrupt_handler (rtems_vector_number v)
|
m8xx_smc2_interrupt_handler ()
|
||||||
{
|
{
|
||||||
int nb_overflow;
|
int nb_overflow;
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,8 @@
|
|||||||
#include <mpc8260.h>
|
#include <mpc8260.h>
|
||||||
#include <mpc8260/cpm.h>
|
#include <mpc8260/cpm.h>
|
||||||
|
|
||||||
|
void rtems_panic(char *, int);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocation order:
|
* Allocation order:
|
||||||
* - Dual-Port RAM section 0
|
* - Dual-Port RAM section 0
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ static rtems_raw_except_connect_data* raw_except_table;
|
|||||||
static rtems_raw_except_connect_data default_raw_except_entry;
|
static rtems_raw_except_connect_data default_raw_except_entry;
|
||||||
static rtems_raw_except_global_settings* local_settings;
|
static rtems_raw_except_global_settings* local_settings;
|
||||||
|
|
||||||
|
void * codemove(void *, const void *, unsigned int, unsigned long);
|
||||||
|
|
||||||
int mpc8260_vector_is_valid(rtems_vector vector)
|
int mpc8260_vector_is_valid(rtems_vector vector)
|
||||||
{
|
{
|
||||||
switch(vector) {
|
switch(vector) {
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include <rtems/bspIo.h> /* for printk */
|
#include <rtems/bspIo.h> /* for printk */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
void * codemove(void *, const void *, unsigned int, unsigned long);
|
||||||
|
|
||||||
static rtems_raw_except_connect_data* raw_except_table;
|
static rtems_raw_except_connect_data* raw_except_table;
|
||||||
static rtems_raw_except_connect_data default_raw_except_entry;
|
static rtems_raw_except_connect_data default_raw_except_entry;
|
||||||
static rtems_raw_except_global_settings* local_settings;
|
static rtems_raw_except_global_settings* local_settings;
|
||||||
|
|||||||
Reference in New Issue
Block a user