Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Prebuilts Lite Sysroot
提交
f990dafc
P
Prebuilts Lite Sysroot
项目概览
OpenHarmony
/
Prebuilts Lite Sysroot
大约 1 年 前同步成功
通知
1
Star
39
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Prebuilts Lite Sysroot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f990dafc
编写于
5月 10, 2021
作者:
O
openharmony_ci
提交者:
Gitee
5月 10, 2021
浏览文件
操作
浏览文件
下载
差异文件
!21 bugfix for linux 4.19 uapi
Merge pull request !21 from Zachery Wu/zzzuo
上级
79820edb
3f4fb0bb
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
9 deletion
+8
-9
build/update_headers.py
build/update_headers.py
+0
-1
usr/include/arm-linux-ohosmusl/asm-arm/asm/swab.h
usr/include/arm-linux-ohosmusl/asm-arm/asm/swab.h
+1
-1
usr/include/arm-linux-ohosmusl/linux/compiler_types.h
usr/include/arm-linux-ohosmusl/linux/compiler_types.h
+2
-2
usr/include/arm-linux-ohosmusl/linux/swab.h
usr/include/arm-linux-ohosmusl/linux/swab.h
+5
-5
未找到文件。
build/update_headers.py
浏览文件 @
f990dafc
...
...
@@ -48,7 +48,6 @@ key_list = [
[
"SIGRTMIN"
,
"."
,
"SIGRTMIN"
,
"__SIGRTMIN"
],
[
"SIGRTMAX"
,
"."
,
"SIGRTMAX"
,
"__SIGRTMAX"
],
[
"struct udphdr"
,
"."
,
"struct udphdr"
,
"struct __kernel_udphdr"
],
[
"__attribute_const__"
,
"."
,
"__attribute_const__"
,
"__attribute__((__const__))"
],
[
"struct __kernel_sockaddr_storage"
,
"."
,
"struct __kernel_sockaddr_storage"
,
"struct sockaddr_storage"
],
[
"off_t"
,
"asm-mips/asm/stat.h"
,
"off_t"
,
"__kernel_off_t"
],
[
"#ifndef __EXPORTED_HEADERS__"
,
"."
,
"#ifndef __EXPORTED_HEADERS__"
,
"#if 0 \/*__EXPORTED_HEADERS__*\/"
],
...
...
usr/include/arm-linux-ohosmusl/asm-arm/asm/swab.h
浏览文件 @
f990dafc
...
...
@@ -11,7 +11,7 @@
# define __SWAB_64_THRU_32__
#endif
#if !defined(__KERNEL__) || __LINUX_ARM_ARCH__ < 6
static
inline
__attribute_
_
((
__const__
))
__u32
__arch_swab32
(
__u32
x
)
static
inline
__attribute_
const__
__u32
__arch_swab32
(
__u32
x
)
{
__u32
t
;
#ifndef __thumb__
...
...
usr/include/arm-linux-ohosmusl/linux/compiler_types.h
浏览文件 @
f990dafc
...
...
@@ -118,8 +118,8 @@ struct ftrace_likely_data {
#define __native_word(t) \
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
#ifndef __attribute_
_((__const__))
#define __attribute_
_((__const__))
__attribute__((__const__))
#ifndef __attribute_
const__
#define __attribute_
const__
__attribute__((__const__))
#endif
#ifndef __noclone
#define __noclone
...
...
usr/include/arm-linux-ohosmusl/linux/swab.h
浏览文件 @
f990dafc
...
...
@@ -32,7 +32,7 @@
#define ___constant_swahb32(x) ((__u32)( \
(((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
(((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
static
inline
__attribute_
_
((
__const__
))
__u16
__fswab16
(
__u16
val
)
static
inline
__attribute_
const__
__u16
__fswab16
(
__u16
val
)
{
#if defined (__arch_swab16)
return
__arch_swab16
(
val
);
...
...
@@ -40,7 +40,7 @@ static inline __attribute__((__const__)) __u16 __fswab16(__u16 val)
return
___constant_swab16
(
val
);
#endif
}
static
inline
__attribute_
_
((
__const__
))
__u32
__fswab32
(
__u32
val
)
static
inline
__attribute_
const__
__u32
__fswab32
(
__u32
val
)
{
#if defined(__arch_swab32)
return
__arch_swab32
(
val
);
...
...
@@ -48,7 +48,7 @@ static inline __attribute__((__const__)) __u32 __fswab32(__u32 val)
return
___constant_swab32
(
val
);
#endif
}
static
inline
__attribute_
_
((
__const__
))
__u64
__fswab64
(
__u64
val
)
static
inline
__attribute_
const__
__u64
__fswab64
(
__u64
val
)
{
#if defined (__arch_swab64)
return
__arch_swab64
(
val
);
...
...
@@ -60,7 +60,7 @@ static inline __attribute__((__const__)) __u64 __fswab64(__u64 val)
return
___constant_swab64
(
val
);
#endif
}
static
inline
__attribute_
_
((
__const__
))
__u32
__fswahw32
(
__u32
val
)
static
inline
__attribute_
const__
__u32
__fswahw32
(
__u32
val
)
{
#ifdef __arch_swahw32
return
__arch_swahw32
(
val
);
...
...
@@ -68,7 +68,7 @@ static inline __attribute__((__const__)) __u32 __fswahw32(__u32 val)
return
___constant_swahw32
(
val
);
#endif
}
static
inline
__attribute_
_
((
__const__
))
__u32
__fswahb32
(
__u32
val
)
static
inline
__attribute_
const__
__u32
__fswahb32
(
__u32
val
)
{
#ifdef __arch_swahb32
return
__arch_swahb32
(
val
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录