summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-08-10 16:40:14 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-08-10 16:40:14 +0100
commitda07c5c26aff7f453df478d8335d50b53ed777ae (patch)
treea52d670e46bb21a48a39ce9e03b9ab3786a84a5a
parenteb87ed8e7458c3214d4163a7dbb180110b375d98 (diff)
downloadgem5-da07c5c26aff7f453df478d8335d50b53ed777ae.tar.xz
arm, config: Exit with fatal error if using Ruby
Ruby on ARM is currently very experimental. Fail with a fatal error that explains this to make sure users are aware of the limitations (it doesn't actually work yet!). Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r--configs/common/FSConfig.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index 33b51b4f4..c1d8f6fe0 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -393,6 +393,11 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
if not ruby:
self.system_port = self.membus.slave
+ if ruby:
+ fatal("You're trying to use Ruby on ARM, which is not working " \
+ "properly yet. If you want to test it anyway, you " \
+ "need to remove this fatal error from FSConfig.py.")
+
return self