added missing signal to VoidFs
This commit is contained in:
parent
38fd830f9e
commit
6844fea57a
@ -104,6 +104,7 @@ protected:
|
|||||||
BLOCK_DEFINES(VoidFs);
|
BLOCK_DEFINES(VoidFs);
|
||||||
|
|
||||||
// The signal processing functions
|
// The signal processing functions
|
||||||
|
void execREAD_CONFIG_REQ(Signal* signal);
|
||||||
void execDUMP_STATE_ORD(Signal* signal);
|
void execDUMP_STATE_ORD(Signal* signal);
|
||||||
void execFSOPENREQ(Signal* signal);
|
void execFSOPENREQ(Signal* signal);
|
||||||
void execFSCLOSEREQ(Signal* signal);
|
void execFSCLOSEREQ(Signal* signal);
|
||||||
|
@ -44,6 +44,7 @@ VoidFs::VoidFs(const Configuration & conf) :
|
|||||||
BLOCK_CONSTRUCTOR(VoidFs);
|
BLOCK_CONSTRUCTOR(VoidFs);
|
||||||
|
|
||||||
// Set received signals
|
// Set received signals
|
||||||
|
addRecSignal(GSN_READ_CONFIG_REQ, &VoidFs::execREAD_CONFIG_REQ);
|
||||||
addRecSignal(GSN_DUMP_STATE_ORD, &VoidFs::execDUMP_STATE_ORD);
|
addRecSignal(GSN_DUMP_STATE_ORD, &VoidFs::execDUMP_STATE_ORD);
|
||||||
addRecSignal(GSN_STTOR, &VoidFs::execSTTOR);
|
addRecSignal(GSN_STTOR, &VoidFs::execSTTOR);
|
||||||
addRecSignal(GSN_FSOPENREQ, &VoidFs::execFSOPENREQ);
|
addRecSignal(GSN_FSOPENREQ, &VoidFs::execFSOPENREQ);
|
||||||
@ -60,6 +61,21 @@ VoidFs::~VoidFs()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
VoidFs::execREAD_CONFIG_REQ(Signal* signal)
|
||||||
|
{
|
||||||
|
const ReadConfigReq * req = (ReadConfigReq*)signal->getDataPtr();
|
||||||
|
|
||||||
|
Uint32 ref = req->senderRef;
|
||||||
|
Uint32 senderData = req->senderData;
|
||||||
|
|
||||||
|
ReadConfigConf * conf = (ReadConfigConf*)signal->getDataPtrSend();
|
||||||
|
conf->senderRef = reference();
|
||||||
|
conf->senderData = senderData;
|
||||||
|
sendSignal(ref, GSN_READ_CONFIG_CONF, signal,
|
||||||
|
ReadConfigConf::SignalLength, JBB);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
VoidFs::execSTTOR(Signal* signal)
|
VoidFs::execSTTOR(Signal* signal)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user