io_device.cc (2632:1bb2f91485ea) | io_device.cc (2639:78773954274f) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 64 unchanged lines hidden (view full) --- 73 port->transmitList.push_back(packet); 74} 75 76 77bool 78PioPort::recvTiming(Packet *pkt) 79{ 80 device->recvAtomic(pkt); | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 64 unchanged lines hidden (view full) --- 73 port->transmitList.push_back(packet); 74} 75 76 77bool 78PioPort::recvTiming(Packet *pkt) 79{ 80 device->recvAtomic(pkt); |
81 // turn packet around to go back to requester 82 pkt->dest = pkt->src; |
|
81 sendTiming(pkt, pkt->time - pkt->req->getTime()); 82 return Success; 83} 84 85PioDevice::~PioDevice() 86{ 87 if (pioPort) 88 delete pioPort; --- 150 unchanged lines hidden --- | 83 sendTiming(pkt, pkt->time - pkt->req->getTime()); 84 return Success; 85} 86 87PioDevice::~PioDevice() 88{ 89 if (pioPort) 90 delete pioPort; --- 150 unchanged lines hidden --- |