summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include
diff options
context:
space:
mode:
authorKevin Kirspel <kevin-kirspel@idexx.com>2017-05-04 08:27:59 -0400
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-05-11 11:15:41 +0200
commit880a17cb0b8a3a47390c9a1904ee82335cc8eabb (patch)
tree71facf3fb773be9fc3d09812a3f0508b5cc8d3e8 /rtemsbsd/include
parentUpdating FREEBSD for tty support (diff)
downloadrtems-libbsd-880a17cb0b8a3a47390c9a1904ee82335cc8eabb.tar.bz2
Adding RTEMS support for FREEBSD TTY
Diffstat (limited to 'rtemsbsd/include')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-commands.h2
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-kernel-space.h1
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_gdb.h1
-rw-r--r--rtemsbsd/include/rtems/netcmds-config.h2
4 files changed, 6 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-commands.h b/rtemsbsd/include/machine/rtems-bsd-commands.h
index c0524c8a..9e9ed1c5 100644
--- a/rtemsbsd/include/machine/rtems-bsd-commands.h
+++ b/rtemsbsd/include/machine/rtems-bsd-commands.h
@@ -70,6 +70,8 @@ int rtems_bsd_command_vmstat(int argc, char **argv);
int rtems_bsd_command_wlanstats(int argc, char **argv);
+int rtems_bsd_command_stty(int argc, char **argv);
+
__END_DECLS
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_COMMANDS_H_ */
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
index 10ce9d2d..9d0484a4 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
@@ -48,6 +48,7 @@
#define __GLOBL(sym) __GLOBL1(sym)
#define O_CLOEXEC 0
+#define IO_NDELAY O_NONBLOCK
#define __FreeBSD__ 1
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_gdb.h b/rtemsbsd/include/rtems/bsd/local/opt_gdb.h
new file mode 100644
index 00000000..936ffd88
--- /dev/null
+++ b/rtemsbsd/include/rtems/bsd/local/opt_gdb.h
@@ -0,0 +1 @@
+/* EMPTY */
diff --git a/rtemsbsd/include/rtems/netcmds-config.h b/rtemsbsd/include/rtems/netcmds-config.h
index b3bc66f2..515b265e 100644
--- a/rtemsbsd/include/rtems/netcmds-config.h
+++ b/rtemsbsd/include/rtems/netcmds-config.h
@@ -45,6 +45,8 @@ extern rtems_shell_cmd_t rtems_shell_VMSTAT_Command;
extern rtems_shell_cmd_t rtems_shell_WLANSTATS_Command;
+extern rtems_shell_cmd_t rtems_shell_STTY_Command;
+
#ifdef __cplusplus
}
#endif /* __cplusplus */