Revision 0d84be5b target-cris/mmu.c

b/target-cris/mmu.c
327 327
		       CPUState *env, uint32_t vaddr,
328 328
		       int rw, int mmu_idx)
329 329
{
330
	uint32_t phy = vaddr;
331 330
	int seg;
332 331
	int miss = 0;
333 332
	int is_user = mmu_idx == MMU_USER_IDX;
......
351 350

  
352 351
		miss = 0;
353 352
		base = cris_mmu_translate_seg(env, seg);
354
		phy = base | (0x0fffffff & vaddr);
355
		res->phy = phy;
353
                res->phy = base | (0x0fffffff & vaddr);
356 354
		res->prot = PAGE_BITS;
357 355
	}
358 356
	else

Also available in: Unified diff