mem: Remove threadId from memory request class
authorMitch Hayenga <mitch.hayenga@arm.com>
Tue, 5 Apr 2016 17:39:21 +0000 (12:39 -0500)
committerMitch Hayenga <mitch.hayenga@arm.com>
Tue, 5 Apr 2016 17:39:21 +0000 (12:39 -0500)
commit8615b27174ae06db4665016c877b1e88031af203
tree7b28888f71e7e41e84d4087b6ccb53670e04582b
parent76ee011a12ade238d5cbf4b570e1d34d7ba72687
mem: Remove threadId from memory request class

In general, the ThreadID parameter is unnecessary in the memory system
as the ContextID is what is used for the purposes of locks/wakeups.
Since we allocate sequential ContextIDs for each thread on MT-enabled
CPUs, ThreadID is unnecessary as the CPUs can identify the requesting
thread through sideband info (SenderState / LSQ entries) or ContextID
offset from the base ContextID for a cpu.
22 files changed:
ext/sst/ExtMaster.cc
src/arch/arm/isa.cc
src/arch/arm/vtophys.cc
src/cpu/base.hh
src/cpu/base_dyn_inst.hh
src/cpu/checker/cpu.cc
src/cpu/checker/cpu_impl.hh
src/cpu/kvm/base.cc
src/cpu/kvm/x86_cpu.cc
src/cpu/minor/fetch1.cc
src/cpu/minor/lsq.cc
src/cpu/o3/fetch_impl.hh
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/timing.cc
src/cpu/testers/memtest/memtest.cc
src/cpu/testers/networktest/networktest.cc
src/cpu/testers/rubytest/Check.cc
src/cpu/trace/trace_cpu.cc
src/mem/cache/prefetch/queued.cc
src/mem/request.hh