Keep logs in a circular buffer so they can be extracted from a RAM dump.

Bug: 115484857, 132429213
Change-Id: I7ae3fd6c24ca8b42f581d9d4417fc6c49b23b43d
diff --git a/inc/hf/dlog.h b/inc/hf/dlog.h
index f36c428..f8c0080 100644
--- a/inc/hf/dlog.h
+++ b/inc/hf/dlog.h
@@ -21,6 +21,11 @@
 
 #include "hf/spci.h"
 
+#define DLOG_BUFFER_SIZE 8192
+
+extern size_t dlog_buffer_offset;
+extern char dlog_buffer[];
+
 #if DEBUG
 void dlog_enable_lock(void);
 void dlog(const char *fmt, ...);