aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/port/os/types.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-12-10 09:16:08 -0800
committerNicholas Noll <nbnoll@eml.cc>2021-12-10 09:16:08 -0800
commit25537c3d3b9b68af91573dec39d1f46c3d97f735 (patch)
tree3f2ea6207a28fe9610d767dd78fb24d17f858ce0 /sys/linux/port/os/types.h
parentf4aef385bdd41b02ef58b5366fa9318ecdc6e37e (diff)
Checkin: small sprawling updates
Small touches to multiple locations in base. Nothing major
Diffstat (limited to 'sys/linux/port/os/types.h')
-rw-r--r--sys/linux/port/os/types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/linux/port/os/types.h b/sys/linux/port/os/types.h
index e772b35..9452e39 100644
--- a/sys/linux/port/os/types.h
+++ b/sys/linux/port/os/types.h
@@ -108,4 +108,22 @@ struct sys·DirEntry
char name[]; /* filename */
};
+/*
+ * terminal
+ */
+
+/* termios
+ * NOTE: this is incorrect for Mips and PowerPC...
+ */
+typedef struct sys·TerminalIO sys·TerminalIO;
+
+struct sys·TerminalIO
+{
+ uint i,o,c,l; /* input,output,control,local flags */
+ uchar line;
+ uchar ctrl[32]; /* control chars */
+ uint ispeed; /* input speed */
+ uint ospeed; /* output speed */
+};
+
#undef packed