changeset 68a4f926ca3f in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=68a4f926ca3f
description:
        ARM: move kernel func event to correct location.

        With the recent series of patches, the symbol table loading moved from
        "construct" time to "init" time, but the kernel function event
        callback registration was left behind. This patch moves it to the
        proper location.

diffstat:

 src/arch/arm/system.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 508635b3e666 -r 68a4f926ca3f src/arch/arm/system.cc
--- a/src/arch/arm/system.cc    Thu Mar 01 17:26:30 2012 -0600
+++ b/src/arch/arm/system.cc    Thu Mar 01 17:26:31 2012 -0600
@@ -55,7 +55,6 @@
 ArmSystem::ArmSystem(Params *p)
     : System(p), bootldr(NULL)
 {
-    debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk");
 }
 
 void
@@ -113,6 +112,7 @@
         }
     }
 
+    debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk");
 }
 
 ArmSystem::~ArmSystem()
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to