2 * Copyright (C) 2001 MontaVista Software Inc.
3 * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
14 #include "uart16550.h"
16 static void myoutput(void *arg
, char *s
, int l
)
20 // special termination call
21 if ((l
==1) && (s
[0] == '\0')) return;
23 for (i
=0; i
< l
; i
++) {
25 if (s
[i
] == '\n') Uart16550Put('\r');
29 void printf(char *fmt
, ...)
33 lp_Print(myoutput
, 0, fmt
, ap
);
This page took 0.044666 seconds and 5 git commands to generate.