diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-05-02 19:01:11 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-05-02 19:01:11 -0400 |
commit | 6606a375463e13b924281a24392bc37755db1a2e (patch) | |
tree | b11f287a5d9086ade61b5251de477d1cbbea04e4 /kern/linux/linux_system.cc | |
parent | 364f6e32354b1e8188660d398ea2c7cb5b222fc9 (diff) | |
download | gem5-6606a375463e13b924281a24392bc37755db1a2e.tar.xz |
Skip calibrate delay again.
kern/linux/linux_system.cc:
calibrate delay starts three instructions after the symbol now.
--HG--
extra : convert_revision : f9c2bed3bca1f3394801fe7696cfff870443c204
Diffstat (limited to 'kern/linux/linux_system.cc')
-rw-r--r-- | kern/linux/linux_system.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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"); |