Skip calibrate delay again.
kern/linux/linux_system.cc: calibrate delay starts three instructions after the symbol now. --HG-- extra : convert_revision : f9c2bed3bca1f3394801fe7696cfff870443c204
This commit is contained in:
parent
364f6e3235
commit
6606a37546
|
@ -132,8 +132,9 @@ LinuxSystem::LinuxSystem(Params *p)
|
||||||
|
|
||||||
skipDelayLoopEvent = new LinuxSkipDelayLoopEvent(&pcEventQueue,
|
skipDelayLoopEvent = new LinuxSkipDelayLoopEvent(&pcEventQueue,
|
||||||
"calibrate_delay");
|
"calibrate_delay");
|
||||||
if (kernelSymtab->findAddress("calibrate_delay", addr))
|
if (kernelSymtab->findAddress("calibrate_delay", addr)) {
|
||||||
skipDelayLoopEvent->schedule(addr+sizeof(MachInst));
|
skipDelayLoopEvent->schedule(addr + 3 * sizeof(MachInst));
|
||||||
|
}
|
||||||
|
|
||||||
skipCacheProbeEvent = new SkipFuncEvent(&pcEventQueue,
|
skipCacheProbeEvent = new SkipFuncEvent(&pcEventQueue,
|
||||||
"determine_cpu_caches");
|
"determine_cpu_caches");
|
||||||
|
|
Loading…
Reference in a new issue