This is an automated email from Gerrit. Alamy Liu ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3299
-- gerrit commit 8a028fd2b3f5c2f8d8747152ef93feac724259b6 Author: Alamy Liu <[email protected]> Date: Thu Sep 3 15:35:09 2015 -0700 arm_dpm:Merge(8386bcb452e) fix nbp & nwp Change-Id: Ib6043f7dc0df40fdb431b2faaffbfbd005dfc281 Signed-off-by: Alamy Liu <[email protected]> diff --git a/src/target/arm_dpm.c b/src/target/arm_dpm.c index a56763c..7c7938a 100644 --- a/src/target/arm_dpm.c +++ b/src/target/arm_dpm.c @@ -1147,11 +1147,11 @@ int arm_dpm_setup(struct arm_dpm *dpm) /* FIXME add vector catch support */ if (arm->core_state == ARM_STATE_AARCH64) { - dpm->nbp = 1 + ((dpm->didr >> 24) & 0xf); - dpm->nwp = 1 + ((dpm->didr >> 28) & 0xf); - } else { dpm->nbp = 1 + ((dpm->didr >> 12) & 0xf); dpm->nwp = 1 + ((dpm->didr >> 20) & 0xf); + } else { + dpm->nbp = 1 + ((dpm->didr >> 24) & 0xf); + dpm->nwp = 1 + ((dpm->didr >> 28) & 0xf); } dpm->dbp = calloc(dpm->nbp, sizeof *dpm->dbp); -- ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
