mem-ruby: Prevent ruby from crashing on CMOs
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Sat, 7 Oct 2017 10:19:54 +0000 (11:19 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 5 Dec 2017 11:47:01 +0000 (11:47 +0000)
commitb9edb351454c2601070fb9432f23fc3914eb33c1
tree5e88d137fa1ae93f067ee997685f091538b18843
parent7d70967abaf1ce3a09433620dc41ed48c2fc0db0
mem-ruby: Prevent ruby from crashing on CMOs

Ruby has no support for cache maintenace operations. As a workaround,
after printing a warning, we treat them as no-ops in the memory system
and respond immediately without handling them. There should be
workarounds in the memory system already that allow execution to
proceed without the requirement for cache maintenance operations.

Change-Id: I125ee4fa37b674c636d87f2d9205bbc1a74da101
Reviewed-on: https://gem5-review.googlesource.com/5057
Reviewed-by: Jieming Yin <bjm419@gmail.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/mem/ruby/system/RubyPort.cc