mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Fix some bugs.
svn path=/trunk/; revision=43217
This commit is contained in:
parent
2b337a70b8
commit
e654206923
2 changed files with 2 additions and 3 deletions
|
@ -1327,6 +1327,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
strcpy(GspOutBuffer, "E03");
|
||||
DPRINT1("Fault during memory read\n");
|
||||
}
|
||||
ptr = NULL;
|
||||
}
|
||||
|
||||
if (NULL != ptr)
|
||||
|
|
|
@ -112,9 +112,7 @@ KdbpTryGetCharKeyboard(PULONG ScanCode, ULONG Retry)
|
|||
|
||||
while (KeepRetrying || Retry-- > 0)
|
||||
{
|
||||
unsigned char status = kbd_read_status();
|
||||
|
||||
while (status & KBD_STAT_OBF)
|
||||
while (kbd_read_status() & KBD_STAT_OBF)
|
||||
{
|
||||
byte_t scancode;
|
||||
|
||||
|
|
Loading…
Reference in a new issue