summaryrefslogtreecommitdiff
path: root/lib/membuff.c
Commit message (Collapse)AuthorAgeLines
* Add a circular memory buffer implementationSimon Glass2015-11-19-0/+390
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>