From 3f8f5839641f79ae1983ac55e7f7d866a971976c Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 31 Oct 2011 22:31:15 +0000 Subject: [PATCH] target: rename cortex_m3.[ch] to cortex_m.[ch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This rename is in preparation for cortex_m4 support. Change-Id: Ic08c298ec6ed2aabc2c39db67191f68b3a51f550 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/147 Tested-by: jenkins Reviewed-by: Øyvind Harboe --- src/target/Makefile.am | 4 ++-- src/target/arm_semihosting.c | 2 +- src/target/{cortex_m3.c => cortex_m.c} | 2 +- src/target/{cortex_m3.h => cortex_m.h} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename src/target/{cortex_m3.c => cortex_m.c} (99%) rename src/target/{cortex_m3.h => cortex_m.h} (100%) diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 9f7e5e96..03d84ea0 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 903145c5..fba580b4 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 diff --git a/src/target/cortex_m3.c b/src/target/cortex_m.c similarity index 99% rename from src/target/cortex_m3.c rename to src/target/cortex_m.c index a2f8b78e..8000b9a8 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 similarity index 100% rename from src/target/cortex_m3.h rename to src/target/cortex_m.h -- 2.39.5