Community
Participate
Working Groups
There are [non-BIOS] based use cases where malloc()-based memory needs to be aligned (e.g. to allocate small chunks of memory that _might_ be given to DMAs). HeapStd should honor the alignment param... or alternatively a new 'HeapStdAlign' module could be provided instead. Originally filed as SDOCM00046160. For planning purposes, I'd like to get this accepted/rejected soon so I understand the roadmap. Implementation can come later as we have a temporary 'HeapStdAlign' workaround. Additionally, if we could integrate HeapStdAlign into the XDC product, that would be welcome as well.
FYI, there is a HeapStdAlign reference implementation in the osal product: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal/latest/xdoc/xdcruntime/heaps/HeapStdAlign.html
there's a HeadStdAlign in the osal, that can be used as a reference
- fixed in xdc-z27 There will be a new test runtime.heapStd in the xdctest-c tree that can be used to test this new functionality.
Verified by [light] code inspection, and by building/running the new alignment-enabled heapStd tests natively on a Linux host using XDC 3.25.00.43_eng.
shipped in 3.25.00.48: http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_25_00_48/index_FDS.html.