Revision 3aa662fa target-sparc/helper.c
b/target-sparc/helper.c | ||
---|---|---|
129 | 129 |
|
130 | 130 |
/* SPARC reference MMU table walk: Context table->L1->L2->PTE */ |
131 | 131 |
/* Context base + context number */ |
132 |
pde_ptr = (env->mmuregs[1] << 4) + (env->mmuregs[2] << 2);
|
|
132 |
pde_ptr = ((env->mmuregs[1] & ~63)<< 4) + (env->mmuregs[2] << 2);
|
|
133 | 133 |
pde = ldl_phys(pde_ptr); |
134 | 134 |
|
135 | 135 |
/* Ctx pde */ |
Also available in: Unified diff