diff options
| author | Simon Glass <[email protected]> | 2022-01-12 19:26:23 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2022-01-13 09:13:41 -0700 |
| commit | e50a24a0456c07d28c0d589e061dd0576f6bb917 (patch) | |
| tree | a806d836573039a451b42643ad3fcb9c0951b3e2 /include | |
| parent | 99047f5d7f9cb013f7040edd7d20a70cc30646b5 (diff) | |
bloblist: Add functions to obtain base address and size
Add a few convenience functions to obtain useful information about the
bloblist.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/bloblist.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/bloblist.h b/include/bloblist.h index 13f2b3f1009..d9e108d8618 100644 --- a/include/bloblist.h +++ b/include/bloblist.h @@ -303,6 +303,20 @@ int bloblist_finish(void); void bloblist_get_stats(ulong *basep, ulong *sizep, ulong *allocedp); /** + * bloblist_get_base() - Get the base address of the bloblist + * + * @returns base address of bloblist + */ +ulong bloblist_get_base(void); + +/** + * bloblist_get_size() - Get the size of the bloblist + * + * @returns the size in bytes + */ +ulong bloblist_get_size(void); + +/** * bloblist_show_stats() - Show information about the bloblist * * This shows useful information about the bloblist on the console |
