mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
Use uintptr_t for various op related functions
Use uintptr_t instead of void * or unsigned long in several op related functions, env->mem_io_pc and GETPC() macro. Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d1b719e98c
commit
2050396801
22 changed files with 89 additions and 113 deletions
|
@ -44,7 +44,7 @@ uint32_t helper_fp_exc_get(CPUAlphaState *env)
|
|||
return get_float_exception_flags(&FP_STATUS);
|
||||
}
|
||||
|
||||
static inline void inline_fp_exc_raise(CPUAlphaState *env, void *retaddr,
|
||||
static inline void inline_fp_exc_raise(CPUAlphaState *env, uintptr_t retaddr,
|
||||
uint32_t exc, uint32_t regno)
|
||||
{
|
||||
if (exc) {
|
||||
|
@ -160,7 +160,7 @@ static uint64_t float32_to_f(float32 fa)
|
|||
return r;
|
||||
}
|
||||
|
||||
static float32 f_to_float32(CPUAlphaState *env, void *retaddr, uint64_t a)
|
||||
static float32 f_to_float32(CPUAlphaState *env, uintptr_t retaddr, uint64_t a)
|
||||
{
|
||||
uint32_t exp, mant_sig;
|
||||
CPU_FloatU r;
|
||||
|
@ -291,7 +291,7 @@ static uint64_t float64_to_g(float64 fa)
|
|||
return r;
|
||||
}
|
||||
|
||||
static float64 g_to_float64(CPUAlphaState *env, void *retaddr, uint64_t a)
|
||||
static float64 g_to_float64(CPUAlphaState *env, uintptr_t retaddr, uint64_t a)
|
||||
{
|
||||
uint64_t exp, mant_sig;
|
||||
CPU_DoubleU r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue