SICS-387 Started adding code to pass signals on to script context drivers.

This commit is contained in:
Douglas Clowes
2012-11-28 16:23:04 +11:00
parent c277681fa1
commit b22906ba2d

View File

@ -289,6 +289,21 @@ static int DevQueueTask(void *ds)
return 1;
}
void DevSigFun(void *ds, int iSignal, void *pSigData) {
DevSer *devser = ds;
AsconStatus status;
DevAction *action;
SchedHeader *header;
if (devser->stopTask) {
return;
}
for (header = devser->headers; header != NULL; header = header->next) {
// TODO ffr Set interrupt level on the action handler node's sics_int property
// An action handler should clear the sics_int property after it is called.
}
}
DevSer *DevMake(SConnection * con, int argc, char *argv[])
{
DevSer *devser = NULL;