DSMCC
15.3.1
|
00001 /******************************************************************************* 00002 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org) 00003 * 00004 * This file is part of a DTVKit Software Component 00005 * You are permitted to copy, modify or distribute this file subject to the terms 00006 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org 00007 * 00008 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00009 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 00010 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00011 * 00012 * If you or your organisation is not a member of DTVKit then you have access 00013 * to this source code outside of the terms of the licence agreement 00014 * and you are expected to delete this and any associated files immediately. 00015 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org 00016 *******************************************************************************/ 00024 #ifndef _DSM_DEBUG_H 00025 #define _DSM_DEBUG_H 00026 00027 00028 /*---Constant and macro definitions for public use-----------------------------*/ 00029 00030 /* debug states for DSMCC core */ 00031 /* General */ 00032 #define DD_GEN (1 << 0) 00033 /* Object Carousel */ 00034 #define DD_OC (1 << 1) 00035 /* Section Filtering */ 00036 #define DD_SF (1 << 2) 00037 /* Timers */ 00038 #define DD_TIMER (1 << 3) 00039 /* Stream Events */ 00040 #define DD_SE (1 << 4) 00041 /* Load manager */ 00042 #define DD_LM (1 << 5) 00043 /* Object Loading */ 00044 #define DD_OBJ (1 << 6) 00045 /* Data Carousel */ 00046 #define DD_DC (1 << 7) 00047 /* SI Query */ 00048 #define DD_QUERY (1 << 8) 00049 /* Modules */ 00050 #define DD_MOD (1 << 9) 00051 #define DD_ALL ((1 << 10)-1) 00052 00053 /* debug states for service info */ 00054 #define DS_MAIN (1 << 16) 00055 #define DS_QUERY (1 << 17) 00056 #define DS_CACHE (1 << 18) 00057 #define DS_PMT (1 << 19) 00058 #define DS_PAT (1 << 20) 00059 #define DS_FUNC (1 << 21) 00060 #define DS_ALL (31 << 16) 00061 00062 /* debug states for section filtering */ 00063 #define DF_MAIN (1 << 24) 00064 #define DF_FILTER (1 << 25) 00065 #define DF_CACHE (1 << 26) 00066 #define DF_ALL (7 << 24) 00067 00068 /* debug states for DSMCC main API */ 00069 #define DM_SI (1 << 29) 00070 #define DM_CONTROL (1 << 30) 00071 #define DM_CLIENT (1 << 31) 00072 00073 /*---Enumerations for public use-----------------------------------------------*/ 00074 00075 /*---Global type defs for public use-------------------------------------------*/ 00076 00077 /*---Global Function prototypes for public use---------------------------------*/ 00078 00083 U32BIT DSMCC_DebugGetMask(void); 00084 00090 void DSMCC_DebugSetMask(U32BIT mask); 00091 00092 #endif /*_DSM_DEBUG_H */