From: Nathan Binkert Date: Mon, 2 May 2005 23:01:11 +0000 (-0400) Subject: Skip calibrate delay again. X-Git-Tag: m5_1.0_tutorial~54^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6606a375463e13b924281a24392bc37755db1a2e;p=gem5.git Skip calibrate delay again. kern/linux/linux_system.cc: calibrate delay starts three instructions after the symbol now. --HG-- extra : convert_revision : f9c2bed3bca1f3394801fe7696cfff870443c204 --- diff --git a/kern/linux/linux_system.cc b/kern/linux/linux_system.cc index a9c92b54a..5fa72735c 100644 --- a/kern/linux/linux_system.cc +++ b/kern/linux/linux_system.cc @@ -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");