--- np2/i386c/ia32/ia32.c 2004/03/29 05:50:29 1.15 +++ np2/i386c/ia32/ia32.c 2005/03/12 12:32:54 1.18 @@ -1,4 +1,4 @@ -/* $Id: ia32.c,v 1.15 2004/03/29 05:50:29 yui Exp $ */ +/* $Id: ia32.c,v 1.18 2005/03/12 12:32:54 monaka Exp $ */ /* * Copyright (c) 2002-2003 NONAKA Kimihiro @@ -12,8 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -31,7 +29,6 @@ #include "cpu.h" #include "ia32.mcr" - I386CORE i386core; UINT8 *reg8_b20[0x100]; @@ -41,7 +38,6 @@ UINT16 *reg16_b53[0x100]; UINT32 *reg32_b20[0x100]; UINT32 *reg32_b53[0x100]; - void ia32_init(void) { @@ -78,9 +74,6 @@ ia32_init(void) } resolve_init(); -#ifdef USE_FPU - fpu_init(); -#endif } void @@ -150,8 +143,6 @@ change_pm(BOOL onoff) CPU_STAT_SS32 = 0; CPU_SET_CPL(0); CPU_STAT_PM = onoff; - - tlb_flush(TRUE); } void FASTCALL @@ -164,8 +155,6 @@ change_pg(BOOL onoff) VERBOSE(("Leaveing from Paging-Mode...")); } CPU_STAT_PAGING = onoff; - - tlb_flush(TRUE); } void FASTCALL