diff options
author | Swapnil Haria <swapnilster@gmail.com> | 2017-11-09 13:04:39 -0600 |
---|---|---|
committer | Swapnil Haria <swapnilster@gmail.com> | 2017-12-15 00:50:32 +0000 |
commit | 6ab6c52b0bf9c91ef9249613cb4c9d8ab579b4f3 (patch) | |
tree | 8da65d170bf38e885eec878d7cb4fa934a81e3c7 /configs/example/se.py | |
parent | c5095c75f7a721551816efd16196d88eb997ec5a (diff) | |
download | gem5-6ab6c52b0bf9c91ef9249613cb4c9d8ab579b4f3.tar.xz |
mem-ruby: Support atomic_noncaching acceses in ruby
Ruby has no support for atomic_noncaching accesses, which prevents using
it with kvm-cpu. This patch fixes this by directly forwarding atomic
requests from the ruby port/sequencer to the corresponding directory
based on the destination address of the packet.
Change-Id: I0b4928bfda44fd9e5e48583c51d1ea422800da2d
Reviewed-on: https://gem5-review.googlesource.com/5601
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bradford Beckmann <brad.beckmann@amd.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Bradford Beckmann <brad.beckmann@amd.com>
Diffstat (limited to 'configs/example/se.py')
-rw-r--r-- | configs/example/se.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configs/example/se.py b/configs/example/se.py index 7a19e5aef..56e4753b9 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -49,7 +49,7 @@ import os import m5 from m5.defines import buildEnv from m5.objects import * -from m5.util import addToPath, fatal +from m5.util import addToPath, fatal, warn addToPath('../') @@ -250,10 +250,6 @@ for i in xrange(np): system.cpu[i].createThreads() if options.ruby: - if options.cpu_type == "AtomicSimpleCPU": - print >> sys.stderr, "Ruby does not work with atomic cpu!!" - sys.exit(1) - Ruby.create_system(options, False, system) assert(options.num_cpus == len(system.ruby._cpu_ports)) |