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: NSimon Glass <sjg@chromium.org>
Showing
include/membuff.h
0 → 100644
lib/membuff.c
0 → 100644
想要评论请 注册 或 登录