Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Mozi
rt-thread
提交
1f37de29
R
rt-thread
项目概览
Mozi
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
0
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,发现更多精彩内容 >>
提交
1f37de29
编写于
12月 13, 2018
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix the value width issue under 32/64 bit arch.
上级
dcf7bce2
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
9 addition
and
9 deletion
+9
-9
components/dfs/src/dfs_file.c
components/dfs/src/dfs_file.c
+1
-1
components/dfs/src/poll.c
components/dfs/src/poll.c
+1
-1
components/drivers/sdio/mmcsd_core.c
components/drivers/sdio/mmcsd_core.c
+2
-2
components/net/lwip-2.0.2/src/arch/sys_arch.c
components/net/lwip-2.0.2/src/arch/sys_arch.c
+2
-2
components/net/lwip-2.0.2/src/netif/ethernetif.c
components/net/lwip-2.0.2/src/netif/ethernetif.c
+2
-2
src/memheap.c
src/memheap.c
+1
-1
未找到文件。
components/dfs/src/dfs_file.c
浏览文件 @
1f37de29
...
...
@@ -171,7 +171,7 @@ int dfs_file_ioctl(struct dfs_fd *fd, int cmd, void *args)
return
fd
->
flags
;
/* return flags */
case
F_SETFL
:
{
int
flags
=
(
int
)
args
;
int
flags
=
(
int
)
(
rt_base_t
)
args
;
int
mask
=
O_NONBLOCK
|
O_APPEND
;
flags
&=
mask
;
...
...
components/dfs/src/poll.c
浏览文件 @
1f37de29
...
...
@@ -40,7 +40,7 @@ static int __wqueue_pollwake(struct rt_wqueue_node *wait, void *key)
{
struct
rt_poll_node
*
pn
;
if
(
key
&&
!
((
rt_u
int32
_t
)
key
&
wait
->
key
))
if
(
key
&&
!
((
rt_u
base
_t
)
key
&
wait
->
key
))
return
-
1
;
pn
=
rt_container_of
(
wait
,
struct
rt_poll_node
,
wqn
);
...
...
components/drivers/sdio/mmcsd_core.c
浏览文件 @
1f37de29
...
...
@@ -595,7 +595,7 @@ static void mmcsd_power_off(struct rt_mmcsd_host *host)
int
mmcsd_wait_cd_changed
(
rt_int32_t
timeout
)
{
struct
rt_mmcsd_host
*
host
;
if
(
rt_mb_recv
(
&
mmcsd_hotpluge_mb
,
(
rt_u
int32_t
*
)
&
host
,
timeout
)
==
RT_EOK
)
if
(
rt_mb_recv
(
&
mmcsd_hotpluge_mb
,
(
rt_u
base_t
*
)
&
host
,
timeout
)
==
RT_EOK
)
{
if
(
host
->
card
==
RT_NULL
)
{
...
...
@@ -623,7 +623,7 @@ void mmcsd_detect(void *param)
while
(
1
)
{
if
(
rt_mb_recv
(
&
mmcsd_detect_mb
,
(
rt_u
int32_t
*
)
&
host
,
RT_WAITING_FOREVER
)
==
RT_EOK
)
if
(
rt_mb_recv
(
&
mmcsd_detect_mb
,
(
rt_u
base_t
*
)
&
host
,
RT_WAITING_FOREVER
)
==
RT_EOK
)
{
if
(
host
->
card
==
RT_NULL
)
{
...
...
components/net/lwip-2.0.2/src/arch/sys_arch.c
浏览文件 @
1f37de29
...
...
@@ -508,7 +508,7 @@ u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout)
t
=
timeout
/
(
1000
/
RT_TICK_PER_SECOND
);
}
ret
=
rt_mb_recv
(
*
mbox
,
(
rt_u
int32
_t
*
)
msg
,
t
);
ret
=
rt_mb_recv
(
*
mbox
,
(
rt_u
base
_t
*
)
msg
,
t
);
if
(
ret
==
-
RT_ETIMEOUT
)
return
SYS_ARCH_TIMEOUT
;
...
...
@@ -539,7 +539,7 @@ u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg)
{
int
ret
;
ret
=
rt_mb_recv
(
*
mbox
,
(
rt_u
int32
_t
*
)
msg
,
0
);
ret
=
rt_mb_recv
(
*
mbox
,
(
rt_u
base
_t
*
)
msg
,
0
);
if
(
ret
==
-
RT_ETIMEOUT
)
return
SYS_ARCH_TIMEOUT
;
...
...
components/net/lwip-2.0.2/src/netif/ethernetif.c
浏览文件 @
1f37de29
...
...
@@ -329,7 +329,7 @@ static void eth_tx_thread_entry(void* parameter)
while
(
1
)
{
if
(
rt_mb_recv
(
&
eth_tx_thread_mb
,
(
rt_u
int32_t
*
)
&
msg
,
RT_WAITING_FOREVER
)
==
RT_EOK
)
if
(
rt_mb_recv
(
&
eth_tx_thread_mb
,
(
rt_u
base_t
*
)
&
msg
,
RT_WAITING_FOREVER
)
==
RT_EOK
)
{
struct
eth_device
*
enetif
;
...
...
@@ -361,7 +361,7 @@ static void eth_rx_thread_entry(void* parameter)
while
(
1
)
{
if
(
rt_mb_recv
(
&
eth_rx_thread_mb
,
(
rt_u
int32_t
*
)
&
device
,
RT_WAITING_FOREVER
)
==
RT_EOK
)
if
(
rt_mb_recv
(
&
eth_rx_thread_mb
,
(
rt_u
base_t
*
)
&
device
,
RT_WAITING_FOREVER
)
==
RT_EOK
)
{
struct
pbuf
*
p
;
...
...
src/memheap.c
浏览文件 @
1f37de29
...
...
@@ -34,7 +34,7 @@
#define RT_MEMHEAP_MINIALLOC 12
#define RT_MEMHEAP_SIZE RT_ALIGN(sizeof(struct rt_memheap_item), RT_ALIGN_SIZE)
#define MEMITEM_SIZE(item) ((rt_u
int32_t)item->next - (rt_uint32
_t)item - RT_MEMHEAP_SIZE)
#define MEMITEM_SIZE(item) ((rt_u
base_t)item->next - (rt_ubase
_t)item - RT_MEMHEAP_SIZE)
/*
* The initialized memory pool will be:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录