aboutsummaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2011-10-31 22:31:15 +0000
committerØyvind Harboe <oyvindharboe@gmail.com>2011-11-01 14:23:08 +0000
commit3f8f5839641f79ae1983ac55e7f7d866a971976c (patch)
tree39ffcedc864cf1af6f2396d28f1242a2d029699b /src/target
parent01f461b20a707e3547def68f562701790ba99949 (diff)
downloadriscv-openocd-3f8f5839641f79ae1983ac55e7f7d866a971976c.zip
riscv-openocd-3f8f5839641f79ae1983ac55e7f7d866a971976c.tar.gz
riscv-openocd-3f8f5839641f79ae1983ac55e7f7d866a971976c.tar.bz2
target: rename cortex_m3.[ch] to cortex_m.[ch]
This rename is in preparation for cortex_m4 support. Change-Id: Ic08c298ec6ed2aabc2c39db67191f68b3a51f550 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/147 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/Makefile.am4
-rw-r--r--src/target/arm_semihosting.c2
-rw-r--r--src/target/cortex_m.c (renamed from src/target/cortex_m3.c)2
-rw-r--r--src/target/cortex_m.h (renamed from src/target/cortex_m3.h)0
4 files changed, 4 insertions, 4 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am
index 9f7e5e9..03d84ea 100644
--- a/src/target/Makefile.am
+++ b/src/target/Makefile.am
@@ -73,7 +73,7 @@ ARMV6_SRC = \
ARMV7_SRC = \
armv7m.c \
- cortex_m3.c \
+ cortex_m.c \
armv7a.c \
cortex_a.c
@@ -137,7 +137,7 @@ noinst_HEADERS = \
dsp563xx_once.h \
dsp5680xx.h \
breakpoints.h \
- cortex_m3.h \
+ cortex_m.h \
cortex_a.h \
embeddedice.h \
etb.h \
diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c
index 903145c..fba580b 100644
--- a/src/target/arm_semihosting.c
+++ b/src/target/arm_semihosting.c
@@ -41,7 +41,7 @@
#include "armv4_5.h"
#include "arm7_9_common.h"
#include "armv7m.h"
-#include "cortex_m3.h"
+#include "cortex_m.h"
#include "register.h"
#include "arm_semihosting.h"
#include <helper/binarybuffer.h>
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m.c
index a2f8b78..8000b9a 100644
--- a/src/target/cortex_m3.c
+++ b/src/target/cortex_m.c
@@ -32,7 +32,7 @@
#endif
#include "breakpoints.h"
-#include "cortex_m3.h"
+#include "cortex_m.h"
#include "target_request.h"
#include "target_type.h"
#include "arm_disassembler.h"
diff --git a/src/target/cortex_m3.h b/src/target/cortex_m.h
index e16aa89..e16aa89 100644
--- a/src/target/cortex_m3.h
+++ b/src/target/cortex_m.h