blob: 06b2768c603f6a9ff0aeb70ef050245698b5ee78 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Engelhardt759448f2007-07-15 23:40:40 -070011#include <linux/types.h>
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013struct vc_data;
14
Jan Engelhardt759448f2007-07-15 23:40:40 -070015extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016extern unsigned short *set_translate(int m, struct vc_data *vc);
17extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
Jan Engelhardt759448f2007-07-15 23:40:40 -070018extern u32 conv_8bit_to_uni(unsigned char c);
Adrian Bunk3cb340e2006-10-03 01:15:06 -070019void console_map_init(void);