base.cc (9486:569e1f1d762d) base.cc (9614:c35b47fd0df8)
1/*
1/*
2 * Copyright (c) 2012 ARM Limited
2 * Copyright (c) 2012-2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

83}
84
85void
86BaseCache::CacheSlavePort::setBlocked()
87{
88 assert(!blocked);
89 DPRINTF(CachePort, "Cache port %s blocking new requests\n", name());
90 blocked = true;
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

83}
84
85void
86BaseCache::CacheSlavePort::setBlocked()
87{
88 assert(!blocked);
89 DPRINTF(CachePort, "Cache port %s blocking new requests\n", name());
90 blocked = true;
91 // if we already scheduled a retry in this cycle, but it has not yet
92 // happened, cancel it
93 if (sendRetryEvent.scheduled()) {
94 owner.deschedule(sendRetryEvent);
95 DPRINTF(CachePort, "Cache port %s deschedule retry\n", name());
96 mustSendRetry = true;
97 }
91}
92
93void
94BaseCache::CacheSlavePort::clearBlocked()
95{
96 assert(blocked);
97 DPRINTF(CachePort, "Cache port %s accepting new requests\n", name());
98 blocked = false;

--- 663 unchanged lines hidden ---
98}
99
100void
101BaseCache::CacheSlavePort::clearBlocked()
102{
103 assert(blocked);
104 DPRINTF(CachePort, "Cache port %s accepting new requests\n", name());
105 blocked = false;

--- 663 unchanged lines hidden ---