projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb87ed8
)
arm, config: Exit with fatal error if using Ruby
author
Andreas Sandberg
<andreas.sandberg@arm.com>
Wed, 10 Aug 2016 15:40:14 +0000
(16:40 +0100)
committer
Andreas Sandberg
<andreas.sandberg@arm.com>
Wed, 10 Aug 2016 15:40:14 +0000
(16:40 +0100)
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>
configs/common/FSConfig.py
patch
|
blob
|
history
diff --git
a/configs/common/FSConfig.py
b/configs/common/FSConfig.py
index 33b51b4f436648e592a0f8bcd82d941f53cf95ac..c1d8f6fe0b0506ce97c0a5d9086d8f0f7b52f4e4 100644
(file)
--- 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