Review Board 2.0.15


CPU: Unify initMemProxies across CPUs and simulation modes

Review Request #1116 - Created March 26, 2012 and submitted - Latest diff uploaded

Information
Andreas Hansson
gem5
default
Reviewers
Default
CPU: Unify initMemProxies across CPUs and simulation modes

This patch unifies where initMemProxies is called, in the init()
method of each BaseCPU subclass, before TheISA::initCPU is
called. Moreover, it also ensures that initMemProxies is called in
both full-system and syscall-emulation mode, thus unifying also across
the modes. An additional check is added in the ThreadState to ensure
that initMemProxies is only called once.
util/regress all passing (disregarding t1000 and eio)

Additionally, resuming from a checkpoint with O3 CPU with the Linux thread info enabled no longer causes a seg fault.