mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Add missing PowerPC 64 instructions
PowerPC 64 fixes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2530 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
1b9eb036b9
commit
426613dbf8
8 changed files with 326 additions and 14 deletions
|
@ -1203,9 +1203,10 @@ void do_store_msr (CPUPPCState *env, target_ulong value)
|
|||
}
|
||||
|
||||
#if defined(TARGET_PPC64)
|
||||
void ppc_store_msr_32 (CPUPPCState *env, target_ulong value)
|
||||
void ppc_store_msr_32 (CPUPPCState *env, uint32_t value)
|
||||
{
|
||||
do_store_msr(env, (uint32_t)value);
|
||||
do_store_msr(env,
|
||||
(do_load_msr(env) & ~0xFFFFFFFFULL) | (value & 0xFFFFFFFF));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue