Revision faadf50e target-ppc/op_helper.c

b/target-ppc/op_helper.c
1682 1682
#if !defined (CONFIG_USER_ONLY)
1683 1683
void do_POWER_rac (void)
1684 1684
{
1685
#if 0
1686 1685
    mmu_ctx_t ctx;
1686
    int nb_BATs;
1687 1687

  
1688 1688
    /* We don't have to generate many instances of this instruction,
1689 1689
     * as rac is supervisor only.
1690 1690
     */
1691
    if (get_physical_address(env, &ctx, T0, 0, ACCESS_INT, 1) == 0)
1691
    /* XXX: FIX THIS: Pretend we have no BAT */
1692
    nb_BATs = env->nb_BATs;
1693
    env->nb_BATs = 0;
1694
    if (get_physical_address(env, &ctx, T0, 0, ACCESS_INT) == 0)
1692 1695
        T0 = ctx.raddr;
1693
#endif
1696
    env->nb_BATs = nb_BATs;
1694 1697
}
1695 1698

  
1696 1699
void do_POWER_rfsvc (void)

Also available in: Unified diff