base: Declare a type for context IDs
authorAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 7 Aug 2015 08:59:13 +0000 (09:59 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 7 Aug 2015 08:59:13 +0000 (09:59 +0100)
commit53e777d6838ac3ca80e6557626f9e99fd93dd0f7
tree9029d3e7f1e158beac24761f2c9c690b3918d734
parent3e26756f1dfe1ddd1d7f5e458771c9bf79acb09a
base: Declare a type for context IDs

Context IDs used to be declared as ad hoc (usually as int). This
changeset introduces a typedef for ContextIDs and a constant for
invalid context IDs.
25 files changed:
src/base/types.hh
src/cpu/base_dyn_inst.hh
src/cpu/checker/thread_context.hh
src/cpu/minor/exec_context.hh
src/cpu/o3/thread_context.hh
src/cpu/thread_context.cc
src/cpu/thread_state.hh
src/dev/arm/gic_pl390.cc
src/dev/arm/gic_pl390.hh
src/dev/arm/timer_cpulocal.cc
src/dev/arm/vgic.cc
src/dev/arm/vgic.hh
src/dev/sinic.cc
src/dev/sinic.hh
src/dev/sparc/iob.cc
src/mem/abstract_mem.hh
src/mem/cache/blk.hh
src/mem/cache/cache_impl.hh
src/mem/physical.cc
src/mem/request.hh
src/mem/ruby/slicc_interface/RubyRequest.hh
src/mem/ruby/system/Sequencer.cc
src/sim/process.hh
src/sim/system.cc
src/sim/system.hh