VOID* osHeapAllocAlign ( VOID *  pPool,
UINT32  uwSz,
UINT32  uwBoundary  
)

Alloc aligned memory block from heap memory.

Description:
This API is used to alloc aligned memory block from heap memory.
注意:
  • None.
参数:
参数名称 描述
pPool  [IN/OUT] A pointer pointed to the memory pool.
uwSz  [IN] Size of heap memory.
uwBoundary  [IN] Boundary the heap needs align
返回值:
返回值 描述
VOID* 
Dependency:
  • los_heap.h: the header file that contains the API declaration.
参见:
osHeapFree
自从:
Huawei LiteOS V100R001C00