changeset 10cf9d9fe5ed in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=10cf9d9fe5ed
description:
arm: Use table walker clock that is inherited from CPU
This patch simplifies the scheduling of the next walk for the ARM
table walker. Previously it used the CPU clock, but as the table
walker inherits the clock from the CPU, it is cleaner to simply use
its own clock (which is the same).
diffstat:
src/arch/arm/table_walker.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f634a34f2f0b -r 10cf9d9fe5ed src/arch/arm/table_walker.cc
--- a/src/arch/arm/table_walker.cc Tue Oct 23 04:49:48 2012 -0400
+++ b/src/arch/arm/table_walker.cc Thu Oct 25 04:32:42 2012 -0400
@@ -797,7 +797,7 @@
TableWalker::nextWalk(ThreadContext *tc)
{
if (pendingQueue.size())
- schedule(doProcessEvent, tc->getCpuPtr()->clockEdge(Cycles(1)));
+ schedule(doProcessEvent, clockEdge(Cycles(1)));
}
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev