mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue