|
@@ -204,7 +204,7 @@ struct rt_slab
|
|
|
/**
|
|
|
* @brief Alloc memory size by page.
|
|
|
*
|
|
|
- * @param slab the slab memory management object.
|
|
|
+ * @param m the slab memory management object.
|
|
|
*
|
|
|
* @param npages the number of pages.
|
|
|
*/
|
|
@@ -243,7 +243,7 @@ void *rt_slab_page_alloc(rt_slab_t m, rt_size_t npages)
|
|
|
/**
|
|
|
* @brief Free memory by page.
|
|
|
*
|
|
|
- * @param slab the slab memory management object.
|
|
|
+ * @param m the slab memory management object.
|
|
|
*
|
|
|
* @param addr is the head address of first page.
|
|
|
*
|
|
@@ -308,8 +308,6 @@ static void rt_slab_page_init(struct rt_slab *slab, void *addr, rt_size_t npages
|
|
|
/**
|
|
|
* @brief This function will init slab memory management algorithm
|
|
|
*
|
|
|
- * @param slab the slab memory management object.
|
|
|
- *
|
|
|
* @param name is the name of the slab memory management object.
|
|
|
*
|
|
|
* @param begin_addr the beginning address of system page.
|