# HG changeset patch # User Michael Spacefalcon # Date 1404244924 0 # Node ID a92cf1059894f30f263c5c01b805ba32c9c82033 # Parent e3b597f858ce55e9906b56b4e83d470d0d14dce4 osx.c: _osx_config() done, module complete diff -r e3b597f858ce -r a92cf1059894 gsm-fw/gpf/osx/osx.c --- a/gsm-fw/gpf/osx/osx.c Tue Jul 01 19:51:51 2014 +0000 +++ b/gsm-fw/gpf/osx/osx.c Tue Jul 01 20:02:04 2014 +0000 @@ -206,3 +206,21 @@ for (i = 0; i < MAX_OSX_QUEUE; i++) _osx_registry[i].queue_handle = -1; } + +int +_osx_config(const char *config) +{ + if (!strcmp(config, L1S_TRACE_DISABLE)) { + osx_config |= 1; + return(OSX_OK); + } + if (!strcmp(config, L1S_TRACE_ENABLE)) { + osx_config &= ~1; + return(OSX_OK); + } + if (!strcmp(config, NO_SPECIAL_MPHC_RXLEV_REQ)) { + osx_config &= ~2; + return(OSX_OK); + } + return(OSX_ERROR); +}