mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
arm9tdmi_vector_t -> struct arm9tdmi_vector
Remove misleading typedef and redundant suffix from struct arm9tdmi_vector. Renames enum arm9tdmi_vector as enum arm9tdmi_vector_bit.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
#endif
|
||||
|
||||
static const arm9tdmi_vector_t arm9tdmi_vectors[] =
|
||||
static const struct arm9tdmi_vector arm9tdmi_vectors[] =
|
||||
{
|
||||
{"reset", ARM9TDMI_RESET_VECTOR},
|
||||
{"undef", ARM9TDMI_UNDEF_VECTOR},
|
||||
|
||||
@@ -33,13 +33,13 @@ struct arm9tdmi_common
|
||||
struct arm7_9_common arm7_9_common;
|
||||
};
|
||||
|
||||
typedef struct arm9tdmi_vector_s
|
||||
struct arm9tdmi_vector
|
||||
{
|
||||
char *name;
|
||||
uint32_t value;
|
||||
} arm9tdmi_vector_t;
|
||||
};
|
||||
|
||||
enum arm9tdmi_vector
|
||||
enum arm9tdmi_vector_bit
|
||||
{
|
||||
ARM9TDMI_RESET_VECTOR = 0x01,
|
||||
ARM9TDMI_UNDEF_VECTOR = 0x02,
|
||||
|
||||
Reference in New Issue
Block a user