Initial setup for SMS implementation

# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
This commit is contained in:
Thanh C. Tran
2017-02-23 16:22:44 +01:00
parent 1d6ebb6223
commit 4ed7ff420b
9 changed files with 71 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
#include "SMS.h"
using namespace std;
void SMS::schedule (gp *payload)
{
buffer[DramExtension::getExtension(payload).getThread()].emplace_back(payload);
}
std::pair<Command, gp*> SMS::getNextRequest(Bank bank)
{
return pair<Command, tlm::tlm_generic_payload*>(Command::NOP, NULL);
}