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/3339
-- gerrit commit a035ae6221351f1e3dd29866de8786355f37231a Author: Alamy Liu <[email protected]> Date: Wed Dec 2 11:57:13 2015 -0800 (merge) armv8: add Breakpoint Control register field definitions Change-Id: I80e4ec57631def3e39bbdbd69be424cb272326ca Signed-off-by: Alamy Liu <[email protected]> diff --git a/src/target/armv8.h b/src/target/armv8.h index 43c333f..d0eb339 100644 --- a/src/target/armv8.h +++ b/src/target/armv8.h @@ -306,6 +306,34 @@ /* ------------------------------------------------------------------ */ +/* Breakpoint/Watchpoint related registers */ + +/* Fields of DBGBCRn_EL1 (H9.2.2 Debug Breakpoint Control Register) */ +#define ARMV8_DBGBCR_BT_SHIFT (20) +#define ARMV8_DBGBCR_BT_MASK (0b1111 << ARMV8_DBGBCR_BT_SHIFT) +#define ARMV8_DBGBCR_BT_UNLINK_INSTADDR (0b0000) +#define ARMV8_DBGBCR_BT_LINK_INSTADDR (0b0001) +#define ARMV8_DBGBCR_BT_UNLINK_CTXID (0b0010) +#define ARMV8_DBGBCR_BT_LINK_CTXID (0b0011) +#define ARMV8_DBGBCR_BT_UNLINK_nINSTADDR (0b0100) +#define ARMV8_DBGBCR_BT_LINK_nINSTADDR (0b0101) +#define ARMV8_DBGBCR_BT_UNLINK_VMID (0b1000) +#define ARMV8_DBGBCR_BT_LINK_VMID (0b1001) +#define ARMV8_DBGBCR_BT_UNLINK_VMID_CTXID (0b1010) +#define ARMV8_DBGBCR_BT_LINK_VMID_CTXID (0b1011) +#define ARMV8_DBGBCR_LBN_SHIFT (16) +#define ARMV8_DBGBCR_LBN_MASK (0b1111 << ARMV8_DBGBCR_LBN_SHIFT) +#define ARMV8_DBGBCR_SSC_SHIFT (14) +#define ARMV8_DBGBCR_SSC_MASK (0b11 << ARMV8_DBGBCR_SSC_SHIFT) +#define ARMV8_DBGBCR_HMC (1 << 13) +#define ARMV8_DBGBCR_BAS_SHIFT (5) +#define ARMV8_DBGBCR_BAS_MASK (0b1111 << ARMV8_DBGBCR_BAS_SHIFT) +#define ARMV8_DBGBCR_PMC_SHIFT (1) +#define ARMV8_DBGBCR_PMC_MASK (0b11 << ARMV8_DBGBCR_PMC_SHIFT) +#define ARMV8_DBGBCR_E (1 << 0) + + +/* ------------------------------------------------------------------ */ /* Cache related registers */ /* Fields of CCSIDR_EL1 (D7.2.14 Current Cache Size ID Register) */ -- ------------------------------------------------------------------------------ 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
