bridge.hh (4918:3214e3694fb2) bridge.hh (4965:ad0e792a5c78)
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;

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

65 BridgePort *otherPort;
66
67 /** Minimum delay though this bridge. */
68 Tick delay;
69
70 /** Min delay to respond to a nack. */
71 Tick nackDelay;
72
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;

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

65 BridgePort *otherPort;
66
67 /** Minimum delay though this bridge. */
68 Tick delay;
69
70 /** Min delay to respond to a nack. */
71 Tick nackDelay;
72
73 bool fixPartialWrite;
73 /** Pass ranges from one side of the bridge to the other? */
74 std::vector<Range<Addr> > filterRanges;
74
75 class PacketBuffer : public Packet::SenderState {
76
77 public:
78 Tick ready;
79 PacketPtr pkt;
80 Packet::SenderState *origSenderState;
81 short origSrc;

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

151 };
152
153 SendEvent sendEvent;
154
155 public:
156 /** Constructor for the BusPort.*/
157 BridgePort(const std::string &_name, Bridge *_bridge,
158 BridgePort *_otherPort, int _delay, int _nack_delay,
75
76 class PacketBuffer : public Packet::SenderState {
77
78 public:
79 Tick ready;
80 PacketPtr pkt;
81 Packet::SenderState *origSenderState;
82 short origSrc;

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

152 };
153
154 SendEvent sendEvent;
155
156 public:
157 /** Constructor for the BusPort.*/
158 BridgePort(const std::string &_name, Bridge *_bridge,
159 BridgePort *_otherPort, int _delay, int _nack_delay,
159 int _req_limit, int _resp_limit, bool fix_partial_write);
160 int _req_limit, int _resp_limit,
161 std::vector<Range<Addr> > filter_ranges);
160
161 protected:
162
163 /** When receiving a timing request from the peer port,
164 pass it to the bridge. */
165 virtual bool recvTiming(PacketPtr pkt);
166
167 /** When receiving a retry request from the peer port,

--- 44 unchanged lines hidden ---
162
163 protected:
164
165 /** When receiving a timing request from the peer port,
166 pass it to the bridge. */
167 virtual bool recvTiming(PacketPtr pkt);
168
169 /** When receiving a retry request from the peer port,

--- 44 unchanged lines hidden ---