commit | 1294ecf551d17db37c99c78cc1064bf7aa681fda | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 08 23:47:47 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 19 20:27:50 2015 -0700 |
tree | e3b82fb6f93c3be7a59604273070ccbed0c5b1cc | |
parent | 456f5e443590f6e130e514092e65e2c418f563c2 [diff] |
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>