StateMachine.py (6877:2a1a3d916ca8) | StateMachine.py (6881:5a61a8a9009a) |
---|---|
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; --- 195 unchanged lines hidden (view full) --- 204 $c_ident(const Params *p); 205 static int getNumControllers(); 206 void init(); 207 MessageBuffer* getMandatoryQueue() const; 208 const int & getVersion() const; 209 const string toString() const; 210 const string getName() const; 211 const MachineType getMachineType() const; | 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; --- 195 unchanged lines hidden (view full) --- 204 $c_ident(const Params *p); 205 static int getNumControllers(); 206 void init(); 207 MessageBuffer* getMandatoryQueue() const; 208 const int & getVersion() const; 209 const string toString() const; 210 const string getName() const; 211 const MachineType getMachineType() const; |
212 void initNetworkPtr(Network* net_ptr) { m_net_ptr = net_ptr; } |
|
212 void print(ostream& out) const; 213 void printConfig(ostream& out) const; 214 void wakeup(); 215 void printStats(ostream& out) const { s_profiler.dumpStats(out); } 216 void clearStats() { s_profiler.clearStats(); } 217 void blockOnQueue(Address addr, MessageBuffer* port); 218 void unblock(Address addr); 219private: --- 826 unchanged lines hidden --- | 213 void print(ostream& out) const; 214 void printConfig(ostream& out) const; 215 void wakeup(); 216 void printStats(ostream& out) const { s_profiler.dumpStats(out); } 217 void clearStats() { s_profiler.clearStats(); } 218 void blockOnQueue(Address addr, MessageBuffer* port); 219 void unblock(Address addr); 220private: --- 826 unchanged lines hidden --- |