2 * Copyright 2014 Broadcom Corporation
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef __SEMIHOSTING_H__
8 #define __SEMIHOSTING_H__
11 * ARM semihosting functions for loading images to memory. See the source
12 * code for more information.
14 int smh_load(const char *fname, void *memp, int avail, int verbose);
15 long smh_len(const char *fname);
17 #endif /* __SEMIHOSTING_H__ */