diff options
author | Paolo Bonzini | 2015-05-05 09:18:22 +0200 |
---|---|---|
committer | Alexander Graf | 2015-06-03 23:56:56 +0200 |
commit | 006f8638c62bca2b0caf609485f47fa5e14d8a3c (patch) | |
tree | 45348a37b0929c631db152db3416901c5ddc7d39 /tcg/ia64 | |
parent | tci: do not use CPUArchState in tcg-target.h (diff) | |
download | qemu-006f8638c62bca2b0caf609485f47fa5e14d8a3c.tar.gz qemu-006f8638c62bca2b0caf609485f47fa5e14d8a3c.tar.xz qemu-006f8638c62bca2b0caf609485f47fa5e14d8a3c.zip |
tcg: add TCG_TARGET_TLB_DISPLACEMENT_BITS
This will be used to size the TLB when more than 8 MMU modes are
used by the target. Limitations come from the limited size of
the immediate fields (which sometimes, as in the case of Aarch64,
extend to instructions that shift the immediate).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1424436345-37924-2-git-send-email-pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tcg/ia64')
-rw-r--r-- | tcg/ia64/tcg-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/ia64/tcg-target.h b/tcg/ia64/tcg-target.h index d67558988a..a04ed81262 100644 --- a/tcg/ia64/tcg-target.h +++ b/tcg/ia64/tcg-target.h @@ -26,6 +26,8 @@ #define TCG_TARGET_IA64 1 #define TCG_TARGET_INSN_UNIT_SIZE 16 +#define TCG_TARGET_TLB_DISPLACEMENT_BITS 21 + typedef struct { uint64_t lo __attribute__((aligned(16))); uint64_t hi; |