diff options
author | Yuyang Huang <yuyanghuang@google.com> | 2023-10-11 09:37:33 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-10-11 09:37:33 +0000 |
commit | 7ef1cad2615157d8766fcebc8a490293819157fd (patch) | |
tree | eff2bda0b020240f3b9adb87f68d48815f40794f | |
parent | abe2531ef9219c46022f264fde283adfb568bea4 (diff) | |
parent | 3432300e07bd54b0c53b0d4655d79494cf0ebed6 (diff) | |
download | apf-7ef1cad2615157d8766fcebc8a490293819157fd.tar.gz |
Update the apf_allocate_buffer() API doc am: 3432300e07
Original change: https://android-review.googlesource.com/c/platform/hardware/google/apf/+/2783810
Change-Id: I62865723023a1c43831547d3ca153ff00c412572
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | v5/apf_interpreter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/v5/apf_interpreter.h b/v5/apf_interpreter.h index 2af71d1..461d3ee 100644 --- a/v5/apf_interpreter.h +++ b/v5/apf_interpreter.h @@ -33,7 +33,8 @@ uint32_t apf_version(); * Allocates a buffer for APF program to write the transmit packet. * * The implementations must always support allocating at least one 1500 bytes - * buffer until it is effectively transmitted. + * buffer until it is effectively transmitted. Before passing a memory region + * back to the caller, the implementations must zero it out. * * The firmware is responsible for freeing everything that was allocated by APF. * It is OK if the firmware decides only to limit allocations to at most one |