Heap Init ,如果沒有使用過的話
xWantSize +=HeapStructSize 和做 alingment
如果( xWantedSize > 0 ) && (xWantedSize <=xFreeBytesRemaining ) ,繼續 allocate
找到第一個 足夠的 BlockSize 進行使用
如果要使用的 BlockSize > heapMINIMUM_BLOCK_SIZE,則把它進行分割加入 Free List
retuen allocate address
hart:
A component that contains a hardware execution context, which
includes all the state mandated by the RISC-V ISA: a PC and some registers.
core:
A component that contains one or more harts that share a
single independent instruction fetch unit.