[NTVDM]: Code formatting only.

svn path=/branches/ntvdm/; revision=61210
This commit is contained in:
Hermès Bélusca-Maïto 2013-12-03 23:50:33 +00:00
parent 978c08c15c
commit aad49cc77c
2 changed files with 2 additions and 12 deletions

View file

@ -199,7 +199,7 @@ VOID PicInterruptRequest(BYTE Number)
if (Number >= 0 && Number < 8) if (Number >= 0 && Number < 8)
{ {
/* Check if any of the higher-priorirty interrupts are busy */ /* Check if any of the higher-priority interrupts are busy */
for (i = 0; i <= Number ; i++) for (i = 0; i <= Number ; i++)
{ {
if (MasterPic.InServiceRegister & (1 << Number)) return; if (MasterPic.InServiceRegister & (1 << Number)) return;
@ -226,7 +226,7 @@ VOID PicInterruptRequest(BYTE Number)
return; return;
} }
/* Check if any of the higher-priorirty interrupts are busy */ /* Check if any of the higher-priority interrupts are busy */
if (MasterPic.InServiceRegister != 0) return; if (MasterPic.InServiceRegister != 0) return;
for (i = 0; i <= Number; i++) for (i = 0; i <= Number; i++)
{ {

View file

@ -96,7 +96,6 @@ VOID KeyboardWriteCommand(BYTE Command)
{ {
KeyboardResponse = KeyboardConfig; KeyboardResponse = KeyboardConfig;
KeyboardReadResponse = TRUE; KeyboardReadResponse = TRUE;
break; break;
} }
@ -114,7 +113,6 @@ VOID KeyboardWriteCommand(BYTE Command)
/* These commands require a response */ /* These commands require a response */
KeyboardResponse = Command; KeyboardResponse = Command;
KeyboardWriteResponse = TRUE; KeyboardWriteResponse = TRUE;
break; break;
} }
@ -122,7 +120,6 @@ VOID KeyboardWriteCommand(BYTE Command)
case 0xA7: case 0xA7:
{ {
// TODO: Mouse support // TODO: Mouse support
break; break;
} }
@ -130,7 +127,6 @@ VOID KeyboardWriteCommand(BYTE Command)
case 0xA8: case 0xA8:
{ {
// TODO: Mouse support // TODO: Mouse support
break; break;
} }
@ -139,7 +135,6 @@ VOID KeyboardWriteCommand(BYTE Command)
{ {
KeyboardResponse = 0; KeyboardResponse = 0;
KeyboardReadResponse = TRUE; KeyboardReadResponse = TRUE;
break; break;
} }
@ -148,7 +143,6 @@ VOID KeyboardWriteCommand(BYTE Command)
{ {
KeyboardResponse = 0x55; KeyboardResponse = 0x55;
KeyboardReadResponse = TRUE; KeyboardReadResponse = TRUE;
break; break;
} }
@ -185,7 +179,6 @@ VOID KeyboardWriteCommand(BYTE Command)
{ {
/* Stop the simulation */ /* Stop the simulation */
VdmRunning = FALSE; VdmRunning = FALSE;
break; break;
} }
} }
@ -245,7 +238,6 @@ VOID KeyboardWriteData(BYTE Data)
{ {
/* Push the data byte to the keyboard queue */ /* Push the data byte to the keyboard queue */
KeyboardQueuePush(Data); KeyboardQueuePush(Data);
break; break;
} }
@ -323,7 +315,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter)
/* Keyboard IRQ */ /* Keyboard IRQ */
PicInterruptRequest(1); PicInterruptRequest(1);
break; break;
} }
@ -331,7 +322,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter)
{ {
// TODO: NOT IMPLEMENTED // TODO: NOT IMPLEMENTED
UNIMPLEMENTED; UNIMPLEMENTED;
break; break;
} }