Revision bfa1e5cf target-ppc/helper.c
b/target-ppc/helper.c | ||
---|---|---|
1644 | 1644 |
} |
1645 | 1645 |
#endif /* !defined (CONFIG_USER_ONLY) */ |
1646 | 1646 |
|
1647 |
uint32_t ppc_load_xer (CPUPPCState *env)
|
|
1647 |
target_ulong ppc_load_xer (CPUPPCState *env)
|
|
1648 | 1648 |
{ |
1649 | 1649 |
return (xer_so << XER_SO) | |
1650 | 1650 |
(xer_ov << XER_OV) | |
... | ... | |
1653 | 1653 |
(xer_cmp << XER_CMP); |
1654 | 1654 |
} |
1655 | 1655 |
|
1656 |
void ppc_store_xer (CPUPPCState *env, uint32_t value)
|
|
1656 |
void ppc_store_xer (CPUPPCState *env, target_ulong value)
|
|
1657 | 1657 |
{ |
1658 | 1658 |
xer_so = (value >> XER_SO) & 0x01; |
1659 | 1659 |
xer_ov = (value >> XER_OV) & 0x01; |
Also available in: Unified diff