Sean Anderson | b10f724 | 2022-03-22 16:59:14 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com> | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _SEMIHOSTING_H | ||||
7 | #define _SEMIHOSTING_H | ||||
8 | |||||
9 | long smh_open(const char *fname, char *modestr); | ||||
10 | long smh_read(long fd, void *memp, size_t len); | ||||
11 | long smh_close(long fd); | ||||
12 | long smh_flen(long fd); | ||||
13 | |||||
14 | #endif /* _SEMIHOSTING_H */ |