abuf: Provide a way to get the buffer address
authorSimon Glass <sjg@chromium.org>
Sat, 11 Jan 2025 00:00:01 +0000 (17:00 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 21:58:03 +0000 (15:58 -0600)
commitc487381d50b280a0dce09e00cd29620be9598c90
treee09f7f88ccdd6308d6b4a2288331de68d8acdfd9
parent864106f3c477052dae932d80a89522532efe76fe
abuf: Provide a way to get the buffer address

In many cases it is useful to get the address of a buffer, e.g. when
booting from it. Add a function to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/abuf.h
lib/abuf.c
test/lib/abuf.c