Update for crash and compilation fix for latest in the branch
[keystone-rtos/netapi.git] / ti / runtime / netapi / src / pdk / v2 / netapi_navig.c
index 352ecd70026b4f363a56841279459132dab18e37..cff6674eb0f96b1fd7557be2e62f55616d156260 100644 (file)
@@ -271,10 +271,8 @@ int netapi_init_qm(int max_descriptors)
                          QMSS_CFG_BASE_ADDR,
                          (uint32_t)netapi_qmssGblCfgParams.qmTimer16Reg[1]);
 
-  netapi_qmssGblCfgParams.qmQueMgmtDataReg =
-    NETAPI_GET_REG_VADDR(netapi_VM_qmssDataVaddr,
-                         QMSS_DATA_BASE_ADDR,
-                         netapi_qmssGblCfgParams.qmQueMgmtDataReg);
+  netapi_qmssGblCfgParams.qmQueMgmtDataReg = 
+                                (void *)((uint32_t)netapi_VM_qmssDataVaddr);
 
   netapi_qmssGblCfgParams.qmQueMgmtProxyDataReg =
     NETAPI_GET_REG_VADDR(netapi_VM_qmssDataVaddr,