base.hh (8711:c7e14f52c682) base.hh (8736:2d8a57343fe3)
1/*
2 * Copyright (c) 2003-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;

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

100 {
101 public:
102 BaseCache *cache;
103
104 protected:
105 CachePort(const std::string &_name, BaseCache *_cache,
106 const std::string &_label);
107
1/*
2 * Copyright (c) 2003-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;

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

100 {
101 public:
102 BaseCache *cache;
103
104 protected:
105 CachePort(const std::string &_name, BaseCache *_cache,
106 const std::string &_label);
107
108 virtual void recvRangeChange() const;
109
110 virtual unsigned deviceBlockSize() const;
111
112 bool recvRetryCommon();
113
114 typedef EventWrapper<Port, &Port::sendRetry>
115 SendRetryEvent;
116
117 const std::string label;
118
119 public:
108 virtual unsigned deviceBlockSize() const;
109
110 bool recvRetryCommon();
111
112 typedef EventWrapper<Port, &Port::sendRetry>
113 SendRetryEvent;
114
115 const std::string label;
116
117 public:
120 void setOtherPort(CachePort *_otherPort) { otherPort = _otherPort; }
121
122 void setBlocked();
123
124 void clearBlocked();
125
126 bool checkFunctional(PacketPtr pkt);
127
118 void setBlocked();
119
120 void clearBlocked();
121
122 bool checkFunctional(PacketPtr pkt);
123
128 CachePort *otherPort;
129
130 bool blocked;
131
132 bool mustSendRetry;
133
134 void requestBus(RequestCause cause, Tick time)
135 {
136 DPRINTF(CachePort, "Asserting bus request for cause %d\n", cause);
137 if (!waitingOnRetry) {

--- 413 unchanged lines hidden ---
124 bool blocked;
125
126 bool mustSendRetry;
127
128 void requestBus(RequestCause cause, Tick time)
129 {
130 DPRINTF(CachePort, "Asserting bus request for cause %d\n", cause);
131 if (!waitingOnRetry) {

--- 413 unchanged lines hidden ---