diff --git a/kernel/core/include/tos_mmblk.h b/kernel/core/include/tos_mmblk.h index 4761444b..2fd8f4de 100644 --- a/kernel/core/include/tos_mmblk.h +++ b/kernel/core/include/tos_mmblk.h @@ -68,15 +68,13 @@ __API__ k_err_t tos_mmblk_pool_create(k_mmblk_pool_t *mbp, void *pool_start, siz __API__ k_err_t tos_mmblk_pool_destroy(k_mmblk_pool_t *mbp); /** - * @brief Create a memory manage block pool. - * Create a memory manage block pool. + * @brief Allocate a memory manage block. + * Allocate a memory manage block. * * @attention None * * @param[in] mbp pointer to the memory block pool handler. - * @param[in] pool_start start address of the pool. - * @param[in] blk_num number of the blocks in the pool. - * @param[in] blk_size size of each block in the pool. + * @param[in] blk start address of the memory manage block. * * @return errcode * @retval #K_ERR_MMBLK_POOL_EMPTY the pool is empty. @@ -85,15 +83,13 @@ __API__ k_err_t tos_mmblk_pool_destroy(k_mmblk_pool_t *mbp); __API__ k_err_t tos_mmblk_alloc(k_mmblk_pool_t *mbp, void **blk); /** - * @brief Create a memory manage block pool. - * Create a memory manage block pool. + * @brief Free a memory manage block. + * Free a memory manage block. * * @attention None * * @param[in] mbp pointer to the memory block pool handler. - * @param[in] pool_start start address of the pool. - * @param[in] blk_num number of the blocks in the pool. - * @param[in] blk_size size of each block in the pool. + * @param[in] blk start address of the memory manage block. * * @return errcode * @retval #K_ERR_MMBLK_POOL_FULL the pool is full.