[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/pub/drvs_hisr.h b/cp/ps/driver/inc/pub/drvs_hisr.h
new file mode 100644
index 0000000..b8d8909
--- /dev/null
+++ b/cp/ps/driver/inc/pub/drvs_hisr.h
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (C) 2007, ZTE Corporation.
+ *
+ * File Name: drvs_hisr.h
+ * File Mark:
+ * Description: Provide the declaration of return types for HAL
+ * Others:
+ * Version: V0.5
+ * Author: xiongquan
+ * Date: 2008-12-01
+ * History 1:
+ * Date:
+ * Version:
+ * Author:
+ * Modification:
+ * History 2:
+ ********************************************************************************/
+#ifndef _DRVS_HISR_H
+#define _DRVS_HISR_H
+
+/****************************************************************************
+* Types
+****************************************************************************/
+typedef struct _T_Drv_Hisr
+{
+ UINT8 active;
+ UINT32 event;
+ ZOSS_THREAD_ID pid;
+ ZOSS_SEMAPHORE_ID semid;
+ VOID * devPtr;
+}
+T_Drv_Hisr;
+
+typedef VOID(*FUNC_HISRENTRY)(SINT32 arg);
+
+/****************************************************************************
+* Constants
+****************************************************************************/
+
+/****************************************************************************
+* Global Variables
+****************************************************************************/
+
+/****************************************************************************
+* Function Prototypes
+****************************************************************************/
+SINT32 zDrv_HisrCreate(T_Drv_Hisr * hisr, CHAR *name, SINT32 size, SINT32 priority, FUNC_HISRENTRY hisr_entry, VOID *hisr_device);
+VOID zDrv_HisrFree(T_Drv_Hisr * hisr);
+VOID zDrv_HisrStart(T_Drv_Hisr * hisr, UINT32 event);
+VOID zDrv_HisrActivate(T_Drv_Hisr * hisr);
+VOID zDrv_HisrWaitSem(T_Drv_Hisr * hisr);
+VOID zDrv_HisrResetEvent (T_Drv_Hisr *hisr, UINT32 event);
+SINT32 zDrv_HisrInitSem(T_Drv_Hisr * hisr);
+
+
+#endif
+