/Kernel-v11.1.0/portable/MemMang/ |
D | heap_2.c | 106 static const size_t xHeapStructSize = ( ( sizeof( BlockLink_t ) + ( size_t ) ( portBYTE_ALIGNMENT -… variable 107 #define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize * 2 ) ) 168 if( heapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 170 xWantedSize += xHeapStructSize; in pvPortMalloc() 237 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 298 puc -= xHeapStructSize; in vPortFree() 316 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree()
|
D | heap_4.c | 59 #define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 158 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( portBYTE_ALIGNMENT -… variable 185 if( heapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 187 xWantedSize += xHeapStructSize; in pvPortMalloc() 260 … ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxPreviousBlock->pxNextFreeBlock ) ) + xHeapStructSize ); in pvPortMalloc() 357 puc -= xHeapStructSize; in vPortFree() 377 if( heapSUBTRACT_WILL_UNDERFLOW( pxLink->xBlockSize, xHeapStructSize ) == 0 ) in vPortFree() 379 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree() 474 uxEndAddress -= ( portPOINTER_SIZE_TYPE ) xHeapStructSize; in prvHeapInit()
|
D | heap_5.c | 93 #define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 182 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( portBYTE_ALIGNMENT -… variable 224 if( heapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 226 xWantedSize += xHeapStructSize; in pvPortMalloc() 288 … ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxPreviousBlock->pxNextFreeBlock ) ) + xHeapStructSize ); in pvPortMalloc() 385 puc -= xHeapStructSize; in vPortFree() 405 if( heapSUBTRACT_WILL_UNDERFLOW( pxLink->xBlockSize, xHeapStructSize ) == 0 ) in vPortFree() 407 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree() 608 xAddress -= ( portPOINTER_SIZE_TYPE ) xHeapStructSize; in vPortDefineHeapRegions()
|
/Kernel-v11.1.0/portable/IAR/ARM_CM33/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/IAR/ARM_CM23/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/IAR/ARM_CM55/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/IAR/ARM_CM85/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/ARMv8M/secure/heap/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/GCC/ARM_CM85/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/GCC/ARM_CM23/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/GCC/ARM_CM33/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/IAR/ARM_CM35P/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/GCC/ARM_CM55/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/portable/GCC/ARM_CM35P/secure/ |
D | secure_heap.c | 61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) ) 127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable 171 uxAddress -= xHeapStructSize; in prvHeapInit() 275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc() 277 xWantedSize += xHeapStructSize; in pvPortMalloc() 335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 427 puc -= xHeapStructSize; in vPortFree()
|
/Kernel-v11.1.0/ |
D | History.txt | 1127 + Correct calculation of xHeapStructSize in heap_4 and heap_5.
|