# HG changeset patch
# User Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
# Date 1404197482 0
# Node ID 4775ba17ba05db9ce95e9a3a8d8a47945e998850
# Parent  517cde3e238eedeed9b3c564a56d799b35af7d55
osx.c: int_osx_send_sig() done

diff -r 517cde3e238e -r 4775ba17ba05 gsm-fw/gpf/osx/osx.c
--- a/gsm-fw/gpf/osx/osx.c	Mon Jun 30 19:31:52 2014 +0000
+++ b/gsm-fw/gpf/osx/osx.c	Tue Jul 01 06:51:22 2014 +0000
@@ -14,3 +14,19 @@
 int osx_config = 2;
 int _caller;
 T_OSX_REGISTER _osx_registry[7];
+
+void
+int_osx_send_sig(int caller, unsigned long opc, void *signal_ptr,
+		 int queue_handle)
+{
+	T_QMSG Message;
+	int status;
+
+	TRACE_ASSERT(queue_handle != 0);
+	Message.MsgType = MSG_SIGNAL;
+	Message.Msg.Signal.SigOPC = opc;
+	Message.Msg.Signal.SigBuffer = signal_ptr;
+	Message.Msg.Signal.SigLen = sizeof(xSignalHeaderRec);
+	status = vsi_c_send(caller, queue_handle, &Message FILE_LINE_MACRO);
+	TRACE_ASSERT(status == VSI_OK);
+}