CMSIS-RTOS Validation  Version 1.0
RTOS Validation
 All Data Structures Files Functions Variables Macros Groups Pages
Memory Pool Functions

Memory Pool Functions Test Cases. More...

Functions

void TC_MemPoolAllocAndFree (void)
 Test case: TC_MemPoolAllocAndFree.
 
void TC_MemPoolAllocAndFreeComb (void)
 Test case: TC_MemPoolAllocAndFreeComb.
 
void TC_MemPoolZeroInit (void)
 Test case: TC_MemPoolZeroInit.
 
void TC_MemPoolParam (void)
 Test case: TC_MemPoolParam.
 
void TC_MemPoolInterrupts (void)
 Test case: TC_MemPoolInterrupts.
 

Description

The test cases check the osPool* functions.

Function Documentation

void TC_MemPoolAllocAndFree ( void  )
  • Allocate all memory blocks
  • Verify that only available blocks can be allocated
  • Return all memory blocks back to a memory pool
void TC_MemPoolAllocAndFreeComb ( void  )
  • Allocate all memory blocks
  • Verify that only available blocks can be allocated
  • Return all memory blocks back to a memory pool
void TC_MemPoolInterrupts ( void  )
  • Call all memory pool management functions from the ISR
void TC_MemPoolParam ( void  )
  • Test memory pool management functions with invalid parameters
void TC_MemPoolZeroInit ( void  )
  • Allocate all memory blocks and fill them with pattern
  • Return all blocks to a memory pool
  • Allocate all memory blocks with osPoolCAlloc
  • Check if memory was zero initialized
  • Return all blocks to a memory pool