X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farmv4_5.h;h=89879163b8a3e5ddb7153d4c03f2599cefd32235;hp=c6686f1edf2098a7d37883858e82088e5eb3a53d;hb=74d09617b927ed7011098d5a65087dee1ef1e87a;hpb=b1de5eb9a074b362e953e857c42cac9a9b18b2a3 diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index c6686f1edf..89879163b8 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -87,7 +87,7 @@ enum typedef struct arm { int common_magic; - reg_cache_t *core_cache; + struct reg_cache *core_cache; int /* armv4_5_mode */ core_mode; enum armv4_5_state core_state; @@ -119,23 +119,23 @@ static inline bool is_arm(struct arm *arm) return arm && arm->common_magic == ARMV4_5_COMMON_MAGIC; } -typedef struct armv4_5_algorithm_s +struct armv4_5_algorithm { int common_magic; enum armv4_5_mode core_mode; enum armv4_5_state core_state; -} armv4_5_algorithm_t; +}; -typedef struct armv4_5_core_reg_s +struct armv4_5_core_reg { int num; enum armv4_5_mode mode; target_t *target; armv4_5_common_t *armv4_5_common; -} armv4_5_core_reg_t; +}; -reg_cache_t* armv4_5_build_reg_cache(target_t *target, +struct reg_cache* armv4_5_build_reg_cache(target_t *target, armv4_5_common_t *armv4_5_common); /* map psr mode bits to linear number */