Darwin Rambo | 261d276 | 2014-06-09 11:12:59 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Broadcom Corporation |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __SEMIHOSTING_H__ |
| 8 | #define __SEMIHOSTING_H__ |
| 9 | |
| 10 | /* |
| 11 | * ARM semihosting functions for loading images to memory. See the source |
| 12 | * code for more information. |
| 13 | */ |
| 14 | int smh_load(const char *fname, void *memp, int avail, int verbose); |
Linus Walleij | 4e1ef15 | 2014-12-15 11:05:56 +0100 | [diff] [blame] | 15 | long smh_len(const char *fname); |
Darwin Rambo | 261d276 | 2014-06-09 11:12:59 -0700 | [diff] [blame] | 16 | |
| 17 | #endif /* __SEMIHOSTING_H__ */ |