49 0xc1,0xc0,0xd8,0xdb,0xbf,0x05,0x76,0xbf,
50 0xbf,0x80,0x78,0xbf,0xbf,0x07,0x88,0xc2,
51 0x03,0x09,0xd9,0x16,0xbf,0x06,0x0e,0x81,
52 0xbf,0xbf,0xee,0xbf,0xbf,0x55,0x9a,0x89,
53 0x1e,0x15,0x36,0xda,0xe8,0xbf,0x0d,0xbf,
54 0xbf,0xbf,0xbf,0xa3,0xbf,0x4e,0x66,0x8b,
55 0x1d,0x2e,0xe6,0xe7,0xe5,0x1c,0x58,0xbf,
56 0x82,0xbf,0xf0,0xbf,0xbf,0x5b,0x5d,0x8c,
57 0x22,0x25,0x2c,0x35,0xe1,0x1a,0x96,0xbf,
58 0xbf,0xbf,0xec,0xbf,0xbf,0x54,0xf1,0x8f,
59 0x1b,0x2a,0x2b,0x32,0xe9,0x31,0x29,0x61,
60 0xbf,0xbf,0x8d,0xbf,0x86,0xc3,0x92,0x93,
61 0x21,0x23,0x34,0x33,0x41,0xe0,0xbf,0xbf,
62 0xbf,0x85,0xeb,0xbf,0xb6,0xbf,0x91,0xbf,
63 0x26,0x24,0x2d,0xe3,0xe2,0xe4,0xbf,0xbf,
64 0x87,0xbf,0xea,0xbf,0xbf,0x52,0x90,0x8e,
68 0x04,0xbd,0x0c,0xbe,0x7e,0x9a,0x8a,0xb6,
69 0x92,0x8f,0x93,0x8e,0x81,0x86,0x82,0x87,
70 0x8a,0x9a,0x8d,0x7e,0x88,0x84,0x7e,0x78,
71 0x77,0x07,0x77,0x98,0x89,0xb2,0x05,0x9b,
72 0x78,0x84,0x07,0x88,0x8a,0x7e,0x05,0xa6,
73 0x06,0xa7,0x04,0xa8,0x0c,0xa9,0x03,0xaa,
74 0x0b,0xc1,0x83,0xc0,0x0a,0xad,0x01,0xae,
75 0x09,0xaf,0x78,0xb0,0x07,0xb1,0x1a,0x61,
76 0x3b,0x69,0x42,0x72,0x4b,0x7a,0x3c,0x6b,
77 0x43,0x73,0x44,0x74,0x3d,0x6c,0x3e,0x75,
78 0x46,0x7d,0x3a,0x70,0x49,0x71,0x4a,0x94,
79 0x4c,0x79,0x4c,0x7c,0x45,0x7c,0x45,0x79,
80 0x4d,0x7b,0x5a,0x95,0x4c,0x7b,0x45,0x7b,
81 0x4d,0x79,0x4d,0x7c,0x4e,0x7b,0x54,0x95,
82 0x52,0x7c,0x45,0x94,0x4a,0x79,0xb3,0x95,
83 0xb4,0x7b,0xb5,0x7c,0x00,0x00,0x55,0x79,
89 #define KBD_IBF (1 << 1)
90 #define KBD_OBF (1 << 0)
99 if ((timeout & 0xff) == 0)
118 if ((timeout & 0xff) == 0)
142 if ((timeout & 0xff) == 0)
214 u8 kstate5_flags, offs, maxvars;
234 if ((offs > 0xc0) || (offs < 0x80)) {
235 printk(
BIOS_DEBUG,
"M388x does not have a valid RAM offset (0x%x)\n", offs);
#define printk(level,...)
void outb(u8 val, u16 port)
int ec_write(u8 addr, u8 data)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.
static void m3885_set_variable(u8 index, u8 data)
static int send_kbd_command(u8 command)
void m3885_configure_multikey(void)
static u8 m3885_get_variable(u8 index)
static u8 m3885_get_proc_ram(u8 index)
static u8 m3885_read_port(void)
static void m3885_set_proc_ram(u8 index, u8 data)
static u8 recv_kbd_data(void)
static int send_kbd_data(u8 data)