source: rtems/c/src/lib/libcpu/powerpc/mpc5xx/include/console.h @ 73b5bd5d

4.104.114.84.95
Last change on this file since 73b5bd5d was 8430205, checked in by Joel Sherrill <joel.sherrill@…>, on 04/12/04 at 22:04:28

2004-04-12 David Querbach <querbach@…>

  • README, configure.ac, mpc5xx/Makefile.am, mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h, mpc5xx/timer/timer.c, shared/include/cpuIdent.h: addition of a significant amount of MPC5xx support as part of the addition of the SS555 BSP.
  • mpc5xx/README, mpc5xx/clock/clock.c, mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/irq/irq_init.c, mpc5xx/vectors/vectors.S, mpc5xx/vectors/vectors.h, mpc5xx/vectors/vectors_init.c: New files.
  • mpc5xx/exceptions/asm_utils.S: Removed.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*
2 *  Console declarations
3 *
4 *
5 *  MPC5xx port sponsored by Defence Research and Development Canada - Suffield
6 *  Copyright (C) 2004, Real-Time Systems Inc. (querbach@realtime.bc.ca)
7 *
8 *  The license and distribution terms for this file may be
9 *  found in found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 * 
12 *  $Id$
13 */
14
15#ifndef _M5xx_CONSOLE_H_
16#define _M5xx_CONSOLE_H_
17
18#include <rtems/libio.h>
19#include <rtems/termiostypes.h>
20
21void m5xx_uart_reserve_resources(rtems_configuration_table *configuration);
22void m5xx_uart_initialize(int minor);
23
24/* Termios callbacks */
25int m5xx_uart_firstOpen(int maj, int min, void *arg);
26int m5xx_uart_lastClose(int maj, int min, void *arg);
27int m5xx_uart_pollRead(int minor);
28int m5xx_uart_pollWrite(int minor, const char* buf, int len);
29int m5xx_uart_write(int minor, const char *buf, int len);
30int m5xx_uart_setAttributes(int, const struct termios* t);
31
32#define NUM_PORTS       2       /* number of serial ports */
33
34#define SCI1_MINOR      0
35#define SCI2_MINOR      1
36
37#endif /* _M5xx_CONSOLE_H_ */
Note: See TracBrowser for help on using the repository browser.