changeset ad784e759a74 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=ad784e759a74
description:
eventq: allow an implicit cast from an EventManager to an EventQueue *
diffstat:
1 file changed, 5 insertions(+)
src/sim/eventq.hh | 5 +++++
diffs (15 lines):
diff -r 4fb4eeb5f412 -r ad784e759a74 src/sim/eventq.hh
--- a/src/sim/eventq.hh Fri Apr 02 15:28:22 2010 -0700
+++ b/src/sim/eventq.hh Fri Apr 02 15:28:22 2010 -0700
@@ -440,6 +440,11 @@
return eventq;
}
+ operator EventQueue *() const
+ {
+ return eventq;
+ }
+
void
schedule(Event &event, Tick when)
{
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev