[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/driver/inc/cfg/drvs_debug.h b/cp/ps/driver/inc/cfg/drvs_debug.h
new file mode 100644
index 0000000..93f5cda
--- /dev/null
+++ b/cp/ps/driver/inc/cfg/drvs_debug.h
@@ -0,0 +1,77 @@
+/*******************************************************************************

+ * Copyright (C) 2007, ZTE Corporation.

+ *

+ * File Name:

+ * File Mark:

+ * Description:

+ * Others:

+ * Version:       1.0

+ * Author:        geanfeng

+ * Date:          2013-09-25

+ * History 1:

+ *     Date:

+ *     Version:

+ *     Author:

+ *     Modification:

+ * History 2:

+  ********************************************************************************/

+

+#ifndef _DRVS_DEBUG_H_

+#define _DRVS_DEBUG_H_

+

+/****************************************************************************

+* 	                                        Include files

+****************************************************************************/

+#include "drvs_general.h"

+

+/****************************************************************************

+* 	                                        Macros

+****************************************************************************/

+

+/****************************************************************************

+* 	                                        Types

+****************************************************************************/

+typedef enum _T_DRV_DEBUG_PRINT_CHANNEL

+{

+    DRV_DEBUG_PRINT_ZOSS,

+    DRV_DEBUG_PRINT_DCC

+}T_DRV_DEBUG_PRINT_CHANNEL;

+

+/****************************************************************************

+* 	                                        Constants

+****************************************************************************/

+

+/****************************************************************************

+* 	                                        Global  Variables

+****************************************************************************/

+extern volatile T_DRV_DEBUG_PRINT_CHANNEL  g_debugPrintChnSel;

+/****************************************************************************

+* 	                                        Function Prototypes

+****************************************************************************/

+SINT32 debug_Print(const VOID *pFormat, ... );

+/*******************************************************************************

+* Function:zDrvDebug_Printf

+* Description:  log´òÓ¡

+* Parameters:

+*       pFormat:¸ñʽ»¯×Ö·û´®

+*	 Output:

+*

+* Returns:

+*

+*

+* Others:

+********************************************************************************/

+#define zDrvDebug_Printf(s...)  \

+{ \

+	if (g_debugPrintChnSel == DRV_DEBUG_PRINT_ZOSS)\

+		{\

+			zOss_Printf(SUBMDL_HAL, PRINT_LEVEL_NORMAL, s);\

+		}\

+	else \

+		{\

+			debug_Print(s);\

+		}\

+}

+

+#endif/*_DRVS_IO_H_*/

+