event: minor cleanup
authorSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 23 Sep 2011 01:59:55 +0000 (18:59 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Fri, 23 Sep 2011 01:59:55 +0000 (18:59 -0700)
commit84f0a1bd91b8af5517711fba00533daddb2359e1
treee9dd08fe7ff8a575efc08c5a927c719f674d06fe
parentba79155d9d0f42457f74b533e27f0af2ab1b5e4a
event: minor cleanup
Initialize flags via the Event constructor instead of calling
setFlags() in the body of the derived class's constructor.  I
forget exactly why, but this made life easier when implementing
multi-queue support.

Also rename Event::getFlags() to isFlagSet() to better match
common usage, and get rid of some unused Event methods.
src/cpu/o3/commit_impl.hh
src/cpu/o3/inst_queue_impl.hh
src/cpu/o3/lsq_unit_impl.hh
src/dev/etherlink.cc
src/mem/ruby/eventqueue/RubyEventQueueNode.hh
src/sim/debug.cc
src/sim/eventq.hh
src/sim/sim_events.cc
src/sim/stat_control.cc