diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-03-02 23:30:05 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-03-03 18:10:21 +0000 |
commit | dba4f1bcc3d45384238864d006b0a83788b56a65 (patch) | |
tree | b5dec34abebcc7f2630889166d712088625fb95e /tcg/ia64/tcg-target.h | |
parent | f57a51603987a600952113103bbd777333a2737a (diff) |
w64: Change data type of parameters for flush_icache_range
The TCG targets i386 and tci needed a change of the function
prototype for w64.
This change is currently not needed for the other TCG targets,
but it can be applied to avoid code differences.
Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: Andrzej Zaborowski <balrogg@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/ia64/tcg-target.h')
-rw-r--r-- | tcg/ia64/tcg-target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/ia64/tcg-target.h b/tcg/ia64/tcg-target.h index c388089004..0631b9f180 100644 --- a/tcg/ia64/tcg-target.h +++ b/tcg/ia64/tcg-target.h @@ -146,7 +146,8 @@ typedef enum { /* Guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE -static inline void flush_icache_range(unsigned long start, unsigned long stop) +static inline void flush_icache_range(tcg_target_ulong start, + tcg_target_ulong stop) { start = start & ~(32UL - 1UL); stop = (stop + (32UL - 1UL)) & ~(32UL - 1UL); |