xref: /rk3399_ARM-atf/include/drivers/io/io_semihosting.h (revision 935db693285d6b22b781571e9dec748da274ffe1)
1*935db693SDan Handley /*
2*935db693SDan Handley  * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
3*935db693SDan Handley  *
4*935db693SDan Handley  * Redistribution and use in source and binary forms, with or without
5*935db693SDan Handley  * modification, are permitted provided that the following conditions are met:
6*935db693SDan Handley  *
7*935db693SDan Handley  * Redistributions of source code must retain the above copyright notice, this
8*935db693SDan Handley  * list of conditions and the following disclaimer.
9*935db693SDan Handley  *
10*935db693SDan Handley  * Redistributions in binary form must reproduce the above copyright notice,
11*935db693SDan Handley  * this list of conditions and the following disclaimer in the documentation
12*935db693SDan Handley  * and/or other materials provided with the distribution.
13*935db693SDan Handley  *
14*935db693SDan Handley  * Neither the name of ARM nor the names of its contributors may be used
15*935db693SDan Handley  * to endorse or promote products derived from this software without specific
16*935db693SDan Handley  * prior written permission.
17*935db693SDan Handley  *
18*935db693SDan Handley  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19*935db693SDan Handley  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*935db693SDan Handley  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*935db693SDan Handley  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22*935db693SDan Handley  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23*935db693SDan Handley  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24*935db693SDan Handley  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25*935db693SDan Handley  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26*935db693SDan Handley  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27*935db693SDan Handley  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28*935db693SDan Handley  * POSSIBILITY OF SUCH DAMAGE.
29*935db693SDan Handley  */
30*935db693SDan Handley 
31*935db693SDan Handley #ifndef __IO_SH_H__
32*935db693SDan Handley #define __IO_SH_H__
33*935db693SDan Handley 
34*935db693SDan Handley struct io_dev_connector;
35*935db693SDan Handley 
36*935db693SDan Handley int register_io_dev_sh(const struct io_dev_connector **dev_con);
37*935db693SDan Handley 
38*935db693SDan Handley #endif /* __IO_SH_H__ */
39