summaryrefslogtreecommitdiff
path: root/src/slab.c
diff options
context:
space:
mode:
authorhiro_655 <[email protected]>2023-04-14 07:25:59 +0800
committerGitHub <[email protected]>2023-04-13 19:25:59 -0400
commitced40f33c5546898bcffd8b3ef7d0365b5d285df (patch)
tree4a44a0ac7577db771f4eed825f9c856038c3f37e /src/slab.c
parentf86715cee557eeeb8e0536a068f86d12257483c5 (diff)
[HUST CSE][doxygen][src]Fix the comment in rt_thread_defunct_enqueue (#7228)
根据这个issues #6857 在idle.c文件中找到一个函数缺失参数
Diffstat (limited to 'src/slab.c')
-rw-r--r--src/slab.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/slab.c b/src/slab.c
index f48179afaf..e883a9de9b 100644
--- a/src/slab.c
+++ b/src/slab.c
@@ -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.