aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/consolemap.h1
-rw-r--r--include/linux/kbd_diacr.h2
-rw-r--r--include/linux/kd.h10
3 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/consolemap.h b/include/linux/consolemap.h
index 06b2768c603f..e2bf7e5db39a 100644
--- a/include/linux/consolemap.h
+++ b/include/linux/consolemap.h
@@ -16,4 +16,5 @@ extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode);
16extern unsigned short *set_translate(int m, struct vc_data *vc); 16extern unsigned short *set_translate(int m, struct vc_data *vc);
17extern int conv_uni_to_pc(struct vc_data *conp, long ucs); 17extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
18extern u32 conv_8bit_to_uni(unsigned char c); 18extern u32 conv_8bit_to_uni(unsigned char c);
19extern int conv_uni_to_8bit(u32 uni);
19void console_map_init(void); 20void console_map_init(void);
diff --git a/include/linux/kbd_diacr.h b/include/linux/kbd_diacr.h
index 1c1a3ff0535b..7274ec68c246 100644
--- a/include/linux/kbd_diacr.h
+++ b/include/linux/kbd_diacr.h
@@ -2,7 +2,7 @@
2#define _DIACR_H 2#define _DIACR_H
3#include <linux/kd.h> 3#include <linux/kd.h>
4 4
5extern struct kbdiacr accent_table[]; 5extern struct kbdiacruc accent_table[];
6extern unsigned int accent_table_size; 6extern unsigned int accent_table_size;
7 7
8#endif /* _DIACR_H */ 8#endif /* _DIACR_H */
diff --git a/include/linux/kd.h b/include/linux/kd.h
index 28be4fbe9044..c91fc0c9c495 100644
--- a/include/linux/kd.h
+++ b/include/linux/kd.h
@@ -125,6 +125,16 @@ struct kbdiacrs {
125#define KDGKBDIACR 0x4B4A /* read kernel accent table */ 125#define KDGKBDIACR 0x4B4A /* read kernel accent table */
126#define KDSKBDIACR 0x4B4B /* write kernel accent table */ 126#define KDSKBDIACR 0x4B4B /* write kernel accent table */
127 127
128struct kbdiacruc {
129 __u32 diacr, base, result;
130};
131struct kbdiacrsuc {
132 unsigned int kb_cnt; /* number of entries in following array */
133 struct kbdiacruc kbdiacruc[256]; /* MAX_DIACR from keyboard.h */
134};
135#define KDGKBDIACRUC 0x4BFA /* read kernel accent table - UCS */
136#define KDSKBDIACRUC 0x4BFB /* write kernel accent table - UCS */
137
128struct kbkeycode { 138struct kbkeycode {
129 unsigned int scancode, keycode; 139 unsigned int scancode, keycode;
130}; 140};