blob: 281eee87e2457a5ea9fdd09824c4163c486e5e11 [file] [log] [blame]
Christopher Ferris80ae69d2022-08-02 16:32:21 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __ASM_GENERIC_TERMBITS_COMMON_H
20#define __ASM_GENERIC_TERMBITS_COMMON_H
21typedef unsigned char cc_t;
22typedef unsigned int speed_t;
23#define IGNBRK 0x001
24#define BRKINT 0x002
25#define IGNPAR 0x004
26#define PARMRK 0x008
27#define INPCK 0x010
28#define ISTRIP 0x020
29#define INLCR 0x040
30#define IGNCR 0x080
31#define ICRNL 0x100
32#define IXANY 0x800
33#define OPOST 0x01
34#define OCRNL 0x08
35#define ONOCR 0x10
36#define ONLRET 0x20
37#define OFILL 0x40
38#define OFDEL 0x80
39#define B0 0x00000000
40#define B50 0x00000001
41#define B75 0x00000002
42#define B110 0x00000003
43#define B134 0x00000004
44#define B150 0x00000005
45#define B200 0x00000006
46#define B300 0x00000007
47#define B600 0x00000008
48#define B1200 0x00000009
49#define B1800 0x0000000a
50#define B2400 0x0000000b
51#define B4800 0x0000000c
52#define B9600 0x0000000d
53#define B19200 0x0000000e
54#define B38400 0x0000000f
55#define EXTA B19200
56#define EXTB B38400
Christopher Ferris7447a1c2022-10-04 18:24:44 -070057#define ADDRB 0x20000000
Christopher Ferris80ae69d2022-08-02 16:32:21 -070058#define CMSPAR 0x40000000
59#define CRTSCTS 0x80000000
60#define IBSHIFT 16
61#define TCOOFF 0
62#define TCOON 1
63#define TCIOFF 2
64#define TCION 3
65#define TCIFLUSH 0
66#define TCOFLUSH 1
67#define TCIOFLUSH 2
68#endif