xref: /openbmc/linux/arch/sparc/include/uapi/asm/termios.h (revision 9cfc5c90)
1 #ifndef _UAPI_SPARC_TERMIOS_H
2 #define _UAPI_SPARC_TERMIOS_H
3 
4 #include <asm/ioctls.h>
5 #include <asm/termbits.h>
6 
7 #if defined(__KERNEL__) || defined(__DEFINE_BSD_TERMIOS)
8 struct sgttyb {
9 	char	sg_ispeed;
10 	char	sg_ospeed;
11 	char	sg_erase;
12 	char	sg_kill;
13 	short	sg_flags;
14 };
15 
16 struct tchars {
17 	char	t_intrc;
18 	char	t_quitc;
19 	char	t_startc;
20 	char	t_stopc;
21 	char	t_eofc;
22 	char	t_brkc;
23 };
24 
25 struct ltchars {
26 	char	t_suspc;
27 	char	t_dsuspc;
28 	char	t_rprntc;
29 	char	t_flushc;
30 	char	t_werasc;
31 	char	t_lnextc;
32 };
33 #endif /* __KERNEL__ */
34 
35 struct winsize {
36 	unsigned short ws_row;
37 	unsigned short ws_col;
38 	unsigned short ws_xpixel;
39 	unsigned short ws_ypixel;
40 };
41 
42 
43 #endif /* _UAPI_SPARC_TERMIOS_H */
44