Revision c3d420ea target-ppc/op_helper.c
b/target-ppc/op_helper.c | ||
---|---|---|
1646 | 1646 |
void helper_rfi (void) |
1647 | 1647 |
{ |
1648 | 1648 |
do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1], |
1649 |
~((target_ulong)0x0), 1); |
|
1649 |
~((target_ulong)0x783F0000), 1);
|
|
1650 | 1650 |
} |
1651 | 1651 |
|
1652 | 1652 |
#if defined(TARGET_PPC64) |
1653 | 1653 |
void helper_rfid (void) |
1654 | 1654 |
{ |
1655 | 1655 |
do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1], |
1656 |
~((target_ulong)0x0), 0); |
|
1656 |
~((target_ulong)0x783F0000), 0);
|
|
1657 | 1657 |
} |
1658 | 1658 |
|
1659 | 1659 |
void helper_hrfid (void) |
1660 | 1660 |
{ |
1661 | 1661 |
do_rfi(env->spr[SPR_HSRR0], env->spr[SPR_HSRR1], |
1662 |
~((target_ulong)0x0), 0); |
|
1662 |
~((target_ulong)0x783F0000), 0);
|
|
1663 | 1663 |
} |
1664 | 1664 |
#endif |
1665 | 1665 |
#endif |
Also available in: Unified diff