source: rtems/c/src/lib/libbsp/shared/console-termios.c @ 8f550d2

5
Last change on this file since 8f550d2 was 55e0be36, checked in by Sebastian Huber <sebastian.huber@…>, on 09/16/16 at 10:58:06

termios: Use IMFS nodes for new Termios devices

This makes the new Termios devices independent of device major/minor
numbers. It enables BSP independent Termios device drivers which may
reside in the cpukit domain. These drivers require an IMFS and do not
work with the device file system. However, the device file system
should go away in the future.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 * Copyright (c) 2014, 2016 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#include <rtems/console.h>
16#include <rtems/termiostypes.h>
17
18rtems_device_driver console_open(
19  rtems_device_major_number  major,
20  rtems_device_minor_number  minor,
21  void                      *arg
22)
23{
24  (void) major;
25  (void) minor;
26  (void) arg;
27
28  return RTEMS_INTERNAL_ERROR;
29}
30
31rtems_device_driver console_close(
32  rtems_device_major_number  major,
33  rtems_device_minor_number  minor,
34  void                      *arg
35)
36{
37  (void) major;
38  (void) minor;
39  (void) arg;
40
41  return RTEMS_INTERNAL_ERROR;
42}
43
44rtems_device_driver console_read(
45  rtems_device_major_number  major,
46  rtems_device_minor_number  minor,
47  void                      *arg
48)
49{
50  (void) major;
51  (void) minor;
52  (void) arg;
53
54  return RTEMS_INTERNAL_ERROR;
55}
56
57rtems_device_driver console_write(
58  rtems_device_major_number  major,
59  rtems_device_minor_number  minor,
60  void                      *arg
61)
62{
63  (void) major;
64  (void) minor;
65  (void) arg;
66
67  return RTEMS_INTERNAL_ERROR;
68}
69
70rtems_device_driver console_control(
71  rtems_device_major_number  major,
72  rtems_device_minor_number  minor,
73  void                      *arg
74)
75{
76  (void) major;
77  (void) minor;
78  (void) arg;
79
80  return RTEMS_INTERNAL_ERROR;
81}
Note: See TracBrowser for help on using the repository browser.