armv7a_core_reg_t -> struct armv7a_core_reg

Remove misleading typedef and redundant suffix from struct armv7a_core_reg.
This commit is contained in:
Zachary T Welch 2009-11-13 08:41:35 -08:00
parent 5415d07139
commit 2744a031cb
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ char* armv7a_state_strings[] =
"ARM", "Thumb", "Jazelle", "ThumbEE" "ARM", "Thumb", "Jazelle", "ThumbEE"
}; };
armv7a_core_reg_t armv7a_core_reg_list_arch_info[] = struct armv7a_core_reg armv7a_core_reg_list_arch_info[] =
{ {
{0, ARMV4_5_MODE_ANY, NULL, NULL}, {0, ARMV4_5_MODE_ANY, NULL, NULL},
{1, ARMV4_5_MODE_ANY, NULL, NULL}, {1, ARMV4_5_MODE_ANY, NULL, NULL},

View File

@ -141,13 +141,13 @@ struct armv7a_algorithm
enum armv7a_state core_state; enum armv7a_state core_state;
}; };
typedef struct armv7a_core_reg_s struct armv7a_core_reg
{ {
int num; int num;
enum armv7a_mode mode; enum armv7a_mode mode;
target_t *target; target_t *target;
struct armv7a_common *armv7a_common; struct armv7a_common *armv7a_common;
} armv7a_core_reg_t; };
int armv7a_arch_state(struct target_s *target); int armv7a_arch_state(struct target_s *target);
reg_cache_t *armv7a_build_reg_cache(target_t *target, reg_cache_t *armv7a_build_reg_cache(target_t *target,