2009-12-03 16:27:13 -06:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2009 by Marvell Technology Group Ltd. *
|
|
|
|
* Written by Nicolas Pitre <nico@marvell.com> *
|
|
|
|
* *
|
|
|
|
* 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 *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
2016-05-16 15:41:00 -05:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
2009-12-03 16:27:13 -06:00
|
|
|
***************************************************************************/
|
|
|
|
|
2015-09-21 14:07:46 -05:00
|
|
|
#ifndef OPENOCD_TARGET_ARM_SEMIHOSTING_H
|
|
|
|
#define OPENOCD_TARGET_ARM_SEMIHOSTING_H
|
2009-12-03 16:27:13 -06:00
|
|
|
|
2016-07-22 15:43:11 -05:00
|
|
|
int arm_semihosting_init(struct target *target);
|
2009-12-03 16:27:13 -06:00
|
|
|
int arm_semihosting(struct target *target, int *retval);
|
|
|
|
|
2015-09-21 14:07:46 -05:00
|
|
|
#endif /* OPENOCD_TARGET_ARM_SEMIHOSTING_H */
|