FreeCalypso > hg > freecalypso-sw
changeset 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 |
files | gsm-fw/gpf/osx/osx.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/gpf/osx/osx.c Tue Jul 01 06:51:22 2014 +0000 +++ b/gsm-fw/gpf/osx/osx.c Tue Jul 01 07:01:27 2014 +0000 @@ -30,3 +30,14 @@ status = vsi_c_send(caller, queue_handle, &Message FILE_LINE_MACRO); TRACE_ASSERT(status == VSI_OK); } + +void +osx_send_sig(unsigned long opc, void *signal_ptr, T_ENUM_OS_QUEUE queue_type) +{ + int caller, queue_handle; + + caller = _osx_registry[queue_type].caller; + queue_handle = _osx_registry[queue_type].queue_handle; + TRACE_ASSERT(queue_handle != 0); + int_osx_send_sig(caller, opc, signal_ptr, queue_handle); +}