xref: /optee_os/core/include/console.h (revision 4de4bebcfbe3c5c1884a2ff2c66fa2aa5dede662)
1*4de4bebcSJens Wiklander /*
2*4de4bebcSJens Wiklander  * Copyright (c) 2014, Linaro Limited
3*4de4bebcSJens Wiklander  * All rights reserved.
4*4de4bebcSJens Wiklander  *
5*4de4bebcSJens Wiklander  * Redistribution and use in source and binary forms, with or without
6*4de4bebcSJens Wiklander  * modification, are permitted provided that the following conditions are met:
7*4de4bebcSJens Wiklander  *
8*4de4bebcSJens Wiklander  * 1. Redistributions of source code must retain the above copyright notice,
9*4de4bebcSJens Wiklander  * this list of conditions and the following disclaimer.
10*4de4bebcSJens Wiklander  *
11*4de4bebcSJens Wiklander  * 2. Redistributions in binary form must reproduce the above copyright notice,
12*4de4bebcSJens Wiklander  * this list of conditions and the following disclaimer in the documentation
13*4de4bebcSJens Wiklander  * and/or other materials provided with the distribution.
14*4de4bebcSJens Wiklander  *
15*4de4bebcSJens Wiklander  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16*4de4bebcSJens Wiklander  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*4de4bebcSJens Wiklander  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*4de4bebcSJens Wiklander  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19*4de4bebcSJens Wiklander  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20*4de4bebcSJens Wiklander  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21*4de4bebcSJens Wiklander  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22*4de4bebcSJens Wiklander  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23*4de4bebcSJens Wiklander  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24*4de4bebcSJens Wiklander  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25*4de4bebcSJens Wiklander  * POSSIBILITY OF SUCH DAMAGE.
26*4de4bebcSJens Wiklander  */
27*4de4bebcSJens Wiklander 
28*4de4bebcSJens Wiklander #ifndef CONSOLE_H
29*4de4bebcSJens Wiklander #define CONSOLE_H
30*4de4bebcSJens Wiklander 
31*4de4bebcSJens Wiklander void console_putc(int ch);
32*4de4bebcSJens Wiklander void console_flush_tx_fifo(void);
33*4de4bebcSJens Wiklander 
34*4de4bebcSJens Wiklander #endif /*CONSOLE_H*/
35*4de4bebcSJens Wiklander 
36