]> git.sur5r.net Git - u-boot/commit
Add a circular memory buffer implementation
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:47 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:50 +0000 (20:27 -0700)
commitb7b65090b29e6bc133c7922f8290c1e2f75b064a
treee3b82fb6f93c3be7a59604273070ccbed0c5b1cc
parent7d94c497651b6c36a4915d436e6db86398f480d1
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 [new file with mode: 0644]
lib/Makefile
lib/membuff.c [new file with mode: 0644]