zte's code,first commit

Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
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_*/

+