diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/target/arm9tdmi.c | 2 | ||||
-rw-r--r-- | src/target/arm9tdmi.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index 5e034934..fdd395a5 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -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}, diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h index 55223179..2e25b52c 100644 --- a/src/target/arm9tdmi.h +++ b/src/target/arm9tdmi.h @@ -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, |