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.
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.

briancoutinho0905/2dsampling,yb-kim/gemV,TUD-OS/gem5-dtu,joerocklin/gem5,sobercoder/gem5,yb-kim/gemV,HwisooSo/gemV-update,samueldotj/TeeRISC-Simulator,powerjg/gem5-ci-test,gedare/gem5,aclifton/cpeg853-gem5,KuroeKurose/gem5,HwisooSo/gemV-update,TUD-OS/gem5-dtu,samueldotj/TeeRISC-Simulator,powerjg/gem5-ci-test,qizenguf/MLC-STT,Weil0ng/gem5,Weil0ng/gem5,markoshorro/gem5,Weil0ng/gem5,rallylee/gem5,yb-kim/gemV,KuroeKurose/gem5,samueldotj/TeeRISC-Simulator,gem5/gem5,HwisooSo/gemV-update,aclifton/cpeg853-gem5,SanchayanMaity/gem5,gem5/gem5,KuroeKurose/gem5,powerjg/gem5-ci-test,HwisooSo/gemV-update,austinharris/gem5-riscv,kaiyuanl/gem5,briancoutinho0905/2dsampling,joerocklin/gem5,sobercoder/gem5,rallylee/gem5,zlfben/gem5,zlfben/gem5,joerocklin/gem5,gem5/gem5,rallylee/gem5,yb-kim/gemV,gedare/gem5,rallylee/gem5,gem5/gem5,gem5/gem5,KuroeKurose/gem5,austinharris/gem5-riscv,samueldotj/TeeRISC-Simulator,kaiyuanl/gem5,Weil0ng/gem5,zlfben/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,briancoutinho0905/2dsampling,powerjg/gem5-ci-test,cancro7/gem5,joerocklin/gem5,powerjg/gem5-ci-test,aclifton/cpeg853-gem5,cancro7/gem5,Weil0ng/gem5,qizenguf/MLC-STT,HwisooSo/gemV-update,joerocklin/gem5,briancoutinho0905/2dsampling,cancro7/gem5,SanchayanMaity/gem5,austinharris/gem5-riscv,qizenguf/MLC-STT,briancoutinho0905/2dsampling,rjschof/gem5,samueldotj/TeeRISC-Simulator,Weil0ng/gem5,rjschof/gem5,rjschof/gem5,TUD-OS/gem5-dtu,gem5/gem5,gedare/gem5,kaiyuanl/gem5,gedare/gem5,aclifton/cpeg853-gem5,rjschof/gem5,gedare/gem5,kaiyuanl/gem5,sobercoder/gem5,cancro7/gem5,briancoutinho0905/2dsampling,aclifton/cpeg853-gem5,yb-kim/gemV,SanchayanMaity/gem5,markoshorro/gem5,rjschof/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,Weil0ng/gem5,markoshorro/gem5,kaiyuanl/gem5,austinharris/gem5-riscv,TUD-OS/gem5-dtu,KuroeKurose/gem5,TUD-OS/gem5-dtu,rjschof/gem5,markoshorro/gem5,gem5/gem5,yb-kim/gemV,qizenguf/MLC-STT,samueldotj/TeeRISC-Simulator,aclifton/cpeg853-gem5,austinharris/gem5-riscv,cancro7/gem5,yb-kim/gemV,KuroeKurose/gem5,samueldotj/TeeRISC-Simulator,rjschof/gem5,zlfben/gem5,markoshorro/gem5,TUD-OS/gem5-dtu,qizenguf/MLC-STT,zlfben/gem5,rallylee/gem5,zlfben/gem5,HwisooSo/gemV-update,gedare/gem5,sobercoder/gem5,joerocklin/gem5,HwisooSo/gemV-update,joerocklin/gem5,rallylee/gem5,markoshorro/gem5,SanchayanMaity/gem5,yb-kim/gemV,cancro7/gem5,sobercoder/gem5,qizenguf/MLC-STT,austinharris/gem5-riscv,kaiyuanl/gem5,rallylee/gem5,KuroeKurose/gem5,briancoutinho0905/2dsampling,joerocklin/gem5,zlfben/gem5,sobercoder/gem5,aclifton/cpeg853-gem5,SanchayanMaity/gem5,cancro7/gem5,gedare/gem5,qizenguf/MLC-STT,SanchayanMaity/gem5,kaiyuanl/gem5,austinharris/gem5-riscv,sobercoder/gem5,markoshorro/gem5