diff options
-rw-r--r-- | vxi11_server.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vxi11_server.c b/vxi11_server.c index 2382966..0f684c4 100644 --- a/vxi11_server.c +++ b/vxi11_server.c @@ -324,6 +324,13 @@ device_unlock_1_svc(Device_Link *argp, struct svc_req *rqstp) { return &result; } +void fireinterrupt() { + Device_SrqParms params; + params.handle.handle_val = inthandler; + params.handle.handle_len = strlen(inthandler); + device_intr_srq_1(¶ms, intclient); +} + Device_Error * device_enable_srq_1_svc(Device_EnableSrqParms *argp, struct svc_req *rqstp) { static Device_Error result; @@ -342,6 +349,7 @@ device_enable_srq_1_svc(Device_EnableSrqParms *argp, struct svc_req *rqstp) { #ifdef DEBUG printf("Interrupt handle set to %s\n", inthandler); #endif + fireinterrupt(); } } result.error = 0; |