arch/alpha/include/uapi/asm/termbits.h
Source file repositories/reference/linux-study-clean/arch/alpha/include/uapi/asm/termbits.h
File Facts
- System
- Linux kernel
- Corpus path
arch/alpha/include/uapi/asm/termbits.h- Extension
.h- Size
- 4243 bytes
- Lines
- 168
- Domain
- Architecture Layer
- Bucket
- arch/alpha
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm-generic/termbits-common.h
Detected Declarations
struct termiosstruct termios2struct ktermios
Annotated Snippet
struct termios {
tcflag_t c_iflag; /* input mode flags */
tcflag_t c_oflag; /* output mode flags */
tcflag_t c_cflag; /* control mode flags */
tcflag_t c_lflag; /* local mode flags */
cc_t c_cc[NCCS]; /* control characters */
cc_t c_line; /* line discipline (== c_cc[19]) */
speed_t c_ispeed; /* input speed */
speed_t c_ospeed; /* output speed */
};
/* Alpha has identical termios and termios2 */
struct termios2 {
tcflag_t c_iflag; /* input mode flags */
tcflag_t c_oflag; /* output mode flags */
tcflag_t c_cflag; /* control mode flags */
tcflag_t c_lflag; /* local mode flags */
cc_t c_cc[NCCS]; /* control characters */
cc_t c_line; /* line discipline (== c_cc[19]) */
speed_t c_ispeed; /* input speed */
speed_t c_ospeed; /* output speed */
};
/* Alpha has matching termios and ktermios */
struct ktermios {
tcflag_t c_iflag; /* input mode flags */
tcflag_t c_oflag; /* output mode flags */
tcflag_t c_cflag; /* control mode flags */
tcflag_t c_lflag; /* local mode flags */
cc_t c_cc[NCCS]; /* control characters */
cc_t c_line; /* line discipline (== c_cc[19]) */
speed_t c_ispeed; /* input speed */
speed_t c_ospeed; /* output speed */
};
/* c_cc characters */
#define VEOF 0
#define VEOL 1
#define VEOL2 2
#define VERASE 3
#define VWERASE 4
#define VKILL 5
#define VREPRINT 6
#define VSWTC 7
#define VINTR 8
#define VQUIT 9
#define VSUSP 10
#define VSTART 12
#define VSTOP 13
#define VLNEXT 14
#define VDISCARD 15
#define VMIN 16
#define VTIME 17
/* c_iflag bits */
#define IXON 0x0200
#define IXOFF 0x0400
#define IUCLC 0x1000
#define IMAXBEL 0x2000
#define IUTF8 0x4000
/* c_oflag bits */
#define ONLCR 0x00002
#define OLCUC 0x00004
#define NLDLY 0x00300
#define NL0 0x00000
#define NL1 0x00100
#define NL2 0x00200
#define NL3 0x00300
#define TABDLY 0x00c00
#define TAB0 0x00000
#define TAB1 0x00400
#define TAB2 0x00800
#define TAB3 0x00c00
#define CRDLY 0x03000
#define CR0 0x00000
#define CR1 0x01000
#define CR2 0x02000
#define CR3 0x03000
#define FFDLY 0x04000
#define FF0 0x00000
#define FF1 0x04000
#define BSDLY 0x08000
#define BS0 0x00000
#define BS1 0x08000
#define VTDLY 0x10000
#define VT0 0x00000
#define VT1 0x10000
Annotation
- Immediate include surface: `asm-generic/termbits-common.h`.
- Detected declarations: `struct termios`, `struct termios2`, `struct ktermios`.
- Atlas domain: Architecture Layer / arch/alpha.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.