Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逝缘~
rt-thread
提交
ced40f33
R
rt-thread
项目概览
逝缘~
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
ced40f33
编写于
4月 14, 2023
作者:
H
hiro_655
提交者:
GitHub
4月 13, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[HUST CSE][doxygen][src]Fix the comment in rt_thread_defunct_enqueue (#7228)
根据这个issues #6857 在idle.c文件中找到一个函数缺失参数
上级
f86715ce
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
4 deletion
+4
-4
src/idle.c
src/idle.c
+2
-0
src/slab.c
src/slab.c
+2
-4
未找到文件。
src/idle.c
浏览文件 @
ced40f33
...
...
@@ -140,6 +140,8 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void))
/**
* @brief Enqueue a thread to defunct queue.
*
* @param thread the thread to be enqueued.
*
* @note It must be called between rt_hw_interrupt_disable and rt_hw_interrupt_enable
*/
void
rt_thread_defunct_enqueue
(
rt_thread_t
thread
)
...
...
src/slab.c
浏览文件 @
ced40f33
...
...
@@ -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.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录