diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-11-04 14:29:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-11-04 14:29:02 +0000 |
commit | 9c8838f1e15a1fb0563b73ab48f0ed10fd2f120a (patch) | |
tree | a9c968d42659e49b133238713df78d6bb1e3e078 /c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c | |
parent | 2002-11-04 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-9c8838f1e15a1fb0563b73ab48f0ed10fd2f120a.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c b/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c index 3e855007fc..e5103c8590 100644 --- a/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c +++ b/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c @@ -91,8 +91,10 @@ static volatile m8260BufferDescriptor_t *RxBd[NUM_PORTS], *TxBd[NUM_PORTS]; /* Used to track termios private data for callbacks */ struct rtems_termios_tty *ttyp[NUM_PORTS]; +#if 0 /* Used to record previous ISR */ static rtems_isr_entry old_handler[NUM_PORTS]; +#endif /* * Device-specific routines @@ -100,12 +102,12 @@ static rtems_isr_entry old_handler[NUM_PORTS]; void m8xx_console_reserve_resources(rtems_configuration_table *); static int m8xx_smc_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_smc2_interrupt_handler(rtems_vector_number); -static rtems_isr m8xx_scc1_interrupt_handler(rtems_vector_number); -static rtems_isr m8xx_scc2_interrupt_handler(rtems_vector_number); -static rtems_isr m8xx_scc3_interrupt_handler(rtems_vector_number); -static rtems_isr m8xx_scc4_interrupt_handler(rtems_vector_number); +static rtems_isr m8xx_smc1_interrupt_handler(); +static rtems_isr m8xx_smc2_interrupt_handler(); +static rtems_isr m8xx_scc1_interrupt_handler(); +static rtems_isr m8xx_scc2_interrupt_handler(); +static rtems_isr m8xx_scc3_interrupt_handler(); +static rtems_isr m8xx_scc4_interrupt_handler(); @@ -350,7 +352,7 @@ m8xx_uart_setAttributes( */ static void -m8xx_scc1_interrupt_handler (rtems_vector_number v) +m8xx_scc1_interrupt_handler () { int nb_overflow; @@ -394,7 +396,7 @@ m8xx_scc1_interrupt_handler (rtems_vector_number v) } static void -m8xx_scc2_interrupt_handler (rtems_vector_number v) +m8xx_scc2_interrupt_handler () { int nb_overflow; @@ -439,7 +441,7 @@ m8xx_scc2_interrupt_handler (rtems_vector_number v) static void -m8xx_scc3_interrupt_handler (rtems_vector_number v) +m8xx_scc3_interrupt_handler () { int nb_overflow; @@ -485,7 +487,7 @@ m8xx_scc3_interrupt_handler (rtems_vector_number v) static void -m8xx_scc4_interrupt_handler (rtems_vector_number v) +m8xx_scc4_interrupt_handler () { int nb_overflow; @@ -529,7 +531,7 @@ m8xx_scc4_interrupt_handler (rtems_vector_number v) } static void -m8xx_smc1_interrupt_handler (rtems_vector_number v) +m8xx_smc1_interrupt_handler () { int nb_overflow; @@ -574,7 +576,7 @@ m8xx_smc1_interrupt_handler (rtems_vector_number v) static void -m8xx_smc2_interrupt_handler (rtems_vector_number v) +m8xx_smc2_interrupt_handler () { int nb_overflow; |