> - rec->tag = tag;
> - rec->hdr_size = sizeof(struct bloblist_rec);
> + rec->tag_and_hdr_size = tag | sizeof(*rec) <<
> BLOBLISTR_HDR_SIZE_SHIFT;
nit: Might be a good idea to mask the tag or double-check that it fits
the field size here.
> - * 5. Bloblist uses 16-byte
The v0.9 spec provides for an 8-byte header for each blob, with fewer
fields. Update the implementation to match this.
Signed-off-by: Simon Glass
---
common/bloblist.c | 17 +
include/bloblist.h | 33 ++---
test/bloblist.c| 16
2 matches
Mail list logo