[FAST486]

- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264
This commit is contained in:
Hermès Bélusca-Maïto 2014-11-05 12:45:47 +00:00
parent 254daee831
commit 895a44acc9
3 changed files with 12 additions and 12 deletions

View file

@ -700,9 +700,9 @@ Fast486TaskSwitch(PFAST486_STATE State, FAST486_TASK_SWITCH_TYPE Type, USHORT Se
}
if (!Fast486ReadDescriptorEntry(State,
NewTss.Ldtr,
&Valid,
(PFAST486_GDT_ENTRY)&GdtEntry))
NewTss.Ldtr,
&Valid,
(PFAST486_GDT_ENTRY)&GdtEntry))
{
/* Exception occurred */
return FALSE;

View file

@ -1689,7 +1689,7 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsf)
for (i = 0; i < DataSize; i++)
{
if(Value & (1 << i))
if (Value & (1 << i))
{
/* Save the bit number */
BitNumber = i;
@ -1758,7 +1758,7 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsr)
for (i = DataSize - 1; i >= 0; i--)
{
if(Value & (1 << i))
if (Value & (1 << i))
{
/* Save the bit number */
BitNumber = i;

View file

@ -1765,10 +1765,10 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00)
return;
}
if (Fast486ReadDescriptorEntry(State,
Selector,
&Valid,
(PFAST486_GDT_ENTRY)&GdtEntry))
if (!Fast486ReadDescriptorEntry(State,
Selector,
&Valid,
(PFAST486_GDT_ENTRY)&GdtEntry))
{
/* Exception occurred */
return;
@ -1848,9 +1848,9 @@ FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00)
}
if (!Fast486ReadDescriptorEntry(State,
Selector,
&Valid,
(PFAST486_GDT_ENTRY)&GdtEntry))
Selector,
&Valid,
(PFAST486_GDT_ENTRY)&GdtEntry))
{
/* Exception occurred */
return;