Revision 6ebbf390 target-sparc/op_helper.c

b/target-sparc/op_helper.c
1522 1522
   NULL, it means that the function was called in C code (i.e. not
1523 1523
   from generated code or from helper.c) */
1524 1524
/* XXX: fix it to restore all registers */
1525
void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr)
1525
void tlb_fill(target_ulong addr, int is_write, int mmu_idx, void *retaddr)
1526 1526
{
1527 1527
    TranslationBlock *tb;
1528 1528
    int ret;
......
1534 1534
    saved_env = env;
1535 1535
    env = cpu_single_env;
1536 1536

  
1537
    ret = cpu_sparc_handle_mmu_fault(env, addr, is_write, is_user, 1);
1537
    ret = cpu_sparc_handle_mmu_fault(env, addr, is_write, mmu_idx, 1);
1538 1538
    if (ret) {
1539 1539
        if (retaddr) {
1540 1540
            /* now we have a real cpu fault */

Also available in: Unified diff