Cadence virtual debug interface (vdebug) integration
[fw/openocd] / src / target / arm_semihosting.h
index 6b9ac566ac0a47317619ec612b9038b39109b925..cf1f8de142e7a7b9d1a149487826a0c7d2421d68 100644 (file)
  *   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 <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
-#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 */