source: rtems/c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.h @ e9ae97fb

4.104.114.84.95
Last change on this file since e9ae97fb was e9ae97fb, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/01 at 00:04:57

2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@…>

This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@…> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.

  • ppc403/console/console405.c ppc403/tty_drv/.cvsignore, ppc403/tty_drv/Makefile.am, ppc403/tty_drv/tty_drv.c, ppc403/tty_drv/tty_drv.h: New files.
  • Makefile.am, README, configure.ac, old_exception_processing/cpu.c, old_exception_processing/cpu.h, ppc403/Makefile.am, ppc403/clock/clock.c, ppc403/console/Makefile.am, ppc403/console/console.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/timer/timer.c: Modified.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1#ifdef ppc405
2#ifndef __tty_drv__
3#define __tty_drv__
4
5/* functions */
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10
11/* ttyS1 entry points */
12rtems_device_driver tty0_initialize(
13  rtems_device_major_number,
14  rtems_device_minor_number,
15  void *
16);
17
18rtems_device_driver tty0_open(
19  rtems_device_major_number,
20  rtems_device_minor_number,
21  void *
22);
23
24rtems_device_driver tty0_control(
25  rtems_device_major_number,
26  rtems_device_minor_number,
27  void *
28);
29
30
31/* tty1 & tty2 shared entry points */
32rtems_device_driver tty0_close(
33  rtems_device_major_number,
34  rtems_device_minor_number,
35  void *
36);
37
38
39rtems_device_driver tty0_read(
40  rtems_device_major_number,
41  rtems_device_minor_number,
42  void *
43);
44
45rtems_device_driver tty0_write(
46  rtems_device_major_number,
47  rtems_device_minor_number,
48  void *
49);
50
51
52#define TTY0_DRIVER_TABLE_ENTRY \
53  { tty0_initialize, tty0_open, tty0_close, \
54    tty0_read, tty0_write, tty0_control }
55
56
57#ifdef __cplusplus
58}
59#endif
60/* end of include file */
61
62#endif  /* __tty_drv__  */
63#endif /* ppc405 */
Note: See TracBrowser for help on using the repository browser.