ruby: convert atomic accesses to functional in RubyPort
Review Request #3588 - Created Aug. 4, 2016 and discarded
| Information | |
|---|---|
| Michael LeBeane | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11554:57b008eb65c3 --------------------------- ruby: convert atomic accesses to functional in RubyPort Instead of panicing when receiving an atomic access in ruby, convert it to a functional access and warn the user. This makes device models that issue atomic accesses (such as KVM when performing a MMIO access) work correctly in Ruby.
Posted (Aug. 4, 2016, 9:52 a.m.)
This is very dangerous.
The "functional" accessor functions are really only for debug access, and any writes happening on the functional interfaces do not really have a well-defined consistency model with respect to the "real" memory accessrs using atomic/timing. This is a really dangerous hack...
