diff options
author | tony.nguyen@bt.com <tony.nguyen@bt.com> | 2019-07-18 06:01:31 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-20 17:26:19 +0200 |
commit | 52bf9771fdfce98e98cea36a17a18915be6f6b7f (patch) | |
tree | 7ddfddd6c7bc748d855fa24c21e1fdd0537e9fce /include | |
parent | 03c7140c1a0336af3d4fca768de791b9c0e2b128 (diff) | |
download | qemu-52bf9771fdfce98e98cea36a17a18915be6f6b7f.zip qemu-52bf9771fdfce98e98cea36a17a18915be6f6b7f.tar.gz qemu-52bf9771fdfce98e98cea36a17a18915be6f6b7f.tar.bz2 |
configure: Define target access alignment in configure
This patch moves the define of target access alignment earlier from
target/foo/cpu.h to configure.
Suggested in Richard Henderson's reply to "[PATCH 1/4] tcg: TCGMemOp is now
accelerator independent MemOp"
Signed-off-by: Tony Nguyen <tony.nguyen@bt.com>
Message-Id: <11e818d38ebc40e986cfa62dd7d0afdc@tpw09926dag18e.domain1.systemhost.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: tony.nguyen@bt.com <tony.nguyen@bt.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/poison.h | 1 | ||||
-rw-r--r-- | include/qom/cpu.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/exec/poison.h b/include/exec/poison.h index b862320..955eb86 100644 --- a/include/exec/poison.h +++ b/include/exec/poison.h @@ -35,6 +35,7 @@ #pragma GCC poison TARGET_UNICORE32 #pragma GCC poison TARGET_XTENSA +#pragma GCC poison TARGET_ALIGNED_ONLY #pragma GCC poison TARGET_HAS_BFLT #pragma GCC poison TARGET_NAME #pragma GCC poison TARGET_SUPPORTS_MTTCG diff --git a/include/qom/cpu.h b/include/qom/cpu.h index ddb91bb..77fca95 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -89,7 +89,7 @@ struct TranslationBlock; * @do_unassigned_access: Callback for unassigned access handling. * (this is deprecated: new targets should use do_transaction_failed instead) * @do_unaligned_access: Callback for unaligned access handling, if - * the target defines #ALIGNED_ONLY. + * the target defines #TARGET_ALIGNED_ONLY. * @do_transaction_failed: Callback for handling failed memory transactions * (ie bus faults or external aborts; not MMU faults) * @virtio_is_big_endian: Callback to return %true if a CPU which supports |