[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/misc/drvs_efuse.h b/cp/ps/driver/inc/misc/drvs_efuse.h
new file mode 100644
index 0000000..2cca866
--- /dev/null
+++ b/cp/ps/driver/inc/misc/drvs_efuse.h
@@ -0,0 +1,110 @@
+/*******************************************************************************
+ * Copyright (C) 2014, ZTE Corporation.
+ *
+ * File Name:
+ * File Mark:
+ * Description:
+ * Others:
+ * Version: 1.0
+ * Author:
+ * Date:
+ * History 1:
+ * Date:
+ * Version:
+ * Author:
+ * Modification:
+ * History 2:
+ ********************************************************************************/
+
+#ifndef _DRVS_EFUSE_H
+#define _DRVS_EFUSE_H
+
+/****************************************************************************
+* Include files
+****************************************************************************/
+#ifndef _OS_LINUX
+#include "oss_api.h"
+
+/****************************************************************************
+* Macros
+****************************************************************************/
+
+
+/****************************************************************************
+* Types
+****************************************************************************/
+typedef struct
+{
+ UINT32 pubKeyRsaE[32];
+ UINT32 pubKeyRsaN[32];
+ UINT32 secureFlag;
+ UINT32 pubKeyHash[4];
+ UINT32 secureDevId[3];
+}T_ZDrvEfuse_Secure;
+
+typedef enum
+{
+ SECURE_EN,
+ PUB_KEY_HASH,
+ DEVICE_ID,
+ MAX_ENUM
+}E_ZDrvEfuse_SecureMsg;
+#endif
+
+/****************************************************************************
+* Constants
+****************************************************************************/
+
+/****************************************************************************
+* Global Variables
+****************************************************************************/
+
+/****************************************************************************
+* Function Prototypes
+****************************************************************************/
+
+/*******************************************************************************
+* Function: zDrvEfuse_IsSpe
+* Description:
+* Parameters:
+* Input:
+* None
+* Output:
+* None
+* Returns:
+* Others:
+*******************************************************************************/
+UINT32 zDrvEfuse_IsSpe(VOID);
+
+#ifndef _OS_LINUX
+
+/*******************************************************************************
+ * Function: zDrvEfuse_GetSecureMsg
+ * Description:¸Ãº¯ÊýÓÃÓÚ»ñÈ¡¹«Ô¿¶Ô¡¢°²È«¿ªÆô±ê¼Ç¡¢¹«Ô¿hashÖµ¡¢É豸ID¡£
+ * Parameters:
+ * Input:
+ *
+ * Output:
+ *
+ * Returns:
+ *
+ * Others:
+ ********************************************************************************/
+VOID zDrvEfuse_GetSecureMsg(T_ZDrvEfuse_Secure *secure);
+
+/*******************************************************************************
+* Function: zDrvEfuse_SetSecureMsg
+* Description:¸Ãº¯ÊýÓÃÓÚÉèÖð²È«¿ªÆô±ê¼Ç¡¢¹«Ô¿hashÖµ¡¢É豸ID¡£
+* Parameters:
+* Input:
+* None
+* Output:
+* None
+* Returns:
+* None
+* Others:
+*******************************************************************************/
+SINT32 zDrvEfuse_SetSecureMsg(E_ZDrvEfuse_SecureMsg secure_msg, UINT32 *secure_buf);
+#endif
+
+#endif