Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
66630f71
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
66630f71
编写于
14年前
作者:
C
Chris Zankel
浏览文件
操作
浏览文件
下载
差异文件
Merge remote branch 'origin/master'
上级
9fe6206f
ecd53497
无相关合并请求
变更
13
展开全部
隐藏空白更改
内联
并排
Showing
13 changed file
with
513 addition
and
259 deletion
+513
-259
arch/xtensa/Makefile
arch/xtensa/Makefile
+2
-0
arch/xtensa/configs/iss_defconfig
arch/xtensa/configs/iss_defconfig
+485
-246
arch/xtensa/include/asm/cacheflush.h
arch/xtensa/include/asm/cacheflush.h
+1
-0
arch/xtensa/include/asm/coprocessor.h
arch/xtensa/include/asm/coprocessor.h
+1
-0
arch/xtensa/include/asm/elf.h
arch/xtensa/include/asm/elf.h
+1
-0
arch/xtensa/include/asm/pgalloc.h
arch/xtensa/include/asm/pgalloc.h
+1
-0
arch/xtensa/include/asm/processor.h
arch/xtensa/include/asm/processor.h
+0
-1
arch/xtensa/include/asm/ptrace.h
arch/xtensa/include/asm/ptrace.h
+2
-0
arch/xtensa/kernel/Makefile
arch/xtensa/kernel/Makefile
+2
-2
arch/xtensa/kernel/asm-offsets.c
arch/xtensa/kernel/asm-offsets.c
+1
-0
arch/xtensa/kernel/entry.S
arch/xtensa/kernel/entry.S
+1
-0
arch/xtensa/kernel/head.S
arch/xtensa/kernel/head.S
+2
-2
arch/xtensa/platforms/iss/network.c
arch/xtensa/platforms/iss/network.c
+14
-8
未找到文件。
arch/xtensa/Makefile
浏览文件 @
66630f71
...
...
@@ -35,6 +35,8 @@ KBUILD_CFLAGS += -ffreestanding
KBUILD_CFLAGS
+=
-pipe
-mlongcalls
KBUILD_CFLAGS
+=
$(
call
cc-option,-mforce-no-pic,
)
vardirs
:=
$(
patsubst
%,arch/xtensa/variants/%/,
$
(
variant-y
))
plfdirs
:=
$(
patsubst
%,arch/xtensa/platforms/%/,
$
(
platform-y
))
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/configs/iss_defconfig
浏览文件 @
66630f71
此差异已折叠。
点击以展开。
arch/xtensa/include/asm/cacheflush.h
浏览文件 @
66630f71
...
...
@@ -115,6 +115,7 @@ extern void flush_cache_page(struct vm_area_struct*, unsigned long, unsigned lon
#define flush_cache_vmap(start,end) do { } while (0)
#define flush_cache_vunmap(start,end) do { } while (0)
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 0
#define flush_dcache_page(page) do { } while (0)
#define flush_cache_page(vma,addr,pfn) do { } while (0)
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/include/asm/coprocessor.h
浏览文件 @
66630f71
...
...
@@ -13,6 +13,7 @@
#define _XTENSA_COPROCESSOR_H
#include <linux/stringify.h>
#include <variant/core.h>
#include <variant/tie.h>
#include <asm/types.h>
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/include/asm/elf.h
浏览文件 @
66630f71
...
...
@@ -14,6 +14,7 @@
#define _XTENSA_ELF_H
#include <asm/ptrace.h>
#include <asm/coprocessor.h>
/* Xtensa processor ELF architecture-magic number */
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/include/asm/pgalloc.h
浏览文件 @
66630f71
...
...
@@ -14,6 +14,7 @@
#ifdef __KERNEL__
#include <linux/highmem.h>
#include <linux/slab.h>
/*
* Allocating and freeing a pmd is trivial: the 1-entry pmd is
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/include/asm/processor.h
浏览文件 @
66630f71
...
...
@@ -12,7 +12,6 @@
#define _XTENSA_PROCESSOR_H
#include <variant/core.h>
#include <asm/coprocessor.h>
#include <platform/hardware.h>
#include <linux/compiler.h>
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/include/asm/ptrace.h
浏览文件 @
66630f71
...
...
@@ -77,6 +77,8 @@
#ifndef __ASSEMBLY__
#include <asm/coprocessor.h>
/*
* This struct defines the way the registers are stored on the
* kernel stack during a system call or other kernel entry.
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/kernel/Makefile
浏览文件 @
66630f71
...
...
@@ -23,8 +23,8 @@ obj-$(CONFIG_MODULES) += xtensa_ksyms.o module.o
#
# Replicate rules in scripts/Makefile.build
sed-y
=
-e
's/
(\(\.[a-z]*it\|\.ref\|\)\.text)/(\1.literal \1.text)/g'
\
-e
's/
(\(\.text\.[a-z]*\))/
(\1.literal \1)/g'
sed-y
=
-e
's/
\*(\(\.[a-z]*it\|\.ref\|\)\.text)/*(\1.literal \1.text)/g'
\
-e
's/
\*(\(\.text\.[a-z]*\))/*
(\1.literal \1)/g'
quiet_cmd__cpp_lds_S
=
LDS
$@
cmd__cpp_lds_S
=
$(CPP)
$(cpp_flags)
-P
-C
-Uxtensa
-D__ASSEMBLY__
$<
\
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/kernel/asm-offsets.c
浏览文件 @
66630f71
...
...
@@ -13,6 +13,7 @@
*/
#include <asm/processor.h>
#include <asm/coprocessor.h>
#include <linux/types.h>
#include <linux/stddef.h>
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/kernel/entry.S
浏览文件 @
66630f71
...
...
@@ -16,6 +16,7 @@
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/processor.h>
#include <asm/coprocessor.h>
#include <asm/thread_info.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/kernel/head.S
浏览文件 @
66630f71
...
...
@@ -184,8 +184,8 @@ _startup:
*
Now
clear
the
BSS
segment
.
*/
movi
a2
,
_bss_start
#
start
of
BSS
movi
a3
,
_
bss_end
#
end
of
BSS
movi
a2
,
_
_
bss_start
#
start
of
BSS
movi
a3
,
_
_bss_stop
#
end
of
BSS
__loopt
a2
,
a3
,
a4
,
2
s32i
a0
,
a2
,
0
...
...
This diff is collapsed.
Click to expand it.
arch/xtensa/platforms/iss/network.c
浏览文件 @
66630f71
...
...
@@ -623,6 +623,19 @@ static struct platform_driver iss_net_driver = {
static
int
driver_registered
;
static
const
struct
net_device_ops
iss_netdev_ops
=
{
.
ndo_open
=
iss_net_open
,
.
ndo_stop
=
iss_net_close
,
.
ndo_get_stats
=
iss_net_get_stats
,
.
ndo_start_xmit
=
iss_net_start_xmit
,
.
ndo_validate_addr
=
eth_validate_addr
,
.
ndo_change_mtu
=
iss_net_change_mtu
,
.
ndo_set_mac_address
=
iss_net_set_mac
,
//.ndo_do_ioctl = iss_net_ioctl,
.
ndo_tx_timeout
=
iss_net_tx_timeout
,
.
ndo_set_multicast_list
=
iss_net_set_multicast_list
,
};
static
int
iss_net_configure
(
int
index
,
char
*
init
)
{
struct
net_device
*
dev
;
...
...
@@ -686,15 +699,8 @@ static int iss_net_configure(int index, char *init)
*/
snprintf
(
dev
->
name
,
sizeof
dev
->
name
,
"eth%d"
,
index
);
dev
->
netdev_ops
=
&
iss_netdev_ops
;
dev
->
mtu
=
lp
->
mtu
;
dev
->
open
=
iss_net_open
;
dev
->
hard_start_xmit
=
iss_net_start_xmit
;
dev
->
stop
=
iss_net_close
;
dev
->
get_stats
=
iss_net_get_stats
;
dev
->
set_multicast_list
=
iss_net_set_multicast_list
;
dev
->
tx_timeout
=
iss_net_tx_timeout
;
dev
->
set_mac_address
=
iss_net_set_mac
;
dev
->
change_mtu
=
iss_net_change_mtu
;
dev
->
watchdog_timeo
=
(
HZ
>>
1
);
dev
->
irq
=
-
1
;
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录