Revision 426613db target-ppc/helper.c
b/target-ppc/helper.c | ||
---|---|---|
1203 | 1203 |
} |
1204 | 1204 |
|
1205 | 1205 |
#if defined(TARGET_PPC64) |
1206 |
void ppc_store_msr_32 (CPUPPCState *env, target_ulong value)
|
|
1206 |
void ppc_store_msr_32 (CPUPPCState *env, uint32_t value)
|
|
1207 | 1207 |
{ |
1208 |
do_store_msr(env, (uint32_t)value); |
|
1208 |
do_store_msr(env, |
|
1209 |
(do_load_msr(env) & ~0xFFFFFFFFULL) | (value & 0xFFFFFFFF)); |
|
1209 | 1210 |
} |
1210 | 1211 |
#endif |
1211 | 1212 |
|
Also available in: Unified diff