rtos: hwthread: fix clang error core.NullDereference
[openocd.git] / src / target / arm_semihosting.h
blob0a912a7262313f9a10d65290477ca6b8988a7038
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2009 by Marvell Technology Group Ltd. *
5 * Written by Nicolas Pitre <nico@marvell.com> *
6 ***************************************************************************/
8 #ifndef OPENOCD_TARGET_ARM_SEMIHOSTING_H
9 #define OPENOCD_TARGET_ARM_SEMIHOSTING_H
11 #include "semihosting_common.h"
13 int arm_semihosting_init(struct target *target);
14 int arm_semihosting(struct target *target, int *retval);
16 #endif /* OPENOCD_TARGET_ARM_SEMIHOSTING_H */