X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farmv7m.h;h=90cad00c2ab3d746c53b2aabdf5dc55315f67ac8;hb=da7459415079002a52f516a6d00a31474d61b495;hp=a012fa23f8740da0a1db50461118f020311eedfe;hpb=bf4cf766310768198cfa766467d47bdb180f9b27;p=openocd.git diff --git a/src/target/armv7m.h b/src/target/armv7m.h index a012fa23f8..90cad00c2a 100644 --- a/src/target/armv7m.h +++ b/src/target/armv7m.h @@ -19,13 +19,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef ARMV7M_COMMON_H -#define ARMV7M_COMMON_H +#ifndef OPENOCD_TARGET_ARMV7M_H +#define OPENOCD_TARGET_ARMV7M_H #include "arm_adi_v5.h" #include "arm.h" @@ -134,6 +132,8 @@ enum { enum { FP_NONE = 0, FPv4_SP, + FPv5_SP, + FPv5_DP, }; #define ARMV7M_NUM_CORE_REGS (ARMV7M_xPSR + 1) @@ -148,7 +148,7 @@ struct armv7m_common { int exception_number; /* AP this processor is connected to in the DAP */ - uint8_t debug_ap; + struct adiv5_ap *debug_ap; int fp_feature; uint32_t demcr; @@ -231,4 +231,4 @@ int armv7m_maybe_skip_bkpt_inst(struct target *target, bool *inst_found); extern const struct command_registration armv7m_command_handlers[]; -#endif /* ARMV7M_H */ +#endif /* OPENOCD_TARGET_ARMV7M_H */