diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-12 21:34:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-12 21:34:51 +0000 |
commit | 3ab61f0a35a49fa26dde66047235935094582dd3 (patch) | |
tree | c472b1a0c24736017a9158e91aea7cced1ad8482 /c/src/lib/libcpu/powerpc/mpc860/include/console.h | |
parent | Fixed so hppa1.1 compiles with only problems in simhppa BSP. (diff) | |
download | rtems-3ab61f0a35a49fa26dde66047235935094582dd3.tar.bz2 |
Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc860/include/console.h')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc860/include/console.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc860/include/console.h b/c/src/lib/libcpu/powerpc/mpc860/include/console.h deleted file mode 100644 index 27a6a36377..0000000000 --- a/c/src/lib/libcpu/powerpc/mpc860/include/console.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * $Id$ - */ - -#ifndef _M860_CONSOLE_H_ -#define _M860_CONSOLE_H_ - -#include <rtems/libio.h> - -int m860_smc_set_attributes(int, const struct termios*); -int m860_scc_set_attributes(int, const struct termios*); -void m860_scc_initialize(int); -void m860_smc_initialize(int); -int m860_char_poll_read(int); -int m860_char_poll_write(int, const char*, int); -rtems_isr m860_scc1_console_interrupt_handler(rtems_vector_number); -rtems_isr m860_scc2_console_interrupt_handler(rtems_vector_number); -rtems_isr m860_scc3_console_interrupt_handler(rtems_vector_number); -rtems_isr m860_scc4_console_interrupt_handler(rtems_vector_number); -rtems_isr m860_smc1_console_interrupt_handler(rtems_vector_number); -rtems_isr m860_smc2_console_interrupt_handler(rtems_vector_number); -int m860_buf_poll_read(int, char**); -int m860_buf_poll_write(int, char*, int); -void m860_console_initialize(void); -rtems_device_driver m860_console_read(rtems_device_major_number, - rtems_device_minor_number, - void*); -rtems_device_driver m860_console_write(rtems_device_major_number, - rtems_device_minor_number, - void*); - - -typedef struct Buf_t_ { - struct Buf_t_ *next; - volatile char *buf; - volatile int len; - int pos; -} Buf_t; - -#define SMC1_MINOR 0 -#define SMC2_MINOR 1 -#define SCC1_MINOR 2 -#define SCC2_MINOR 3 -#define SCC3_MINOR 4 -#define SCC4_MINOR 5 - - -#endif |