Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
luozhenger
rt-thread
提交
9fbf6344
R
rt-thread
项目概览
luozhenger
/
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 搜索 >>
未验证
提交
9fbf6344
编写于
2月 03, 2023
作者:
T
tuduweb
提交者:
GitHub
2月 02, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[doxygen] Fix some warnings in doxygen (#6899)
上级
fb8e9ea9
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
29 addition
and
39 deletion
+29
-39
documentation/doxygen/.gitignore
documentation/doxygen/.gitignore
+2
-0
documentation/doxygen/filesystem.h
documentation/doxygen/filesystem.h
+2
-2
documentation/doxygen/images/.gitkeep
documentation/doxygen/images/.gitkeep
+0
-0
include/rtdef.h
include/rtdef.h
+2
-0
include/rtthread.h
include/rtthread.h
+8
-15
src/ipc.c
src/ipc.c
+11
-15
src/kservice.c
src/kservice.c
+2
-4
src/mem.c
src/mem.c
+0
-2
src/thread.c
src/thread.c
+2
-1
未找到文件。
documentation/doxygen/.gitignore
0 → 100644
浏览文件 @
9fbf6344
html/
latex/
\ No newline at end of file
documentation/doxygen/filesystem.h
浏览文件 @
9fbf6344
...
...
@@ -21,8 +21,8 @@
/**
* @addtogroup DFS
* @{
*/
/*@{*/
/**
* @defgroup Fd File Descriptor
...
...
@@ -41,4 +41,4 @@
* @defgroup FsPosixApi File POSIX API
*/
/*@}*/
/*
*
@}*/
documentation/doxygen/images/.gitkeep
0 → 100644
浏览文件 @
9fbf6344
include/rtdef.h
浏览文件 @
9fbf6344
...
...
@@ -570,6 +570,8 @@ typedef struct rt_timer *rt_timer_t;
/**
* @addtogroup Signal
*/
/**@{*/
#ifdef RT_USING_SIGNALS
#include <sys/signal.h>
typedef
unsigned
long
rt_sigset_t
;
...
...
include/rtthread.h
浏览文件 @
9fbf6344
...
...
@@ -37,10 +37,9 @@ extern "C" {
/**
* @addtogroup KernelObject
* @{
*/
/**@{*/
/*
* kernel object interface
*/
...
...
@@ -80,10 +79,9 @@ void rt_object_put_sethook(void (*hook)(struct rt_object *object));
/**
* @addtogroup Clock
* @{
*/
/**@{*/
/*
* clock & timer interface
*/
...
...
@@ -130,10 +128,9 @@ void rt_timer_exit_sethook(void (*hook)(struct rt_timer *timer));
/**
* @addtogroup Thread
* @{
*/
/**@{*/
/*
* thread interface
*/
...
...
@@ -232,14 +229,13 @@ int rt_signal_wait(const rt_sigset_t *set, rt_siginfo_t *si, rt_int32_t timeout)
int
rt_system_signal_init
(
void
);
#endif
/*@}*/
/*
*
@}*/
/**
* @addtogroup MM
* @{
*/
/**@{*/
/*
* memory management interface
*/
...
...
@@ -347,10 +343,9 @@ void rt_slab_free(rt_slab_t m, void *ptr);
/**
* @addtogroup IPC
* @{
*/
/**@{*/
#ifdef RT_USING_SEMAPHORE
/*
* semaphore interface
...
...
@@ -537,10 +532,9 @@ void rt_spin_unlock_irqrestore(struct rt_spinlock *lock, rt_base_t level);
#ifdef RT_USING_DEVICE
/**
* @addtogroup Device
* @{
*/
/**@{*/
/*
* device (I/O) system interface
*/
...
...
@@ -627,10 +621,9 @@ void rt_components_board_init(void);
/**
* @addtogroup KernelService
* @{
*/
/**@{*/
/*
* general kernel service
*/
...
...
src/ipc.c
浏览文件 @
9fbf6344
...
...
@@ -67,10 +67,9 @@ extern void (*rt_object_put_hook)(struct rt_object *object);
/**
* @addtogroup IPC
* @{
*/
/**@{*/
/**
* @brief This function will initialize an IPC object, such as semaphore, mutex, messagequeue and mailbox.
*
...
...
@@ -112,6 +111,8 @@ rt_inline rt_err_t _ipc_object_init(struct rt_ipc_object *ipc)
* the first-in-first-out principle, and you clearly understand that all threads involved in
* this semaphore will become non-real-time threads.
*
* @param suspend_flag status flag of the thread to be suspended.
*
* @return Return the operation status. When the return value is RT_EOK, the function is successfully executed.
* When the return value is any other values, it means the initialization failed.
*
...
...
@@ -257,14 +258,12 @@ rt_inline rt_err_t _ipc_list_resume_all(rt_list_t *list)
return
RT_EOK
;
}
/**@}*/
#ifdef RT_USING_SEMAPHORE
/**
* @addtogroup semaphore
* @{
*/
/**@{*/
/**
* @brief This function will initialize a static semaphore object.
*
...
...
@@ -777,7 +776,7 @@ rt_inline rt_uint8_t _thread_get_mutex_priority(struct rt_thread* thread)
}
rt_inline
void
_thread_update_priority
(
struct
rt_thread
*
thread
,
rt_uint8_t
priority
,
int
suspend_flag
)
{
{
rt_err_t
ret
;
RT_DEBUG_LOG
(
RT_DEBUG_IPC
,
(
"thread:%s priority -> %d
\n
"
,
thread
->
name
,
priority
));
...
...
@@ -828,10 +827,9 @@ rt_inline void _thread_update_priority(struct rt_thread *thread, rt_uint8_t prio
/**
* @addtogroup mutex
* @{
*/
/**@{*/
/**
* @brief Initialize a static mutex object.
*
...
...
@@ -1538,10 +1536,9 @@ RTM_EXPORT(rt_mutex_control);
#ifdef RT_USING_EVENT
/**
* @addtogroup event
* @{
*/
/**@{*/
/**
* @brief The function will initialize a static event object.
*
...
...
@@ -2084,10 +2081,9 @@ RTM_EXPORT(rt_event_control);
#ifdef RT_USING_MAILBOX
/**
* @addtogroup mailbox
* @{
*/
/**@{*/
/**
* @brief Initialize a static mailbox object.
*
...
...
@@ -2102,6 +2098,8 @@ RTM_EXPORT(rt_event_control);
*
* @param name is a pointer to the name that given to the mailbox.
*
* @param msgpool the begin address of buffer to save received mail.
*
* @param size is the maximum number of mails in the mailbox.
* For example, when the mailbox buffer capacity is N, size is N/4.
*
...
...
@@ -2842,10 +2840,9 @@ RTM_EXPORT(rt_mb_control);
#ifdef RT_USING_MESSAGEQUEUE
/**
* @addtogroup messagequeue
* @{
*/
/**@{*/
struct
rt_mq_message
{
struct
rt_mq_message
*
next
;
...
...
@@ -3778,5 +3775,4 @@ RTM_EXPORT(rt_mq_control);
/**@}*/
#endif
/* RT_USING_MESSAGEQUEUE */
/**@}*/
src/kservice.c
浏览文件 @
9fbf6344
...
...
@@ -44,10 +44,9 @@
/**
* @addtogroup KernelService
* @{
*/
/**@{*/
/* global errno in RT-Thread */
static
volatile
int
__rt_errno
;
...
...
@@ -1390,10 +1389,9 @@ static void (*rt_free_hook)(void *ptr);
/**
* @addtogroup Hook
* @{
*/
/**@{*/
/**
* @brief This function will set a hook function, which will be invoked when a memory
* block is allocated from heap memory.
...
...
src/mem.c
浏览文件 @
9fbf6344
...
...
@@ -165,8 +165,6 @@ static void plug_holes(struct rt_small_mem *m, struct rt_small_mem_item *mem)
/**
* @brief This function will initialize small memory management algorithm.
*
* @param m the small memory management object.
*
* @param name is the name of the small memory management object.
*
* @param begin_addr the beginning address of memory.
...
...
src/thread.c
浏览文件 @
9fbf6344
...
...
@@ -967,7 +967,8 @@ static void rt_thread_set_suspend_state(struct rt_thread *thread, int suspend_fl
* thread is executing when you suspend it. If you suspend a thread while sharing a resouce with
* other threads and occupying this resouce, starvation can occur very easily.
*
* @param thread is the thread to be suspended.
* @param thread the thread to be suspended.
* @param suspend_flag status flag of the thread to be suspended.
*
* @return Return the operation status. If the return value is RT_EOK, the function is successfully executed.
* If the return value is any other values, it means this operation failed.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录