Wait for ACKs when setting the mode

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-23 11:26:28 +02:00
parent b88904ca7f
commit 7ae3eb6232
2 changed files with 31 additions and 9 deletions

View file

@ -27,6 +27,8 @@
#define KEYBOARD_AT_TRANSLATE 0x40
#define GRUB_AT_ACK 0xfa
#define KEYBOARD_ISMAKE(x) !((x) & 0x80)
#define KEYBOARD_ISREADY(x) ((x) & 0x01)
#define KEYBOARD_SCANCODE(x) ((x) & 0x7f)