Deleted Added
sdiff udiff text old ( 9595:470016acf37d ) new ( 9596:aa73a81cf92c )
full compact
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
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;

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

257 typedef ${c_ident}Params Params;
258 $c_ident(const Params *p);
259 static int getNumControllers();
260 void init();
261 MessageBuffer* getMandatoryQueue() const;
262 const int & getVersion() const;
263 const std::string toString() const;
264 const std::string getName() const;
265 void initNetworkPtr(Network* net_ptr) { m_net_ptr = net_ptr; }
266 void print(std::ostream& out) const;
267 void wakeup();
268 void printStats(std::ostream& out) const;
269 void clearStats();
270 void blockOnQueue(Address addr, MessageBuffer* port);
271 void unblock(Address addr);
272 void recordCacheTrace(int cntrl, CacheRecorder* tr);

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

741
742const string
743$c_ident::getName() const
744{
745 return m_name;
746}
747
748void
749$c_ident::blockOnQueue(Address addr, MessageBuffer* port)
750{
751 m_is_blocking = true;
752 m_block_map[addr] = port;
753}
754
755void
756$c_ident::unblock(Address addr)

--- 945 unchanged lines hidden ---