Deleted Added
sdiff udiff text old ( 8922:17f037ad8918 ) new ( 8948:e95ee70f876c )
full compact
1/*
2 * Copyright (c) 2004-2005 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;
9 * redistributions in binary form must reproduce the above copyright

--- 120 unchanged lines hidden (view full) ---

130 /** If the port is currently waiting for a retry before it can send whatever
131 * it is that it's sending. */
132 bool inRetry;
133
134 /** Port accesses a cache which requires snooping */
135 bool recvSnoops;
136
137 virtual bool recvTiming(PacketPtr pkt);
138 virtual Tick recvAtomic(PacketPtr pkt)
139 {
140 if (recvSnoops) return 0;
141
142 panic("dma port shouldn't be used for pio access."); M5_DUMMY_RETURN
143 }
144 virtual void recvFunctional(PacketPtr pkt)
145 {
146 if (recvSnoops) return;
147
148 panic("dma port shouldn't be used for pio access.");
149 }
150
151 virtual void recvRetry() ;
152
153 virtual bool isSnooping() const { return recvSnoops; }
154
155 void queueDma(PacketPtr pkt, bool front = false);
156 void sendDma();

--- 151 unchanged lines hidden ---