summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/semihosting.h
blob: 835ca7e4b683ff18151c07a8f39cc56a12d502f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright 2014 Broadcom Corporation
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __SEMIHOSTING_H__
#define __SEMIHOSTING_H__

/*
 * ARM semihosting functions for loading images to memory. See the source
 * code for more information.
 */
int smh_load(const char *fname, void *memp, int avail, int verbose);
long smh_len(const char *fname);

#endif /* __SEMIHOSTING_H__ */