cpu: Make CPU and ThreadContext getters const
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 7 Mar 2014 20:56:23 +0000 (15:56 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 7 Mar 2014 20:56:23 +0000 (15:56 -0500)
commit62fe81e9c1ab09f1b401231f58d9c34008c7b558
tree732e6ac33b6be91999dfeb3b95f1d98746146b9d
parentc4a8e5c36cbc30feee6ecd5c706e3275301b25ef
cpu: Make CPU and ThreadContext getters const

This patch merely tidies up the CPU and ThreadContext getters by
making them const where appropriate.
src/cpu/base.hh
src/cpu/base_dyn_inst.hh
src/cpu/checker/thread_context.hh
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/inorder_dyn_inst.hh
src/cpu/inorder/thread_context.hh
src/cpu/o3/thread_context.hh
src/cpu/ozone/cpu.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/thread_context.hh
src/cpu/thread_state.hh