~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/target-sparc/helper.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-01-03 10:39:25 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20080103103925-8480u7sq2646hvbh
Tags: 1:59+dfsg-0ubuntu1
* New upstream release
* Build with alsa support (cherry pick from 57+dfsg-2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 */