Add a circular memory buffer implementation
This will be used to support console recording. It provides for a circular
buffer which can be written at the head and read from the tail. It supports
avoiding data copying by providing raw access to the data.
Signed-off-by:
Simon Glass <sjg@chromium.org>
include/membuff.h
0 → 100644
lib/membuff.c
0 → 100644