projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f0069
)
m5: fixed destructor to deschedule the tickEvent and event
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Wed, 18 Nov 2009 21:55:58 +0000
(13:55 -0800)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Wed, 18 Nov 2009 21:55:58 +0000
(13:55 -0800)
src/dev/mc146818.cc
patch
|
blob
|
history
diff --git
a/src/dev/mc146818.cc
b/src/dev/mc146818.cc
index 0bb6558c815559fe1ddeb4d15ba339699337e0e7..2e6ed2a4b9b85d59af947c22657ddf36198c54ea 100644
(file)
--- a/
src/dev/mc146818.cc
+++ b/
src/dev/mc146818.cc
@@
-105,6
+105,8
@@
MC146818::MC146818(EventManager *em, const string &n, const struct tm time,
MC146818::~MC146818()
{
+ deschedule(tickEvent);
+ deschedule(event);
}
void