Adding RTEMS support for FREEBSD TTY

This commit is contained in:
Kevin Kirspel
2017-05-04 08:27:59 -04:00
committed by Sebastian Huber
parent 4a8f953f62
commit 880a17cb0b
6 changed files with 126 additions and 6 deletions

View File

@@ -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_ */

View File

@@ -48,6 +48,7 @@
#define __GLOBL(sym) __GLOBL1(sym)
#define O_CLOEXEC 0
#define IO_NDELAY O_NONBLOCK
#define __FreeBSD__ 1

View File

@@ -0,0 +1 @@
/* EMPTY */

View File

@@ -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 */