drawterm/kern/uart.c

16 lines
178 B
C
Raw Normal View History

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