summaryrefslogtreecommitdiffstats
path: root/include/linux/consolemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/consolemap.h')
-rw-r--r--include/linux/consolemap.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/consolemap.h b/include/linux/consolemap.h
new file mode 100644
index 00000000000..65842efc1b7
--- /dev/null
+++ b/include/linux/consolemap.h
@@ -0,0 +1,15 @@
+/*
+ * consolemap.h
+ *
+ * Interface between console.c, selection.c and consolemap.c
+ */
+#define LAT1_MAP 0
+#define GRAF_MAP 1
+#define IBMPC_MAP 2
+#define USER_MAP 3
+
+struct vc_data;
+
+extern unsigned char inverse_translate(struct vc_data *conp, int glyph);
+extern unsigned short *set_translate(int m, struct vc_data *vc);
+extern int conv_uni_to_pc(struct vc_data *conp, long ucs);