Revision 8df1cd07 target-ppc/helper.c

b/target-ppc/helper.c
129 129
    int ret = -1; /* No entry found */
130 130

  
131 131
    for (i = 0; i < 8; i++) {
132
        pte0 = ldl_raw(phys_ram_base + base + (i * 8));
133
        pte1 =  ldl_raw(phys_ram_base + base + (i * 8) + 4);
132
        pte0 = ldl_phys(base + (i * 8));
133
        pte1 =  ldl_phys(base + (i * 8) + 4);
134 134
#if defined (DEBUG_MMU)
135 135
	if (loglevel > 0) {
136 136
	    fprintf(logfile, "Load pte from 0x%08x => 0x%08x 0x%08x "
......
220 220
            }
221 221
        }
222 222
        if (store) {
223
	    stl_raw(phys_ram_base + base + (good * 8) + 4, keep);
223
	    stl_phys_notdirty(base + (good * 8) + 4, keep);
224 224
	}
225 225
    }
226 226

  

Also available in: Unified diff