conterm/kern/uart.c

16 lines
178 B
C
Raw Normal View History

2005-08-08 16:50:13 +04:00
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
2005-11-02 18:21:51 +03:00
extern int panicking;
2005-08-08 16:50:13 +04:00
void
uartputs(char *s, int n)
{
2005-11-02 18:21:51 +03:00
if(panicking)
write(1, s, n);
2005-08-08 16:50:13 +04:00
}