Commit 22f6a4ce authored by Zachary T Welch's avatar Zachary T Welch
Browse files

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.
parent 18475360
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment