summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh1/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-08 13:50:56 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-09 16:14:16 -0500
commit867a54a276d33e7e88da030c3fd7146fad53a89c (patch)
treee99a20987dc1d3f85d7ccd54df6c885e3e10ed0c /c/src/lib/libbsp/sh/gensh1/include
parentgensh4/include/bsp.h: Remove unused prototype and include (diff)
downloadrtems-867a54a276d33e7e88da030c3fd7146fad53a89c.tar.bz2
gensh1/include/bsp.h: Add needed prototype
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh1/include')
-rw-r--r--c/src/lib/libbsp/sh/gensh1/include/bsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/include/bsp.h b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
index ced4967c93..0b023eb591 100644
--- a/c/src/lib/libbsp/sh/gensh1/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
@@ -28,6 +28,7 @@
#include <rtems.h>
#include <rtems/clockdrv.h>
#include <rtems/console.h>
+#include <termios.h> /* for tcflag_t */
#include <bspopts.h>
#include <bsp/default-initial-extension.h>
@@ -74,6 +75,12 @@ extern void *CPU_Interrupt_stack_high;
*/
void bsp_hw_init(void);
+extern int _sci_get_brparms(
+ tcflag_t cflag,
+ unsigned char *smr,
+ unsigned char *brr
+);
+
#ifdef __cplusplus
}
#endif