port.hh (4192:7accc6365bb9) port.hh (4432:5e55857abb01)
1/*
2 * Copyright (c) 2002-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;

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

156 /** Called by a peer port if the send was unsuccesful, and had to
157 wait. This shouldn't be valid for response paths (IO Devices).
158 so it is set to panic if it isn't already defined.
159 */
160 virtual void recvRetry() { panic("??"); }
161
162 /** Called by a peer port in order to determine the block size of the
163 device connected to this port. It sometimes doesn't make sense for
1/*
2 * Copyright (c) 2002-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;

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

156 /** Called by a peer port if the send was unsuccesful, and had to
157 wait. This shouldn't be valid for response paths (IO Devices).
158 so it is set to panic if it isn't already defined.
159 */
160 virtual void recvRetry() { panic("??"); }
161
162 /** Called by a peer port in order to determine the block size of the
163 device connected to this port. It sometimes doesn't make sense for
164 this function to be called, a DMA interface doesn't really have a
165 block size, so it is defaulted to a panic.
164 this function to be called, so it just returns 0. Anytthing that is
165 concerned with the size should just ignore that.
166 */
166 */
167 virtual int deviceBlockSize() { panic("??"); M5_DUMMY_RETURN }
167 virtual int deviceBlockSize() { return 0; }
168
169 /** The peer port is requesting us to reply with a list of the ranges we
170 are responsible for.
171 @param resp is a list of ranges responded to
172 @param snoop is a list of ranges snooped
173 */
174 virtual void getDeviceAddressRanges(AddrRangeList &resp,
175 AddrRangeList &snoop)

--- 125 unchanged lines hidden ---
168
169 /** The peer port is requesting us to reply with a list of the ranges we
170 are responsible for.
171 @param resp is a list of ranges responded to
172 @param snoop is a list of ranges snooped
173 */
174 virtual void getDeviceAddressRanges(AddrRangeList &resp,
175 AddrRangeList &snoop)

--- 125 unchanged lines hidden ---