[FAST486]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 5 Nov 2014 12:45:47 +0000 (12:45 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 5 Nov 2014 12:45:47 +0000 (12:45 +0000)
- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264

reactos/lib/fast486/common.c
reactos/lib/fast486/extraops.c
reactos/lib/fast486/opgroups.c

index 9cbc821..61a120b 100644 (file)
@@ -700,9 +700,9 @@ Fast486TaskSwitch(PFAST486_STATE State, FAST486_TASK_SWITCH_TYPE Type, USHORT Se
         }
 
         if (!Fast486ReadDescriptorEntry(State,
         }
 
         if (!Fast486ReadDescriptorEntry(State,
-                                       NewTss.Ldtr,
-                                       &Valid,
-                                       (PFAST486_GDT_ENTRY)&GdtEntry))
+                                        NewTss.Ldtr,
+                                        &Valid,
+                                        (PFAST486_GDT_ENTRY)&GdtEntry))
         {
             /* Exception occurred */
             return FALSE;
         {
             /* Exception occurred */
             return FALSE;
index 0b96d31..6a73fb8 100644 (file)
@@ -1689,7 +1689,7 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsf)
 
     for (i = 0; i < DataSize; i++)
     {
 
     for (i = 0; i < DataSize; i++)
     {
-        if(Value & (1 << i))
+        if (Value & (1 << i))
         {
             /* Save the bit number */
             BitNumber = i;
         {
             /* Save the bit number */
             BitNumber = i;
@@ -1758,7 +1758,7 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsr)
 
     for (i = DataSize - 1; i >= 0; i--)
     {
 
     for (i = DataSize - 1; i >= 0; i--)
     {
-        if(Value & (1 << i))
+        if (Value & (1 << i))
         {
             /* Save the bit number */
             BitNumber = i;
         {
             /* Save the bit number */
             BitNumber = i;
index 5f1f9c7..95a99cc 100644 (file)
@@ -1765,10 +1765,10 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00)
                 return;
             }
 
                 return;
             }
 
-            if (Fast486ReadDescriptorEntry(State,
-                                           Selector,
-                                           &Valid,
-                                           (PFAST486_GDT_ENTRY)&GdtEntry))
+            if (!Fast486ReadDescriptorEntry(State,
+                                            Selector,
+                                            &Valid,
+                                            (PFAST486_GDT_ENTRY)&GdtEntry))
             {
                 /* Exception occurred */
                 return;
             {
                 /* Exception occurred */
                 return;
@@ -1848,9 +1848,9 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00)
             }
 
             if (!Fast486ReadDescriptorEntry(State,
             }
 
             if (!Fast486ReadDescriptorEntry(State,
-                                           Selector,
-                                           &Valid,
-                                           (PFAST486_GDT_ENTRY)&GdtEntry))
+                                            Selector,
+                                            &Valid,
+                                            (PFAST486_GDT_ENTRY)&GdtEntry))
             {
                 /* Exception occurred */
                 return;
             {
                 /* Exception occurred */
                 return;