--- qemu/linux-user/arm/nwfpe/fpa11.c 2018/04/24 17:23:06 1.1.1.2
+++ qemu/linux-user/arm/nwfpe/fpa11.c 2018/04/24 18:26:35 1.1.1.4
@@ -15,8 +15,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ along with this program; if not, see .
*/
#include "fpa11.h"
@@ -30,7 +29,7 @@
#include
-FPA11* qemufpa=0;
+FPA11* qemufpa = NULL;
CPUARMState* user_registers;
/* Reset the FPA11 chip. Called to initialize and reset the emulator. */
@@ -191,7 +190,7 @@ unsigned int EmulateAll(unsigned int opc
if(nRc == 1 && get_float_exception_flags(&fpa11->fp_status))
{
//printf("fef 0x%x\n",float_exception_flags);
- nRc=-get_float_exception_flags(&fpa11->fp_status);
+ nRc = -get_float_exception_flags(&fpa11->fp_status);
}
//printf("returning %d\n",nRc);