uint8_t byte_addr_select = 0x0F;
struct cortex_a8_common *cortex_a8 = target_to_cortex_a8(target);
struct armv7a_common *armv7a = &cortex_a8->armv7a_common;
- cortex_a8_brp_t * brp_list = cortex_a8->brp_list;
+ struct cortex_a8_brp * brp_list = cortex_a8->brp_list;
if (breakpoint->set)
{
int retval;
struct cortex_a8_common *cortex_a8 = target_to_cortex_a8(target);
struct armv7a_common *armv7a = &cortex_a8->armv7a_common;
- cortex_a8_brp_t * brp_list = cortex_a8->brp_list;
+ struct cortex_a8_brp * brp_list = cortex_a8->brp_list;
if (!breakpoint->set)
{
cortex_a8->brp_num = ((didr >> 24) & 0x0F) + 1;
cortex_a8->brp_num_context = ((didr >> 20) & 0x0F) + 1;
cortex_a8->brp_num_available = cortex_a8->brp_num;
- cortex_a8->brp_list = calloc(cortex_a8->brp_num, sizeof(cortex_a8_brp_t));
+ cortex_a8->brp_list = calloc(cortex_a8->brp_num, sizeof(struct cortex_a8_brp));
// cortex_a8->brb_enabled = ????;
for (i = 0; i < cortex_a8->brp_num; i++)
{
#define DSCR_DTR_TX_FULL 29
#define DSCR_DTR_RX_FULL 30
-typedef struct cortex_a8_brp_s
+struct cortex_a8_brp
{
int used;
int type;
uint32_t value;
uint32_t control;
uint8_t BRPn;
-} cortex_a8_brp_t;
+};
typedef struct cortex_a8_wrp_s
{
int brp_num;
int brp_num_available;
// int brp_enabled;
- cortex_a8_brp_t *brp_list;
+ struct cortex_a8_brp *brp_list;
/* Watchpoint register pairs */
int wrp_num;