mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
f57a516039
commit
dba4f1bcc3
6 changed files with 13 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue