예제 #1
0
파일: main.c 프로젝트: elicec/optee_os
void console_putc(int ch)
{
	imx_uart_putc(ch, CONSOLE_UART_BASE);

	/* If \n, also do \r */
	if (ch == '\n')
		imx_uart_putc('\r', CONSOLE_UART_BASE);
}
예제 #2
0
파일: main.c 프로젝트: yanyan-wrs/optee_os
void console_putc(int ch)
{
	vaddr_t base = console_base();

	/* If \n, also do \r */
	if (ch == '\n')
		imx_uart_putc('\r', base);
	imx_uart_putc(ch, base);
}