diff options
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/io_device.cc | 3 | ||||
-rw-r--r-- | src/dev/pcidev.cc | 2 | ||||
-rw-r--r-- | src/dev/x86/intdev.hh | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/dev/io_device.cc b/src/dev/io_device.cc index 988f8344a..6f76f4f27 100644 --- a/src/dev/io_device.cc +++ b/src/dev/io_device.cc @@ -54,6 +54,9 @@ PioPort::PioPort(PioDevice *dev) Tick PioPort::recvAtomic(PacketPtr pkt) { + // @todo: We need to pay for this and not just zero it out + pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; + return pkt->isRead() ? device->read(pkt) : device->write(pkt); } diff --git a/src/dev/pcidev.cc b/src/dev/pcidev.cc index 592852e29..af78f5180 100644 --- a/src/dev/pcidev.cc +++ b/src/dev/pcidev.cc @@ -67,6 +67,8 @@ PciDev::PciConfigPort::recvAtomic(PacketPtr pkt) { assert(pkt->getAddr() >= configAddr && pkt->getAddr() < configAddr + PCI_CONFIG_SIZE); + // @todo someone should pay for this + pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; return pkt->isRead() ? device->readConfig(pkt) : device->writeConfig(pkt); } diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh index a32182a92..a94ca47cc 100644 --- a/src/dev/x86/intdev.hh +++ b/src/dev/x86/intdev.hh @@ -81,6 +81,8 @@ class IntDev Tick recvMessage(PacketPtr pkt) { + // @todo someone should pay for this + pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; return device->recvMessage(pkt); } }; |