diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-07 14:54:12 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-07 14:57:43 -0800 |
commit | a4a2808c2a849eddd5d7d454c048ffdfd89ca9c6 (patch) | |
tree | 25c8eccb1e9cfafdf61b1f6ed5dc940f24c489c6 /src/target/arm9tdmi.c | |
parent | 7b0314c377cc7c6a90db34d6d3e9e723d6d2b94a (diff) | |
download | riscv-openocd-a4a2808c2a849eddd5d7d454c048ffdfd89ca9c6.zip riscv-openocd-a4a2808c2a849eddd5d7d454c048ffdfd89ca9c6.tar.gz riscv-openocd-a4a2808c2a849eddd5d7d454c048ffdfd89ca9c6.tar.bz2 |
ARM: move opcode macros to <target/arm_opcodes.h>
Move the ARM opcode macros from <target/armv4_5.h>, and a few
Thumb2 ones from <target/armv7m.h>, to more appropriate homes
in a new <target/arm_opcodes.h> file.
Removed duplicate opcodes from that v7m/Thumb2 set. Protected
a few macro argument references by adding missing parentheses.
Tightening up some of the line lengths turned up a curious artifact:
the macros for the Thumb opcodes are all 32 bits wide, not 16 bits.
There's currently no explanation for why it's done that way...
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm9tdmi.c')
-rw-r--r-- | src/target/arm9tdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index 09199c7..05f0246 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -30,6 +30,7 @@ #include "arm9tdmi.h" #include "target_type.h" #include "register.h" +#include "arm_opcodes.h" /* |