Home | History | Annotate | Download | only in inc
      1 
      2 /****************************************************************************
      3 **+-----------------------------------------------------------------------+**
      4 **|                                                                       |**
      5 **| Copyright(c) 1998 - 2008 Texas Instruments. All rights reserved.      |**
      6 **| All rights reserved.                                                  |**
      7 **|                                                                       |**
      8 **| Redistribution and use in source and binary forms, with or without    |**
      9 **| modification, are permitted provided that the following conditions    |**
     10 **| are met:                                                              |**
     11 **|                                                                       |**
     12 **|  * Redistributions of source code must retain the above copyright     |**
     13 **|    notice, this list of conditions and the following disclaimer.      |**
     14 **|  * Redistributions in binary form must reproduce the above copyright  |**
     15 **|    notice, this list of conditions and the following disclaimer in    |**
     16 **|    the documentation and/or other materials provided with the         |**
     17 **|    distribution.                                                      |**
     18 **|  * Neither the name Texas Instruments nor the names of its            |**
     19 **|    contributors may be used to endorse or promote products derived    |**
     20 **|    from this software without specific prior written permission.      |**
     21 **|                                                                       |**
     22 **| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS   |**
     23 **| "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT     |**
     24 **| LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |**
     25 **| A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT  |**
     26 **| OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |**
     27 **| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT      |**
     28 **| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |**
     29 **| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |**
     30 **| THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT   |**
     31 **| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |**
     32 **| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  |**
     33 **|                                                                       |**
     34 **+-----------------------------------------------------------------------+**
     35 ****************************************************************************/
     36 
     37 /*********************************************************************************/
     38 /*                                                                                */
     39 /*   MODULE:  DebugTraceXfer_api.h											          */
     40 /*   PURPOSE: Handle The FW Debug Messages 										  */
     41 /*                                                                                */
     42 /**********************************************************************************/
     43 #ifdef TI_DBG
     44 
     45 #ifndef _DEBUG_TRCAE_XFER_API_H
     46 #define _DEBUG_TRCAE_XFER_API_H
     47 
     48 
     49 TI_HANDLE debugTrace_Create	(TI_HANDLE hOS);
     50 
     51 void debugTrace_Destroy		(TI_HANDLE hDebugTrace);
     52 
     53 void debugTrace_Config(TI_HANDLE hDebugTrace, TI_HANDLE hWhalParams, TI_HANDLE hReport,
     54 					   TI_HANDLE hMemMgr, TI_HANDLE hTNETWIF, TI_HANDLE hFwEvent);
     55 
     56 void debugTrace_ConfigHw	(TI_HANDLE hDebugTrace,UINT32 TraceAddA, UINT32 TraceAddB);
     57 
     58 TI_STATUS debugTrace_Event	(TI_HANDLE hDebugTrace);
     59 
     60 void debugTrace_Disable		(TI_HANDLE hDebugTrace);
     61 
     62 void debugTrace_Enable		(TI_HANDLE hDebugTrace);
     63 
     64 void debugTrace_Print		(TI_HANDLE hDebugTrace);
     65 
     66 void debugTrace_EnablePrint	(TI_HANDLE hDebugTrace);
     67 
     68 void debugTrace_DisablePrint(TI_HANDLE hDebugTrace);
     69 
     70 void debugTrace_handleBuffer(TI_HANDLE hDebugTrace);
     71 
     72 void debugTrace_UdpEnable	(TI_HANDLE hDebugTrace);
     73 
     74 void debugTrace_UdpDisable	(TI_HANDLE hDebugTrace);
     75 
     76 #endif /* _DEBUG_TRCAE_XFER_API_H */
     77 
     78 #endif /* TI_DBG */
     79