path: root/firmware/buflib.c
AgeCommit message (Expand)AuthorFilesLines
2022-11-14replace strlcpy with strmemccpyWilliam Wilgus1-2/+2
2022-10-15move buflib_free invalid handle check to the functionWilliam Wilgus1-0/+2
2022-09-19buflib: add pin/unpin operationAidan MacDonald1-4/+41
2022-09-19buflib: add handle_to_block_endAidan MacDonald1-1/+15
2022-09-19buflib: enable all paranoia checksAidan MacDonald1-1/+3
2022-09-19buflib: remove the 'name' member from union buflib_dataAidan MacDonald1-4/+9
2022-09-19buflib: remove buflib_print_allocs / buflib_print_blocksAidan MacDonald1-46/+0
2022-09-19buflib: omit CRC field if CRC paranoia is not enabledAidan MacDonald1-1/+31
2022-09-19buflib: refactor CRC checks as paranoiaAidan MacDonald1-24/+54
2022-09-19buflib: add paranoia checks for handlesAidan MacDonald1-18/+105
2022-09-19buflib: add block length paranoia checks for loopsAidan MacDonald1-43/+94
2022-09-19buflib: clean up and refactor to improve maintainabilityAidan MacDonald1-105/+133
2022-09-19buflib: optimize getting start of block from end of blockAidan MacDonald1-10/+12
2022-09-19buflib: correct a confusingly indented commentAidan MacDonald1-4/+4
2022-09-19buflib: fix bug in handle_table_shrinkAidan MacDonald1-7/+9
2022-09-19buflib: add comment in handle_alloc, remove a dead storeAidan MacDonald1-1/+4
2022-09-19buflib: update first_free_handle in handle_allocAidan MacDonald1-0/+9
2022-09-19buflib: fix buflib_context_relocate alignment checkAidan MacDonald1-1/+1
2022-09-19buflib: optimize find_block_beforeAidan MacDonald1-11/+10
2022-02-12buflib: add a common dummy callbacks struct & use itAidan MacDonald1-0/+6
2020-07-15Buflib_init Bugfix MinsizeWilliam Wilgus1-0/+6
2019-01-04Buflib add range checks blocks and crc_slot raise panic if out of rangeWilliam Wilgus1-0/+7
2015-01-02buflib: Switch from term "cookie" to "metadata"Thomas Jarosch1-13/+13
2015-01-02Improve core_alloc() / buflib_alloc() documentationThomas Jarosch1-3/+8
2015-01-01PictureFlow: Add move callback for buflib allocationsThomas Jarosch1-1/+1
2014-12-30Add missing newline in debug outputThomas Jarosch1-1/+1
2014-12-29Document 'union buflib_data'Thomas Jarosch1-2/+2
2014-02-02buflib: Add a define telling the per-alloc overhead.Thomas Martitz1-0/+2
2014-02-02buflib: Properly support allocations without any name, to avoid wasting spaceThomas Martitz1-13/+15
2014-02-02buflib: Check the validity of of handles passed to buflib_get_data() in DEBUG...Thomas Martitz1-0/+9
2014-02-02buflib: Abstract panicf() into buflib_panic().Thomas Martitz1-2/+18
2014-01-16buflib: Add crc field protecting buflib cookie integrityMarcin Bukat1-9/+63
2014-01-05Do not include kernel.h in system.h.Thomas Martitz1-0/+1
2013-12-22buflib: Add buflib_context_relocate().Thomas Martitz1-0/+26
2013-12-22buflib: Try harder in buflib_alloc_maximum().Thomas Martitz1-1/+12
2013-07-07buflib: Change buflib_available() and add buflib_allocatable().Thomas Martitz1-2/+25
2013-06-24buflib: Allow handle to be freed entirely during the shrink callback.Thomas Martitz1-4/+10
2013-05-23buflib: Remove compulsory IRQ disable during buffer move.Michael Sevakis1-16/+2
2012-05-02Stop the BDEBUGF format warnings in buflib.cMichael Sevakis1-2/+3
2012-05-02Stop lame warnings about braces and empty body of 'if' statement.Michael Sevakis1-0/+8
2012-05-02Use buflib for the allocation of voice PCM resources.Michael Sevakis1-12/+16
2011-12-19Buflib: Fix handles being possibly moved twiceThomas Martitz1-0/+1
2011-12-01Address some weaknesses and bugs of buflib_compact() and make the code pretti...Thomas Martitz1-24/+36
2011-11-29FS#12412 : Delete old buffer allocation code which has been replaced by core_...Boris Gjenero1-1/+0
2011-11-27In buflib_buffer_shift(), properly update handle->alloc values, which are cha...Boris Gjenero1-2/+3
2011-11-17Buflib: Make shrinking and buflib_available() smarter.Thomas Martitz1-6/+62
2011-10-09Fix audio_get_buffer() implementation on hwcodec, to be similar to the swcode...Thomas Martitz1-0/+4
2011-10-09Protect the move operation of buflib against IRQs.Thomas Martitz1-0/+10
2011-09-10Buflib: Correct return value of handle_table_shrink() to match comment.Thomas Martitz1-1/+1
2011-09-09Remove obsolete commentThomas Martitz1-3/+1