summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/termiostypes.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-06 08:03:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-07 12:57:39 +0200
commit93531e9b08b2c641abc4bf5e53c5ebcd754c7d55 (patch)
tree8f3826ecf432eeeeb97830b674e037102a9c5b66 /cpukit/libcsupport/include/rtems/termiostypes.h
parentDo not use deprecated <sys/termios.h> (diff)
downloadrtems-93531e9b08b2c641abc4bf5e53c5ebcd754c7d55.tar.bz2
Move RTEMS-specific Termios API content
Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/termiostypes.h')
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index 1140c6162d..e91faa7376 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/libcsupport/include/rtems/termiostypes.h
@@ -20,6 +20,7 @@
#include <rtems/libio.h>
#include <rtems/assoc.h>
#include <rtems/chain.h>
+#include <sys/ioccom.h>
#include <stdint.h>
#include <termios.h>
@@ -573,6 +574,14 @@ int rtems_termios_poll(
int events
);
+#define RTEMS_IO_SNDWAKEUP _IOW('t', 11, struct ttywakeup ) /* send tty wakeup */
+#define RTEMS_IO_RCVWAKEUP _IOW('t', 12, struct ttywakeup ) /* recv tty wakeup */
+
+#define OLCUC 0x00000100 /* map lower case to upper case on output */
+#define IUCLC 0x00004000 /* map upper case to lower case on input */
+
+#define RTEMS_TERMIOS_NUMBER_BAUD_RATES 25
+
#ifdef __cplusplus
}
#endif