FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/osx/osx.c @ 494:a8799459110c
osx.c: osx_send_sig() done
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 01 Jul 2014 07:01:27 +0000 |
parents | 4775ba17ba05 |
children | 34303faf4620 |
comparison
equal
deleted
inserted
replaced
493:4775ba17ba05 | 494:a8799459110c |
---|---|
28 Message.Msg.Signal.SigBuffer = signal_ptr; | 28 Message.Msg.Signal.SigBuffer = signal_ptr; |
29 Message.Msg.Signal.SigLen = sizeof(xSignalHeaderRec); | 29 Message.Msg.Signal.SigLen = sizeof(xSignalHeaderRec); |
30 status = vsi_c_send(caller, queue_handle, &Message FILE_LINE_MACRO); | 30 status = vsi_c_send(caller, queue_handle, &Message FILE_LINE_MACRO); |
31 TRACE_ASSERT(status == VSI_OK); | 31 TRACE_ASSERT(status == VSI_OK); |
32 } | 32 } |
33 | |
34 void | |
35 osx_send_sig(unsigned long opc, void *signal_ptr, T_ENUM_OS_QUEUE queue_type) | |
36 { | |
37 int caller, queue_handle; | |
38 | |
39 caller = _osx_registry[queue_type].caller; | |
40 queue_handle = _osx_registry[queue_type].queue_handle; | |
41 TRACE_ASSERT(queue_handle != 0); | |
42 int_osx_send_sig(caller, opc, signal_ptr, queue_handle); | |
43 } |