qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to tcg_target_long


From: TeLeMan
Subject: Re: [Qemu-devel] [PATCH] Fix conversions from pointer to tcg_target_long
Date: Thu, 14 Apr 2011 09:42:44 +0800

On Sat, Apr 2, 2011 at 19:36, Stefan Weil <address@hidden> wrote:
> tcg_gen_exit_tb takes a parameter of type tcg_target_long,
> so the type casts of pointer to long should be replaced by
> type casts of pointer to tcg_target_long (suggested by Blue Swirl).
>
> These changes are needed for build environments where
> sizeof(long) != sizeof(void *), especially for w64.
There are many "(long)tb" in exec.c and the types of tb_next in
TranslationBlock, tc_ptr in tb_find_pc(), searched_pc etc. are
"unsigned long". So more patches for w64 are needed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]