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:
Zachary T Welch 2009-11-13 09:04:14 -08:00
parent 18475360b2
commit 22f6a4cef5
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@
#define _DEBUG_INSTRUCTION_EXECUTION_ #define _DEBUG_INSTRUCTION_EXECUTION_
#endif #endif
static const arm9tdmi_vector_t arm9tdmi_vectors[] = static const struct arm9tdmi_vector arm9tdmi_vectors[] =
{ {
{"reset", ARM9TDMI_RESET_VECTOR}, {"reset", ARM9TDMI_RESET_VECTOR},
{"undef", ARM9TDMI_UNDEF_VECTOR}, {"undef", ARM9TDMI_UNDEF_VECTOR},

View File

@ -33,13 +33,13 @@ struct arm9tdmi_common
struct arm7_9_common arm7_9_common; struct arm7_9_common arm7_9_common;
}; };
typedef struct arm9tdmi_vector_s struct arm9tdmi_vector
{ {
char *name; char *name;
uint32_t value; uint32_t value;
} arm9tdmi_vector_t; };
enum arm9tdmi_vector enum arm9tdmi_vector_bit
{ {
ARM9TDMI_RESET_VECTOR = 0x01, ARM9TDMI_RESET_VECTOR = 0x01,
ARM9TDMI_UNDEF_VECTOR = 0x02, ARM9TDMI_UNDEF_VECTOR = 0x02,