aboutsummaryrefslogtreecommitdiff
path: root/lib/membuff.c
AgeCommit message (Collapse)Author
2015-11-19Add a circular memory buffer implementationSimon Glass
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>