aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_simulator.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:14 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:14 -0800
commit8193f17c3aeb948ca8f70ed3361e8b2bccefffed (patch)
tree92a85ed1cca372c0da886fe1a3fc3e22b894d83f /src/target/arm_simulator.c
parent1186f7efa72a86a7000dce60b090bd4f822cdceb (diff)
downloadriscv-openocd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.zip
riscv-openocd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.tar.gz
riscv-openocd-8193f17c3aeb948ca8f70ed3361e8b2bccefffed.tar.bz2
target: no implicit #includes of "register.h"
Same deal: "register.h" got needlessly included all over the place because of being in a few widely included headers. So take it out of the header files which included it, and put it in files which use it ... reduce needless interdependencies. Also, don't need that extra "types.h" inclusion. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_simulator.c')
-rw-r--r--src/target/arm_simulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c
index 120d5b9..a353c13 100644
--- a/src/target/arm_simulator.c
+++ b/src/target/arm_simulator.c
@@ -28,6 +28,7 @@
#include "arm_disassembler.h"
#include "arm_simulator.h"
#include "binarybuffer.h"
+#include "register.h"
static uint32_t arm_shift(uint8_t shift, uint32_t Rm,