summaryrefslogtreecommitdiff
path: root/firmware/buflib.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/buflib.c')
-rw-r--r--firmware/buflib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/buflib.c b/firmware/buflib.c
index 27a6965ee0..8d5fe1eef3 100644
--- a/firmware/buflib.c
+++ b/firmware/buflib.c
@@ -55,6 +55,8 @@
55 * to find the start of the character array (and therefore the start of the 55 * to find the start of the character array (and therefore the start of the
56 * entire block) when only the handle or payload start is known. 56 * entire block) when only the handle or payload start is known.
57 * 57 *
58 * UPDATE BUFLIB_ALLOC_OVERHEAD (buflib.h) WHEN THIS COOKIE CHANGES!
59 *
58 * Example: 60 * Example:
59 * |<- alloc block #1 ->|<- unalloc block ->|<- alloc block #2 ->|<-handle table->| 61 * |<- alloc block #1 ->|<- unalloc block ->|<- alloc block #2 ->|<-handle table->|
60 * |L|H|C|cccc|L2|crc|XXXXXX|-L|YYYYYYYYYYYYYYYY|L|H|C|cc|L2|crc|XXXXXXXXXXXXX|AAA| 62 * |L|H|C|cccc|L2|crc|XXXXXX|-L|YYYYYYYYYYYYYYYY|L|H|C|cc|L2|crc|XXXXXXXXXXXXX|AAA|