mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
PPC64: Fix alternate timebase
Fix the alternate time base the same way as the default timebase. SPR_ATBL should return a 64-bit value on 64 bit implementations. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
e3ea652962
commit
b711de9565
5 changed files with 8 additions and 8 deletions
|
@ -745,7 +745,7 @@ uint64_t cpu_ppc_load_tbl (CPUPPCState *env);
|
|||
uint32_t cpu_ppc_load_tbu (CPUPPCState *env);
|
||||
void cpu_ppc_store_tbu (CPUPPCState *env, uint32_t value);
|
||||
void cpu_ppc_store_tbl (CPUPPCState *env, uint32_t value);
|
||||
uint32_t cpu_ppc_load_atbl (CPUPPCState *env);
|
||||
uint64_t cpu_ppc_load_atbl (CPUPPCState *env);
|
||||
uint32_t cpu_ppc_load_atbu (CPUPPCState *env);
|
||||
void cpu_ppc_store_atbl (CPUPPCState *env, uint32_t value);
|
||||
void cpu_ppc_store_atbu (CPUPPCState *env, uint32_t value);
|
||||
|
|
|
@ -78,7 +78,7 @@ target_ulong helper_load_tbu (void)
|
|||
|
||||
target_ulong helper_load_atbl (void)
|
||||
{
|
||||
return cpu_ppc_load_atbl(env);
|
||||
return (target_ulong)cpu_ppc_load_atbl(env);
|
||||
}
|
||||
|
||||
target_ulong helper_load_atbu (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue