pseudo_inst: clean up workbegin/workend functions
authorSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 23 Sep 2011 01:59:54 +0000 (18:59 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 23 Sep 2011 01:59:54 +0000 (18:59 -0700)
commitba79155d9d0f42457f74b533e27f0af2ab1b5e4a
tree47e29288b611059c2033b497526954f5b045420a
parent4a4bc2e18b2fa2c523aa4e14ee09513d852ec5aa
pseudo_inst: clean up workbegin/workend functions
Use exitSimLoop() function instead of explicitly scheduling
on mainEventQueue (which won't work once we go to multiple
event queues).  Also introduced a local params variable to
shorten a lot of expressions.
src/sim/pseudo_inst.cc