Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * consolemap.h |
| 3 | * |
| 4 | * Interface between console.c, selection.c and consolemap.c |
| 5 | */ |
| 6 | #define LAT1_MAP 0 |
| 7 | #define GRAF_MAP 1 |
| 8 | #define IBMPC_MAP 2 |
| 9 | #define USER_MAP 3 |
| 10 | |
Jan Engelhardt | 759448f | 2007-07-15 23:40:40 -0700 | [diff] [blame] | 11 | #include <linux/types.h> |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | struct vc_data; |
| 14 | |
Jan Engelhardt | 759448f | 2007-07-15 23:40:40 -0700 | [diff] [blame] | 15 | extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | extern unsigned short *set_translate(int m, struct vc_data *vc); |
| 17 | extern int conv_uni_to_pc(struct vc_data *conp, long ucs); |
Jan Engelhardt | 759448f | 2007-07-15 23:40:40 -0700 | [diff] [blame] | 18 | extern u32 conv_8bit_to_uni(unsigned char c); |
Adrian Bunk | 3cb340e | 2006-10-03 01:15:06 -0700 | [diff] [blame] | 19 | void console_map_init(void); |