X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fide_ctrl.hh;h=b29e5ae9a1d3bc797b18e3f374d287ff07321670;hb=c9e6a15196a87fd1aa923b9ee0f6ff736ad6d33b;hp=679c7422b83b0e06d89bb27df794d328923ae2d4;hpb=3f7b780af5530cc60228ebd3e895ab26d477614e;p=gem5.git diff --git a/dev/ide_ctrl.hh b/dev/ide_ctrl.hh index 679c7422b..b29e5ae9a 100644 --- a/dev/ide_ctrl.hh +++ b/dev/ide_ctrl.hh @@ -144,6 +144,10 @@ class IdeController : public PciDev /** Select the disk based on a pointer */ 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. @@ -163,7 +167,7 @@ class IdeController : public PciDev MemoryController *mmu, PciConfigAll *cf, PciConfigData *cd, Tsunami *t, uint32_t bus_num, uint32_t dev_num, uint32_t func_num, - Bus *host_bus, HierParams *hier); + Bus *host_bus, Tick pio_latency, HierParams *hier); /** * Deletes the connected devices.