For diagnostic/debugging purposes, prefill the keyboard buffer with invalid values.

svn path=/trunk/; revision=63298
This commit is contained in:
Hermès Bélusca-Maïto 2014-05-14 19:19:57 +00:00
parent dea92c0361
commit f75a2aec51

View file

@ -273,6 +273,9 @@ BOOLEAN KbdBios32Initialize(VOID)
Bda->KeybdBufferEnd = Bda->KeybdBufferStart + BIOS_KBD_BUFFER_SIZE * sizeof(WORD);
Bda->KeybdBufferHead = Bda->KeybdBufferTail = 0;
// FIXME: Fill the keyboard buffer with invalid values, for diagnostic purposes...
RtlFillMemory(((LPVOID)((ULONG_PTR)Bda + Bda->KeybdBufferStart)), BIOS_KBD_BUFFER_SIZE * sizeof(WORD), 'A');
/* Register the BIOS 32-bit Interrupts */
/* Initialize software vector handlers */