Revision 4fcc562b target-m68k/helper.c

b/target-m68k/helper.c
342 342
    env->current_sp = new_sp;
343 343
}
344 344

  
345
/* MMU */
346

  
347
/* TODO: This will need fixing once the MMU is implemented.  */
348
target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
349
{
350
    return addr;
351
}
352

  
353 345
#if defined(CONFIG_USER_ONLY)
354 346

  
355 347
int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
......
362 354

  
363 355
#else
364 356

  
357
/* MMU */
358

  
359
/* TODO: This will need fixing once the MMU is implemented.  */
360
target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
361
{
362
    return addr;
363
}
364

  
365 365
int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
366 366
                               int mmu_idx, int is_softmmu)
367 367
{

Also available in: Unified diff