mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 18:40:59 +00:00
[NTVDM]
For diagnostic/debugging purposes, prefill the keyboard buffer with invalid values. svn path=/trunk/; revision=63298
This commit is contained in:
parent
dea92c0361
commit
f75a2aec51
|
@ -273,6 +273,9 @@ BOOLEAN KbdBios32Initialize(VOID)
|
||||||
Bda->KeybdBufferEnd = Bda->KeybdBufferStart + BIOS_KBD_BUFFER_SIZE * sizeof(WORD);
|
Bda->KeybdBufferEnd = Bda->KeybdBufferStart + BIOS_KBD_BUFFER_SIZE * sizeof(WORD);
|
||||||
Bda->KeybdBufferHead = Bda->KeybdBufferTail = 0;
|
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 */
|
/* Register the BIOS 32-bit Interrupts */
|
||||||
|
|
||||||
/* Initialize software vector handlers */
|
/* Initialize software vector handlers */
|
||||||
|
|
Loading…
Reference in a new issue