ref: 7b844275cf4d15ded8a6c050583fcb7bba0d4f2e 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); }