Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
智驾
rt-thread
提交
bfe9fd3c
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 搜索 >>
提交
bfe9fd3c
编写于
7月 28, 2023
作者:
mysterywolf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[drivers/ipc] fix the recursive including if legacy enabled
上级
32e50cd6
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
20 addition
and
16 deletion
+20
-16
components/drivers/include/ipc/completion.h
components/drivers/include/ipc/completion.h
+2
-1
components/drivers/include/ipc/dataqueue.h
components/drivers/include/ipc/dataqueue.h
+2
-1
components/drivers/include/ipc/pipe.h
components/drivers/include/ipc/pipe.h
+2
-1
components/drivers/include/ipc/poll.h
components/drivers/include/ipc/poll.h
+3
-0
components/drivers/include/ipc/ringblk_buf.h
components/drivers/include/ipc/ringblk_buf.h
+3
-0
components/drivers/include/ipc/ringbuffer.h
components/drivers/include/ipc/ringbuffer.h
+3
-2
components/drivers/include/ipc/waitqueue.h
components/drivers/include/ipc/waitqueue.h
+2
-2
components/drivers/include/ipc/workqueue.h
components/drivers/include/ipc/workqueue.h
+2
-1
components/drivers/ipc/completion.c
components/drivers/ipc/completion.c
+0
-1
components/drivers/ipc/dataqueue.c
components/drivers/ipc/dataqueue.c
+1
-2
components/drivers/ipc/ringblk_buf.c
components/drivers/ipc/ringblk_buf.c
+0
-1
components/drivers/ipc/ringbuffer.c
components/drivers/ipc/ringbuffer.c
+0
-1
components/drivers/ipc/waitqueue.c
components/drivers/ipc/waitqueue.c
+0
-2
components/drivers/ipc/workqueue.c
components/drivers/ipc/workqueue.c
+0
-1
未找到文件。
components/drivers/include/ipc/completion.h
浏览文件 @
bfe9fd3c
...
...
@@ -9,7 +9,8 @@
#ifndef COMPLETION_H_
#define COMPLETION_H_
#include <rtthread.h>
#include <rtdef.h>
#include <rtconfig.h>
/**
* Completion
...
...
components/drivers/include/ipc/dataqueue.h
浏览文件 @
bfe9fd3c
...
...
@@ -9,7 +9,8 @@
#ifndef DATAQUEUE_H__
#define DATAQUEUE_H__
#include <rtthread.h>
#include <rtdef.h>
#include <rtconfig.h>
#define RT_DATAQUEUE_EVENT_UNKNOWN 0x00
#define RT_DATAQUEUE_EVENT_POP 0x01
...
...
components/drivers/include/ipc/pipe.h
浏览文件 @
bfe9fd3c
...
...
@@ -10,7 +10,8 @@
#ifndef PIPE_H__
#define PIPE_H__
#include <rtthread.h>
#include <rtdef.h>
#include <rtconfig.h>
/**
* Pipe Device
...
...
components/drivers/include/ipc/poll.h
浏览文件 @
bfe9fd3c
...
...
@@ -11,6 +11,9 @@
#ifndef IPC_POLL_H__
#define IPC_POLL_H__
#include <rtdef.h>
#include <rtconfig.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
components/drivers/include/ipc/ringblk_buf.h
浏览文件 @
bfe9fd3c
...
...
@@ -11,6 +11,9 @@
#ifndef _RINGBLK_BUF_H_
#define _RINGBLK_BUF_H_
#include <rtdef.h>
#include <rtconfig.h>
/*
* Introduction:
* The rbb is the ring buffer which is composed with many blocks. It is different from the ring buffer.
...
...
components/drivers/include/ipc/ringbuffer.h
浏览文件 @
bfe9fd3c
...
...
@@ -10,12 +10,13 @@
#ifndef RINGBUFFER_H__
#define RINGBUFFER_H__
#include <rtdef.h>
#include <rtconfig.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#include <rtthread.h>
/* ring buffer */
struct
rt_ringbuffer
{
...
...
components/drivers/include/ipc/waitqueue.h
浏览文件 @
bfe9fd3c
...
...
@@ -12,7 +12,8 @@
#ifndef WAITQUEUE_H__
#define WAITQUEUE_H__
#include <rtthread.h>
#include <rtdef.h>
#include <rtconfig.h>
#define RT_WQ_FLAG_CLEAN 0x00
#define RT_WQ_FLAG_WAKEUP 0x01
...
...
@@ -51,7 +52,6 @@ void rt_wqueue_wakeup(rt_wqueue_t *queue, void *key);
struct rt_wqueue_node name = { \
rt_current_thread, \
RT_LIST_OBJECT_INIT(((name).list)), \
\
function, \
0 \
}
...
...
components/drivers/include/ipc/workqueue.h
浏览文件 @
bfe9fd3c
...
...
@@ -11,7 +11,8 @@
#ifndef WORKQUEUE_H__
#define WORKQUEUE_H__
#include <rtthread.h>
#include <rtdef.h>
#include <rtconfig.h>
#ifdef __cplusplus
extern
"C"
{
...
...
components/drivers/ipc/completion.c
浏览文件 @
bfe9fd3c
...
...
@@ -10,7 +10,6 @@
*/
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
#define RT_COMPLETED 1
...
...
components/drivers/ipc/dataqueue.c
浏览文件 @
bfe9fd3c
...
...
@@ -9,9 +9,8 @@
* 2016-10-31 armink fix some resume push and pop thread bugs
*/
#include <rtthread.h>
#include <rtdevice.h>
#include <rthw.h>
#include <rtdevice.h>
#define DATAQUEUE_MAGIC 0xbead0e0e
...
...
components/drivers/ipc/ringblk_buf.c
浏览文件 @
bfe9fd3c
...
...
@@ -9,7 +9,6 @@
*/
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
/**
...
...
components/drivers/ipc/ringbuffer.c
浏览文件 @
bfe9fd3c
...
...
@@ -12,7 +12,6 @@
* 2021-08-14 Jackistang add comments for function interface.
*/
#include <rtthread.h>
#include <rtdevice.h>
#include <string.h>
...
...
components/drivers/ipc/waitqueue.c
浏览文件 @
bfe9fd3c
...
...
@@ -11,10 +11,8 @@
*/
#include <stdint.h>
#include <rthw.h>
#include <rtdevice.h>
#include <rtservice.h>
/**
* @brief This function will insert a node to the wait queue.
...
...
components/drivers/ipc/workqueue.c
浏览文件 @
bfe9fd3c
...
...
@@ -12,7 +12,6 @@
*/
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
#ifdef RT_USING_HEAP
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录