X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farm_semihosting.h;h=cf1f8de142e7a7b9d1a149487826a0c7d2421d68;hp=6b9ac566ac0a47317619ec612b9038b39109b925;hb=9f021c2bc129f8f7c659c64ad19531bd8073264a;hpb=ed59dfc80aa6fc48a0894c8e46cee675f38ac949 diff --git a/src/target/arm_semihosting.h b/src/target/arm_semihosting.h index 6b9ac566ac..cf1f8de142 100644 --- a/src/target/arm_semihosting.h +++ b/src/target/arm_semihosting.h @@ -13,16 +13,15 @@ * 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., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef ARM_SEMIHOSTING_H -#define ARM_SEMIHOSTING_H +#ifndef OPENOCD_TARGET_ARM_SEMIHOSTING_H +#define OPENOCD_TARGET_ARM_SEMIHOSTING_H -extern int semihosting_active; +#include "semihosting_common.h" +int arm_semihosting_init(struct target *target); int arm_semihosting(struct target *target, int *retval); -#endif +#endif /* OPENOCD_TARGET_ARM_SEMIHOSTING_H */