X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farmv7m.h;h=cb7bb5cbfae4d0bc952af8df389437c35a9e4c03;hb=f976af56a4352d0406b930528beec105df13cacb;hp=7eaa5c512805f48f8669cb4ac55ce43d94fc20ef;hpb=85fc1e06fa086dc12dddf20d826d705e6505250d;p=openocd.git diff --git a/src/target/armv7m.h b/src/target/armv7m.h index 7eaa5c5128..cb7bb5cbfa 100644 --- a/src/target/armv7m.h +++ b/src/target/armv7m.h @@ -5,6 +5,9 @@ * Copyright (C) 2006 by Magnus Lundin * * lundin@mlu.mine.nu * * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -23,9 +26,7 @@ #ifndef ARMV7M_COMMON_H #define ARMV7M_COMMON_H -#include "register.h" -#include "target.h" -#include "arm_jtag.h" +#include "arm_adi_v5.h" /* define for enabling armv7 gdb workarounds */ #if 1 @@ -75,6 +76,8 @@ typedef struct armv7m_common_s reg_cache_t *core_cache; enum armv7m_mode core_mode; int exception_number; + swjdp_common_t swjdp_info; + /* Direct processor core register read and writes */ int (*load_core_reg_u32)(struct target_s *target, enum armv7m_regtype type, u32 num, u32 *value); @@ -115,7 +118,6 @@ extern int armv7m_mode_to_number(enum armv7m_mode mode); extern int armv7m_arch_state(struct target_s *target); extern int armv7m_get_gdb_reg_list(target_t *target, reg_t **reg_list[], int *reg_list_size); -extern int armv7m_invalidate_core_regs(target_t *target); extern int armv7m_register_commands(struct command_context_s *cmd_ctx); extern int armv7m_init_arch_info(target_t *target, armv7m_common_t *armv7m);