Handle ACKs, NACKs and restore state on booting
This commit is contained in:
parent
400ef90dba
commit
f0b02c9c86
2 changed files with 88 additions and 29 deletions
|
@ -28,6 +28,8 @@
|
|||
#define KEYBOARD_AT_TRANSLATE 0x40
|
||||
|
||||
#define GRUB_AT_ACK 0xfa
|
||||
#define GRUB_AT_NACK 0xfe
|
||||
#define GRUB_AT_TRIES 5
|
||||
|
||||
#define KEYBOARD_ISMAKE(x) !((x) & 0x80)
|
||||
#define KEYBOARD_ISREADY(x) ((x) & 0x01)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue