--- trunk/src/cpus/cpu_mips.c 2007/10/08 16:18:51 14 +++ trunk/src/cpus/cpu_mips.c 2007/10/08 16:19:23 20 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: cpu_mips.c,v 1.3 2005/09/19 20:10:57 debug Exp $ + * $Id: cpu_mips.c,v 1.8 2005/11/13 00:14:07 debug Exp $ * * MIPS core CPU emulation. */ @@ -158,7 +158,7 @@ cpu->byte_order = EMUL_LITTLE_ENDIAN; cpu->cd.mips.gpr[MIPS_GPR_SP] = INITIAL_STACK_POINTER; cpu->update_translation_table = mips_update_translation_table; - cpu->invalidate_translation_caches_paddr = + cpu->invalidate_translation_caches = mips_invalidate_translation_caches_paddr; if (cpu->cd.mips.cpu_type.isa_level <= 2 || @@ -1468,7 +1468,7 @@ * Acknowledge an interrupt. If irq_nr is 2..7, then it is a MIPS hardware * interrupt. Interrupts 0..1 are ignored (software interrupts). * - * If irq_nr is >= 8, then it is machine dependant, and md_interrupt() is + * If irq_nr is >= 8, then it is machine dependent, and md_interrupt() is * called. */ int mips_cpu_interrupt_ack(struct cpu *cpu, uint64_t irq_nr) @@ -1930,7 +1930,6 @@ } } - /* * ROM emulation: (0xbfcXXXXX or 0x9fcXXXXX) * @@ -4148,7 +4147,9 @@ } -CPU_FAMILY_INIT(mips,"MIPS") +/* NOTE: _OLD_ family init. TODO: remove all this */ + +CPU_OLD_FAMILY_INIT(mips,"MIPS") #endif /* ENABLE_MIPS */