summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-04-22 13:20:32 -0400
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-04-22 13:20:32 -0400
commit1c529a4196a5f9efcce5c639622d5b55912a472b (patch)
tree52db6a75250edaf7c6ce5b0c53d0feeb2e54011b /src/mem/cache/cache.hh
parent32ecd72b6edc1f33ce757da0b0a8032c31582a7e (diff)
downloadgem5-1c529a4196a5f9efcce5c639622d5b55912a472b.tar.xz
sim: Add a helper function to execute pseudo instructions
All architectures execute m5 pseudo instructions by setting up arguments according to the ABI and executing a magic instruction that contains an operation number. Handling of such instructions is currently spread across the different ISA implementations. This changeset introduces the PseudoInst::pseudoInst function which handles most of this in an architecture independent way. This is function is mainly intended to be used from KVM, but can also be used from the simulated CPUs.
Diffstat (limited to 'src/mem/cache/cache.hh')
0 files changed, 0 insertions, 0 deletions