--- ./source/private_module/src/upgrade_debug_cmd.c	2018-03-23 07:57:20.000000000 +0000
+++ ./source/private_module/src/upgrade_debug_cmd.c.hotpatch	2019-03-25 11:23:23.000000000 +0000
@@ -1409,102 +1409,102 @@
 
 OSP_VOID UPGDBG_GetSupportMode(OSP_S32 v_iArgc, OSP_CHAR *v_szArgv[])
 {
-    void *pMsg      = NULL;
-    OSP_VOID *pMsgObj = NULL;
-    OSP_U32 uiMsgLen = 0;
-    MSG_INFO_S  stMsgInfo = {0};
-    OSP_U16 materNID = INVALID_VALUE16;
-    OSP_U16 localNID = INVALID_VALUE16;
-    OSP_VOID *pAckMsg = NULL;
-    OSP_U32 supportmode = 0;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+    
 
     UNREFERENCE_PARAM(v_iArgc);
     UNREFERENCE_PARAM(v_szArgv);
 
-    materNID = getOmMasterNid();
-    if (materNID == INVALID_VALUE16)
-    {
-        DBG_Print("Failed to get master nid\n");
-        return;
-    }
-
-    localNID = OM_getLocalNidInKrn();
-    if (localNID == INVALID_VALUE16)
-    {
-        DBG_Print("Failed to get local nid\n");
-        return;
-    }
-
-    MSG_InitMsgInfo(&stMsgInfo);
-    stMsgInfo.usMsgType      = MSG_TYPE_REQUEST;
-    stMsgInfo.uiMsgTimeout   = 30;
-    stMsgInfo.usSenderBID = (OSP_U16)localNID;
-    stMsgInfo.usSenderPID = PID_UPGRADE_KERNEL;
-    stMsgInfo.usReceiverBID  = (OSP_U16)materNID;
-    stMsgInfo.usReceiverPID = PID_UPGRADE;
-
-    pMsgObj = MSGOBJ_Create(1, 1);
-    if (NULL == pMsgObj)
-    {
-        DBG_Print("Create Obj failed\n.");
-        return;
-    }
-
-    /* ü¼opcode */
-    MSGOBJ_SetRecordOpcode(pMsgObj, 0, (OSP_U64)ISM_GET_VERSION_INFO);
-    MSGOBJ_SetItemUnsigned(pMsgObj, 0, 0, (OSP_U64)1, sizeof(OSP_U32));
-
-    if(RETURN_OK != MSGOBJ_GetObjInfo(pMsgObj, &uiMsgLen, NULL, NULL))
-    {
-        DBG_Print("Get obj info failed\n.");
-        MSGOBJ_Destroy(pMsgObj);
-        return;
-    }
-
-    pMsg = MSG_AllocMsg(uiMsgLen);
-    if (NULL == pMsg)
-    {
-        DBG_Print("Alloc msg failed\n.");
-        MSGOBJ_Destroy(pMsgObj);
-        return;
-    }
-
-    if (RETURN_OK != MSGOBJ_Encode(pMsgObj, pMsg, uiMsgLen))
-    {
-        DBG_Print("Encode msg obj failed\n.");
-        MSGOBJ_Destroy(pMsgObj);
-        MSG_FreeMsg(pMsg);
-        return;
-    }
-
-    stMsgInfo.uiMsgLength = uiMsgLen;
-    MSGOBJ_Destroy(pMsgObj);
-    (void)MSG_SendSyncMsg(pMsg, &stMsgInfo, &pAckMsg);
-
-    /*ȡϢϢ*/
-    if (RETURN_OK != MSG_GetMsgInfo(pAckMsg, &stMsgInfo))
-    {
-        DBG_Print("Get msg info failed.\n");
-        MSG_FreeMsg(pAckMsg);
-        return;
-    }
-
-    /* Ϣ */
-    pMsgObj = MSGOBJ_Decode(pAckMsg, stMsgInfo.uiMsgLength);
-    MSG_FreeMsg(pAckMsg);
-    if (NULL == pMsgObj)
-    {
-        DBG_Print("Decode message object failed.\n");
-        return;
-    }
-
-    /* ȡִн */
-    if (MSGOBJ_ITEM_TYPE_UNSIGNED == MSGOBJ_GetItemType(pMsgObj, 1, 8))
-    {
-        MSGOBJ_GetItemUnsigned(pMsgObj, 1, 8, &supportmode, sizeof(OSP_U32));
-    }
-    DBG_Print("supportmode=%u.\n", supportmode);
-    MSGOBJ_Destroy(pMsgObj);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+    
+    DBG_Print("upgrade_and_hotpatch\n");
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+    
     return;
 }
 
