1 #include <console/console.h>
3 #define LOGBUF_SIZE 1024
6 // I need the address so I can watch it with the ARIUM hardware. RGM.
7 char logbuf[LOGBUF_SIZE];
10 static void logbuf_tx_byte(unsigned char byte)
12 logbuf[logbuf_offset] = byte;
13 logbuf_offset = (logbuf_offset +1) % LOGBUF_SIZE;
16 static const struct console_driver __console = {
18 .tx_byte = logbuf_tx_byte,