eventq: Make priorities just an integer instead of an enum.
authorNathan Binkert <nate@binkert.org>
Fri, 2 Apr 2010 22:28:21 +0000 (15:28 -0700)
committerNathan Binkert <nate@binkert.org>
Fri, 2 Apr 2010 22:28:21 +0000 (15:28 -0700)
commit2ee3edba8edda618b31fcb7a3cc84b76bae18bf7
tree57053a9bec783ebc8206b1c3750bd988c9d6905c
parent01dffaa32fb68981e7d8ff1a0beb96de7b892546
eventq: Make priorities just an integer instead of an enum.
Symbolic names should still be used, but this makes it easier to do
things like:
Event::Priority MyObject_Pri = Event::Default_Pri + 1

Remember that higher numbers are lower priority (should we fix this?)
src/sim/eventq.hh