ref: c1f45eb46dfc4e7bc5afd1d2e2e4308398b4d924 dir: /kern/uart.c/
#include "u.h" #include "lib.h" #include "dat.h" #include "fns.h" #include "error.h" extern int panicking; void uartputs(char *s, int n) { if(panicking) write(1, s, n); }