blob: 384386304650e137aaf2edbaf74864f2676a17b7 [file] [log] [blame]
Sean Andersonb10f7242022-03-22 16:59:14 -04001/* 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
9long smh_open(const char *fname, char *modestr);
10long smh_read(long fd, void *memp, size_t len);
11long smh_close(long fd);
12long smh_flen(long fd);
13
14#endif /* _SEMIHOSTING_H */