Author: aandrejevic Date: Thu Feb 27 03:57:20 2014 New Revision: 62345
URL: http://svn.reactos.org/svn/reactos?rev=62345&view=rev Log: [FAST486] Fix the previous commit. FPU_CHECK should be called after the fetch.
Modified: branches/ntvdm/lib/fast486/fpu.c
Modified: branches/ntvdm/lib/fast486/fpu.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/fpu.c?rev=6234... ============================================================================== --- branches/ntvdm/lib/fast486/fpu.c [iso-8859-1] (original) +++ branches/ntvdm/lib/fast486/fpu.c [iso-8859-1] Thu Feb 27 03:57:20 2014 @@ -37,14 +37,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -61,14 +61,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -85,14 +85,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -109,14 +109,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -133,14 +133,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -157,14 +157,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -181,14 +181,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED @@ -205,14 +205,14 @@ { UCHAR Function;
- FPU_CHECK(); - - /* Fetch the function number */ - if (!Fast486FetchByte(State, &Function)) - { - /* Exception occurred */ - return FALSE; - } + /* Fetch the function number */ + if (!Fast486FetchByte(State, &Function)) + { + /* Exception occurred */ + return FALSE; + } + + FPU_CHECK();
#ifndef FAST486_NO_FPU // TODO: NOT IMPLEMENTED