Thread: Use inherited baseCpu rather than cpu in SimpleThread
authorAndreas Hansson <andreas.hanson@arm.com>
Tue, 31 Jan 2012 16:50:07 +0000 (11:50 -0500)
committerAndreas Hansson <andreas.hanson@arm.com>
Tue, 31 Jan 2012 16:50:07 +0000 (11:50 -0500)
commit4fdecae443c4f11d24b7da537b6f7a2baadbd130
tree428e7864c689c6b28c854babd875424004dd2816
parent0ed3c84c7b05d7d3c9d5f0e3f1c05c20afef93b9
Thread: Use inherited baseCpu rather than cpu in SimpleThread

This patch is a trivial simplification, removing the cpu pointer from
SimpleThread and relying on the baseCpu pointer in ThreadState. The
patch does not add or change any functionality, it merely cleans up
the code.
src/cpu/simple_thread.cc
src/cpu/simple_thread.hh
src/cpu/thread_state.hh