Skip calibrate delay again.
authorNathan Binkert <binkertn@umich.edu>
Mon, 2 May 2005 23:01:11 +0000 (19:01 -0400)
committerNathan Binkert <binkertn@umich.edu>
Mon, 2 May 2005 23:01:11 +0000 (19:01 -0400)
kern/linux/linux_system.cc:
    calibrate delay starts three instructions after the symbol now.

--HG--
extra : convert_revision : f9c2bed3bca1f3394801fe7696cfff870443c204

kern/linux/linux_system.cc

index a9c92b54a950717d15c275fa267adb44fa23237a..5fa72735c247fb25bb3ae5c4267ec2fa73a51afa 100644 (file)
@@ -132,8 +132,9 @@ LinuxSystem::LinuxSystem(Params *p)
 
     skipDelayLoopEvent = new LinuxSkipDelayLoopEvent(&pcEventQueue,
                                                      "calibrate_delay");
-    if (kernelSymtab->findAddress("calibrate_delay", addr))
-        skipDelayLoopEvent->schedule(addr+sizeof(MachInst));
+    if (kernelSymtab->findAddress("calibrate_delay", addr)) {
+        skipDelayLoopEvent->schedule(addr + 3 * sizeof(MachInst));
+    }
 
     skipCacheProbeEvent = new SkipFuncEvent(&pcEventQueue,
                                             "determine_cpu_caches");