diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-03-24 17:10:51 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-24 19:06:50 +0200 |
commit | 88b26b845cab11be3f925e2fb52b805f7f8f992a (patch) | |
tree | 0d59deb84719befb24dd3fafb5489d5a4c18fd60 /src/lib/rmodule.c | |
parent | 6338189d0e2a6ba8e82719ce0ba631639a5e0212 (diff) |
commonlib: add input and output buffer helpers
Introduce ibuf and obuf structures for helping manage memory buffers.
The ibuf, an input buffer, can be read from and the obuf, an output
buffer, can be written to. Helper functions are provided for serializing
values in different endian formats. This library is provided to for
common buffer management routines such that the same code doesn't
have to re-written in different and less consistent forms.
BUG=b:36598499
Change-Id: I5247237f68b658906ec6916bbbb286d57d6df5ee
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19062
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/lib/rmodule.c')
0 files changed, 0 insertions, 0 deletions