diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-06-23 15:37:05 -0400 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-06-23 15:37:05 -0400 |
commit | 06d8f0af5def68e395b58636d5e7d6ca69daa51f (patch) | |
tree | 1039ea31ea32c8b56d19123d087f5c87029cb8da /dev/ide_ctrl.hh | |
parent | 556b2a9098930698b39f296c8d13831f2b91311b (diff) | |
download | gem5-06d8f0af5def68e395b58636d5e7d6ca69daa51f.tar.xz |
Fix to properly shadow the DEV bit in the Drive/Head register so other
disks are properly detected and handled
--HG--
extra : convert_revision : ffc3046deb68458ee2ef6fa5263dc471488abc45
Diffstat (limited to 'dev/ide_ctrl.hh')
-rw-r--r-- | dev/ide_ctrl.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/ide_ctrl.hh b/dev/ide_ctrl.hh index 679c7422b..39c64eb30 100644 --- a/dev/ide_ctrl.hh +++ b/dev/ide_ctrl.hh @@ -145,6 +145,10 @@ class IdeController : public PciDev int getDisk(IdeDisk *diskPtr); public: + /** See if a disk is selected based on its pointer */ + bool isDiskSelected(IdeDisk *diskPtr); + + public: /** * Constructs and initializes this controller. * @param name The name of this controller. |