summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 20:45:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 20:45:26 +0000
commitf7691e3b7bce05e8f5d11c126243036cd0ba1343 (patch)
tree1e63145e4f616c27138d6260885c2e9a08ffdb87
parent2001-08-16 Mike Siers <mikes@poliac.com> (diff)
downloadrtems-f7691e3b7bce05e8f5d11c126243036cd0ba1343.tar.bz2
2001-08-16 Mike Siers <mikes@poliac.com>
* include/rtems/termiostypes.h, include/sys/ioccom.h: Update of PPPD to 2.3.11 from 2.3.5 touched these files.
-rw-r--r--c/src/exec/libcsupport/include/rtems/termiostypes.h14
-rw-r--r--c/src/exec/libcsupport/include/sys/ioccom.h2
-rw-r--r--c/src/lib/ChangeLog5
-rw-r--r--c/src/lib/include/rtems/termiostypes.h14
-rw-r--r--c/src/lib/include/sys/ioccom.h2
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h14
-rw-r--r--cpukit/libcsupport/include/sys/ioccom.h2
7 files changed, 53 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/termiostypes.h b/c/src/exec/libcsupport/include/rtems/termiostypes.h
index 10baa9a15f..fe19bd4cb4 100644
--- a/c/src/exec/libcsupport/include/rtems/termiostypes.h
+++ b/c/src/exec/libcsupport/include/rtems/termiostypes.h
@@ -22,6 +22,14 @@ extern "C" {
#endif
/*
+ * Wakeup callback data structure
+ */
+struct ttywakeup {
+ void (*sw_pfn)__P((struct termios *tty, void *arg));
+ void *sw_arg;
+};
+
+/*
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
@@ -111,6 +119,12 @@ struct rtems_termios_tty {
*/
int t_line; /* id of line discipline */
void *t_sc; /* hook for discipline-specific data structure */
+ /*
+ * Wakeup callback variables
+ */
+ struct ttywakeup tty_snd;
+ struct ttywakeup tty_rcv;
+ int tty_rcvwakeup;
};
struct linesw {
diff --git a/c/src/exec/libcsupport/include/sys/ioccom.h b/c/src/exec/libcsupport/include/sys/ioccom.h
index 0d15d34b0e..60e16a6c8a 100644
--- a/c/src/exec/libcsupport/include/sys/ioccom.h
+++ b/c/src/exec/libcsupport/include/sys/ioccom.h
@@ -69,6 +69,8 @@
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define RTEMS_IO_RCVWAKEUP 4
+#define RTEMS_IO_SNDWAKEUP 5
/* copied from libnetworking/sys/filio.h and commented out there */
/* Generic file-descriptor ioctl's. */
diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog
index 4581a619bd..29727ca717 100644
--- a/c/src/lib/ChangeLog
+++ b/c/src/lib/ChangeLog
@@ -1,5 +1,10 @@
2001-08-16 Mike Siers <mikes@poliac.com>
+ * include/rtems/termiostypes.h, include/sys/ioccom.h:
+ Update of PPPD to 2.3.11 from 2.3.5 touched these files.
+
+2001-08-16 Mike Siers <mikes@poliac.com>
+
* libc/termios.c: Fix a bug in the termios implementation in
the following scenario:
The General Terminal Interface document that me states that
diff --git a/c/src/lib/include/rtems/termiostypes.h b/c/src/lib/include/rtems/termiostypes.h
index 10baa9a15f..fe19bd4cb4 100644
--- a/c/src/lib/include/rtems/termiostypes.h
+++ b/c/src/lib/include/rtems/termiostypes.h
@@ -22,6 +22,14 @@ extern "C" {
#endif
/*
+ * Wakeup callback data structure
+ */
+struct ttywakeup {
+ void (*sw_pfn)__P((struct termios *tty, void *arg));
+ void *sw_arg;
+};
+
+/*
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
@@ -111,6 +119,12 @@ struct rtems_termios_tty {
*/
int t_line; /* id of line discipline */
void *t_sc; /* hook for discipline-specific data structure */
+ /*
+ * Wakeup callback variables
+ */
+ struct ttywakeup tty_snd;
+ struct ttywakeup tty_rcv;
+ int tty_rcvwakeup;
};
struct linesw {
diff --git a/c/src/lib/include/sys/ioccom.h b/c/src/lib/include/sys/ioccom.h
index 0d15d34b0e..60e16a6c8a 100644
--- a/c/src/lib/include/sys/ioccom.h
+++ b/c/src/lib/include/sys/ioccom.h
@@ -69,6 +69,8 @@
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define RTEMS_IO_RCVWAKEUP 4
+#define RTEMS_IO_SNDWAKEUP 5
/* copied from libnetworking/sys/filio.h and commented out there */
/* Generic file-descriptor ioctl's. */
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index 10baa9a15f..fe19bd4cb4 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/libcsupport/include/rtems/termiostypes.h
@@ -22,6 +22,14 @@ extern "C" {
#endif
/*
+ * Wakeup callback data structure
+ */
+struct ttywakeup {
+ void (*sw_pfn)__P((struct termios *tty, void *arg));
+ void *sw_arg;
+};
+
+/*
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
@@ -111,6 +119,12 @@ struct rtems_termios_tty {
*/
int t_line; /* id of line discipline */
void *t_sc; /* hook for discipline-specific data structure */
+ /*
+ * Wakeup callback variables
+ */
+ struct ttywakeup tty_snd;
+ struct ttywakeup tty_rcv;
+ int tty_rcvwakeup;
};
struct linesw {
diff --git a/cpukit/libcsupport/include/sys/ioccom.h b/cpukit/libcsupport/include/sys/ioccom.h
index 0d15d34b0e..60e16a6c8a 100644
--- a/cpukit/libcsupport/include/sys/ioccom.h
+++ b/cpukit/libcsupport/include/sys/ioccom.h
@@ -69,6 +69,8 @@
#define RTEMS_IO_GET_ATTRIBUTES 1
#define RTEMS_IO_SET_ATTRIBUTES 2
#define RTEMS_IO_TCDRAIN 3
+#define RTEMS_IO_RCVWAKEUP 4
+#define RTEMS_IO_SNDWAKEUP 5
/* copied from libnetworking/sys/filio.h and commented out there */
/* Generic file-descriptor ioctl's. */