Revision 2aae2b8e target-sparc/helper.c

b/target-sparc/helper.c
746 746
#else
747 747
#if !defined(TARGET_SPARC64)
748 748
    env->psret = 0;
749
#endif
750 749
    env->psrs = 1;
751 750
    env->psrps = 1;
751
#endif
752 752
#ifdef TARGET_SPARC64
753 753
    env->pstate = PS_PRIV|PS_RED|PS_PEF|PS_AG;
754
    env->hpstate = HS_PRIV;
754
    env->hpstate = cpu_has_hypervisor(env) ? HS_PRIV : 0;
755 755
    env->tl = env->maxtl;
756 756
    cpu_tsptr(env)->tt = TT_POWER_ON_RESET;
757 757
    env->lsu = 0;

Also available in: Unified diff