Add in Context IDs to the simulator. From now on, cpuId is almost never used,
authorLisa Hsu <hsul@eecs.umich.edu>
Mon, 3 Nov 2008 02:57:07 +0000 (21:57 -0500)
committerLisa Hsu <hsul@eecs.umich.edu>
Mon, 3 Nov 2008 02:57:07 +0000 (21:57 -0500)
commitd857faf073895dcfde97141bd6346fe5d4317f8e
treebfcd9fadba95b409721597948dd46cfda3744ee0
parent67fda02dda290d614de233846fee434b3713b1dc
Add in Context IDs to the simulator.  From now on, cpuId is almost never used,
the primary identifier for a hardware context should be contextId().  The
concept of threads within a CPU remains, in the form of threadId() because
sometimes you need to know which context within a cpu to manipulate.
37 files changed:
src/arch/alpha/locked_mem.hh
src/arch/mips/locked_mem.hh
src/arch/sparc/ua2005.cc
src/arch/x86/tlb.cc
src/cpu/base.cc
src/cpu/base_dyn_inst.hh
src/cpu/checker/cpu_impl.hh
src/cpu/o3/cpu.cc
src/cpu/o3/fetch_impl.hh
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_impl.hh
src/cpu/o3/thread_context.hh
src/cpu/o3/thread_context_impl.hh
src/cpu/ozone/cpu_impl.hh
src/cpu/ozone/front_end_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/timing.cc
src/cpu/simple_thread.cc
src/cpu/thread_context.cc
src/cpu/thread_context.hh
src/cpu/thread_state.hh
src/dev/alpha/backdoor.cc
src/dev/alpha/tsunami_cchip.cc
src/dev/mips/malta_cchip.cc
src/dev/sinic.cc
src/dev/sparc/iob.cc
src/mem/cache/blk.hh
src/mem/cache/prefetch/base.cc
src/mem/cache/prefetch/ghb.cc
src/mem/cache/prefetch/ghb.hh
src/mem/cache/prefetch/stride.cc
src/mem/cache/prefetch/stride.hh
src/mem/physical.cc
src/mem/physical.hh
src/mem/request.hh
src/sim/system.cc
src/sim/system.hh