AbstractController: Remove some of the unused functions
--HG-- extra : rebase_source : 78df7398a609f1db8a2592cd2d1bdc9156d1b8c3
This commit is contained in:
parent
6da125cc3c
commit
ce941fd2ae
|
@ -51,15 +51,11 @@ class AbstractController : public SimObject, public Consumer
|
|||
typedef RubyControllerParams Params;
|
||||
AbstractController(const Params *p);
|
||||
const Params *params() const { return (const Params *)_params; }
|
||||
|
||||
// returns the number of controllers created of the specific subtype
|
||||
// virtual int getNumberOfControllers() const = 0;
|
||||
virtual MessageBuffer* getMandatoryQueue() const = 0;
|
||||
virtual const int & getVersion() const = 0;
|
||||
virtual const std::string toString() const = 0; // returns text version of
|
||||
// controller type
|
||||
virtual const std::string getName() const = 0; // return instance name
|
||||
virtual const MachineType getMachineType() const = 0;
|
||||
virtual void blockOnQueue(Address, MessageBuffer*) = 0;
|
||||
virtual void unblock(Address) = 0;
|
||||
virtual void initNetworkPtr(Network* net_ptr) = 0;
|
||||
|
|
|
@ -253,7 +253,6 @@ public:
|
|||
const int & getVersion() const;
|
||||
const std::string toString() const;
|
||||
const std::string getName() const;
|
||||
const MachineType getMachineType() const;
|
||||
void stallBuffer(MessageBuffer* buf, Address addr);
|
||||
void wakeUpBuffers(Address addr);
|
||||
void wakeUpAllBuffers();
|
||||
|
@ -706,12 +705,6 @@ $c_ident::getName() const
|
|||
return m_name;
|
||||
}
|
||||
|
||||
const MachineType
|
||||
$c_ident::getMachineType() const
|
||||
{
|
||||
return MachineType_${ident};
|
||||
}
|
||||
|
||||
void
|
||||
$c_ident::stallBuffer(MessageBuffer* buf, Address addr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue