summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/cortex_a8.c6
-rw-r--r--src/target/cortex_a8.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c
index 905860f5..a44bb92e 100644
--- a/src/target/cortex_a8.c
+++ b/src/target/cortex_a8.c
@@ -969,7 +969,7 @@ static int cortex_a8_set_breakpoint(struct target_s *target,
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)
{
@@ -1040,7 +1040,7 @@ static int cortex_a8_unset_breakpoint(struct target_s *target, struct breakpoint
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)
{
@@ -1392,7 +1392,7 @@ static int cortex_a8_examine(struct target_s *target)
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++)
{
diff --git a/src/target/cortex_a8.h b/src/target/cortex_a8.h
index 131cddbf..87288422 100644
--- a/src/target/cortex_a8.h
+++ b/src/target/cortex_a8.h
@@ -82,14 +82,14 @@ extern char* cortex_a8_state_strings[];
#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
{
@@ -119,7 +119,7 @@ struct cortex_a8_common
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;