]> Git Repo - qemu.git/commitdiff
target/hppa: Enable MTTCG
authorRichard Henderson <[email protected]>
Sun, 7 Jan 2018 00:02:27 +0000 (16:02 -0800)
committerRichard Henderson <[email protected]>
Wed, 31 Jan 2018 13:30:50 +0000 (05:30 -0800)
Signed-off-by: Richard Henderson <[email protected]>
configure
target/hppa/cpu.h

index 96dee6572c47851fbbdf2fb775f86da3368755dd..302fdc92ff550703396b6c83ee04dad35b1c5c14 100755 (executable)
--- a/configure
+++ b/configure
@@ -6555,6 +6555,7 @@ case "$target_name" in
   cris)
   ;;
   hppa)
+    mttcg="yes"
   ;;
   lm32)
   ;;
index 70af823a158cc43bf8fe5e24f2f8e213141ac446..7640c81221ccdc8254ad99e951f9b49e9eb51560 100644 (file)
 #define TARGET_PHYS_ADDR_SPACE_BITS 32
 #endif
 
+/* PA-RISC 1.x processors have a strong memory model.  */
+/* ??? While we do not yet implement PA-RISC 2.0, those processors have
+   a weak memory model, but with TLB bits that force ordering on a per-page
+   basis.  It's probably easier to fall back to a strong memory model.  */
+#define TCG_GUEST_DEFAULT_MO        TCG_MO_ALL
+
 #define CPUArchState struct CPUHPPAState
 
 #include "exec/cpu-defs.h"
This page took 0.034783 seconds and 4 git commands to generate.