goodwatch/firmware/dmesg.h

20 lines
366 B
C
Raw Normal View History

2017-11-18 17:36:15 +00:00
/*! \file dmesg.h
\brief Kernel debug message buffer.
*/
2017-12-09 00:51:01 +00:00
#define DMESGLEN 2048
//! Ought to be 0xdeadbeef except after power loss.
extern uint32_t dmesg_magic;
//! Index within that buffer.
extern uint16_t dmesg_index;
2017-11-18 17:46:03 +00:00
//! Clears the dmesg buffer.
void dmesg_clear();
//! I ain't never initialized a buffer that didn't need initializin'.
void dmesg_init();
2017-11-18 17:36:15 +00:00