Searched hist:"062 c8762" (Results 1 – 3 of 3) sorted by relevance
/openbmc/libpldm/tests/ |
H A D | msgbuf_generic.c | 062c8762 Sat Apr 22 08:45:04 CDT 2023 Thu Nguyen <thu@os.amperecomputing.com> msgbuf: Add insert and span APIs
pldm_msgbuf_insert() is generic APIs to insert data to a pointer. It automatically calls the correct insertor API for the type of the packing data. pldm_msgbuf_span_required() spans the input number of bytes from buffer to the input double pointer. pldm_msgbuf_span_remaining() extracts the remaining number of bytes from buffer to the input double pointer.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: Ide7dbf735f69a8288e6f39a0b7b5c33aad38a98e
|
H A D | msgbuf.cpp | 062c8762 Sat Apr 22 08:45:04 CDT 2023 Thu Nguyen <thu@os.amperecomputing.com> msgbuf: Add insert and span APIs
pldm_msgbuf_insert() is generic APIs to insert data to a pointer. It automatically calls the correct insertor API for the type of the packing data. pldm_msgbuf_span_required() spans the input number of bytes from buffer to the input double pointer. pldm_msgbuf_span_remaining() extracts the remaining number of bytes from buffer to the input double pointer.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: Ide7dbf735f69a8288e6f39a0b7b5c33aad38a98e
|
/openbmc/libpldm/src/ |
H A D | msgbuf.h | 062c8762 Sat Apr 22 08:45:04 CDT 2023 Thu Nguyen <thu@os.amperecomputing.com> msgbuf: Add insert and span APIs
pldm_msgbuf_insert() is generic APIs to insert data to a pointer. It automatically calls the correct insertor API for the type of the packing data. pldm_msgbuf_span_required() spans the input number of bytes from buffer to the input double pointer. pldm_msgbuf_span_remaining() extracts the remaining number of bytes from buffer to the input double pointer.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: Ide7dbf735f69a8288e6f39a0b7b5c33aad38a98e
|