summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-03-23 17:11:19 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2004-03-23 17:11:19 -0500
commitf4168a708c15c219a968d9cd665b571705467875 (patch)
tree29ba2511db18a95c47ddd9d75ea68bf6cad5aee1 /kern
parentb45fd9c5410cb3ae0ef57a6c76a9c9f491a6058d (diff)
parent75cef1a8017b52270d601d61959dd6d5c70033a8 (diff)
downloadgem5-f4168a708c15c219a968d9cd665b571705467875.tar.xz
Merge zizzer:/bk/linux into zower.eecs.umich.edu:/z/hsul/work/bk/linux
--HG-- extra : convert_revision : 69440981a018ce8b7c1c8a73404da0a39faa3ac3
Diffstat (limited to 'kern')
-rw-r--r--kern/linux/linux_system.cc6
-rw-r--r--kern/linux/linux_system.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/kern/linux/linux_system.cc b/kern/linux/linux_system.cc
index 12c1f5c32..587ba45cc 100644
--- a/kern/linux/linux_system.cc
+++ b/kern/linux/linux_system.cc
@@ -224,6 +224,9 @@ LinuxSystem::LinuxSystem(const string _name, const uint64_t _init_param,
"pmap_scavenge_boot");
printfEvent = new LinuxPrintfEvent(&pcEventQueue, "printf");
+ skipIdeDelay50msEvent = new LinuxSkipIdeDelay50msEvent(&pcEventQueue,
+ "ide_delay_50ms");
+
skipDelayLoopEvent = new LinuxSkipDelayLoopEvent(&pcEventQueue,
"calibrate_delay");
@@ -333,6 +336,9 @@ LinuxSystem::LinuxSystem(const string _name, const uint64_t _init_param,
if (kernelSymtab->findAddress("pmap_scavenge_boot", addr))
skipScavengeBootEvent->schedule(addr);
+ if (kernelSymtab->findAddress("ide_delay_50ms", addr))
+ skipIdeDelay50msEvent->schedule(addr+8);
+
if (kernelSymtab->findAddress("calibrate_delay", addr))
skipDelayLoopEvent->schedule(addr+8);
diff --git a/kern/linux/linux_system.hh b/kern/linux/linux_system.hh
index eba65d648..53800db29 100644
--- a/kern/linux/linux_system.hh
+++ b/kern/linux/linux_system.hh
@@ -44,6 +44,7 @@ class BreakPCEvent;
class LinuxBadAddrEvent;
class LinuxSkipFuncEvent;
class LinuxSkipDelayLoopEvent;
+class LinuxSkipIdeDelay50msEvent;
class LinuxPrintfEvent;
class LinuxDebugPrintfEvent;
class LinuxDumpMbufEvent;
@@ -101,6 +102,7 @@ class LinuxSystem : public System
LinuxBadAddrEvent *badaddrEvent;
LinuxSkipFuncEvent *skipPowerStateEvent;
LinuxSkipFuncEvent *skipScavengeBootEvent;
+ LinuxSkipIdeDelay50msEvent *skipIdeDelay50msEvent;
LinuxSkipDelayLoopEvent *skipDelayLoopEvent;
LinuxPrintfEvent *printfEvent;
LinuxDebugPrintfEvent *debugPrintfEvent;