[NTVDM]: Code formatting only.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 3 Dec 2013 23:50:33 +0000 (23:50 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 3 Dec 2013 23:50:33 +0000 (23:50 +0000)
svn path=/branches/ntvdm/; revision=61210

subsystems/ntvdm/pic.c
subsystems/ntvdm/ps2.c

index ffe2c52..c479dfd 100644 (file)
@@ -199,7 +199,7 @@ VOID PicInterruptRequest(BYTE Number)
 
     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++)
         {
             if (MasterPic.InServiceRegister & (1 << Number)) return;
@@ -226,7 +226,7 @@ VOID PicInterruptRequest(BYTE Number)
             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;
         for (i = 0; i <= Number; i++)
         {
index 13c9406..507e21c 100644 (file)
@@ -96,7 +96,6 @@ VOID KeyboardWriteCommand(BYTE Command)
         {
             KeyboardResponse = KeyboardConfig;
             KeyboardReadResponse = TRUE;
-
             break;
         }
 
@@ -114,7 +113,6 @@ VOID KeyboardWriteCommand(BYTE Command)
             /* These commands require a response */
             KeyboardResponse = Command;
             KeyboardWriteResponse = TRUE;
-
             break;
         }
 
@@ -122,7 +120,6 @@ VOID KeyboardWriteCommand(BYTE Command)
         case 0xA7:
         {
             // TODO: Mouse support
-
             break;
         }
 
@@ -130,7 +127,6 @@ VOID KeyboardWriteCommand(BYTE Command)
         case 0xA8:
         {
             // TODO: Mouse support
-
             break;
         }
 
@@ -139,7 +135,6 @@ VOID KeyboardWriteCommand(BYTE Command)
         {
             KeyboardResponse = 0;
             KeyboardReadResponse = TRUE;
-
             break;
         }
 
@@ -148,7 +143,6 @@ VOID KeyboardWriteCommand(BYTE Command)
         {
             KeyboardResponse = 0x55;
             KeyboardReadResponse = TRUE;
-
             break;
         }
 
@@ -185,7 +179,6 @@ VOID KeyboardWriteCommand(BYTE Command)
         {
             /* Stop the simulation */
             VdmRunning = FALSE;
-
             break;
         }
     }
@@ -245,7 +238,6 @@ VOID KeyboardWriteData(BYTE Data)
             {
                 /* Push the data byte to the keyboard queue */
                 KeyboardQueuePush(Data);
-
                 break;
             }
 
@@ -323,7 +315,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter)
 
                 /* Keyboard IRQ */
                 PicInterruptRequest(1);
-
                 break;
             }
 
@@ -331,7 +322,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter)
             {
                 // TODO: NOT IMPLEMENTED
                 UNIMPLEMENTED;
-
                 break;
             }