Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gsplhtlxg
clone-Linux
提交
93373ed4
C
clone-Linux
项目概览
gsplhtlxg
/
clone-Linux
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
clone-Linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
93373ed4
编写于
4月 01, 2006
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MIPS] Rewrite spurious_interrupt from assembler to C.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
c9e321e0
变更
18
显示空白变更内容
内联
并排
Showing
18 changed file
with
40 addition
and
44 deletion
+40
-44
arch/mips/au1000/common/int-handler.S
arch/mips/au1000/common/int-handler.S
+2
-1
arch/mips/ddb5xxx/ddb5476/int-handler.S
arch/mips/ddb5xxx/ddb5476/int-handler.S
+2
-1
arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c
arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c
+1
-3
arch/mips/ddb5xxx/ddb5477/int-handler.S
arch/mips/ddb5xxx/ddb5477/int-handler.S
+2
-2
arch/mips/dec/int-handler.S
arch/mips/dec/int-handler.S
+3
-1
arch/mips/galileo-boards/ev96100/int-handler.S
arch/mips/galileo-boards/ev96100/int-handler.S
+2
-1
arch/mips/gt64120/ev64120/int-handler.S
arch/mips/gt64120/ev64120/int-handler.S
+2
-1
arch/mips/jazz/int-handler.S
arch/mips/jazz/int-handler.S
+2
-1
arch/mips/kernel/entry.S
arch/mips/kernel/entry.S
+0
-26
arch/mips/kernel/irq.c
arch/mips/kernel/irq.c
+5
-0
arch/mips/mips-boards/generic/mipsIRQ.S
arch/mips/mips-boards/generic/mipsIRQ.S
+3
-1
arch/mips/mips-boards/sim/sim_irq.S
arch/mips/mips-boards/sim/sim_irq.S
+3
-1
arch/mips/momentum/ocelot_3/int-handler.S
arch/mips/momentum/ocelot_3/int-handler.S
+3
-1
arch/mips/momentum/ocelot_c/int-handler.S
arch/mips/momentum/ocelot_c/int-handler.S
+2
-1
arch/mips/philips/pnx8550/common/mipsIRQ.S
arch/mips/philips/pnx8550/common/mipsIRQ.S
+2
-1
arch/mips/tx4927/common/tx4927_irq_handler.S
arch/mips/tx4927/common/tx4927_irq_handler.S
+2
-1
arch/mips/vr41xx/common/int-handler.S
arch/mips/vr41xx/common/int-handler.S
+3
-1
include/asm-mips/irq.h
include/asm-mips/irq.h
+1
-0
未找到文件。
arch/mips/au1000/common/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -64,5 +64,6 @@ NESTED(au1000_IRQ, PT_SIZE, sp)
5
:
move
a0
,
sp
j
spurious_interrupt
jal
spurious_interrupt
j
ret_from_irq
END
(
au1000_IRQ
)
arch/mips/ddb5xxx/ddb5476/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -54,7 +54,8 @@
.
set
reorder
/
*
wrong
alarm
or
masked
...
*/
//
j
spurious_interrupt
//
jal
spurious_interrupt
//
j
ret_from_irq
move
a0
,
sp
jal
vrc5476_irq_dispatch
j
ret_from_irq
...
...
arch/mips/ddb5xxx/ddb5476/vrc5476_irq.c
浏览文件 @
93373ed4
...
...
@@ -80,8 +80,6 @@ vrc5476_irq_init(u32 base)
asmlinkage
void
vrc5476_irq_dispatch
(
struct
pt_regs
*
regs
)
{
extern
void
spurious_interrupt
(
void
);
u32
mask
;
int
nile4_irq
;
...
...
@@ -107,5 +105,5 @@ vrc5476_irq_dispatch(struct pt_regs *regs)
return
;
}
}
spurious_interrupt
();
spurious_interrupt
(
regs
);
}
arch/mips/ddb5xxx/ddb5477/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -44,8 +44,8 @@
.
set
reorder
/
*
wrong
alarm
or
masked
...
*/
j
spurious_interrupt
nop
j
al
spurious_interrupt
j
ret_from_irq
END
(
ddb5477_handle_int
)
.
align
5
...
...
arch/mips/dec/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -282,7 +282,9 @@ fpu:
#endif
spurious
:
j
spurious_interrupt
jal
spurious_interrupt
nop
j
ret_from_irq
nop
END
(
decstation_handle_int
)
...
...
arch/mips/galileo-boards/ev96100/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -29,5 +29,6 @@ NESTED(ev96100IRQ, PT_SIZE, sp)
jal
ev96100_cpu_irq
j
ret_from_irq
3
:
j
spurious_interrupt
3
:
jal
spurious_interrupt
j
ret_from_irq
END
(
ev96100IRQ
)
arch/mips/gt64120/ev64120/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -39,8 +39,9 @@
nop
/
*
wrong
alarm
or
masked
...
*/
j
spurious_interrupt
j
al
spurious_interrupt
nop
j
ret_from_irq
END
(
galileo_handle_int
)
...
...
arch/mips/jazz/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -263,7 +263,8 @@ loc_call: /*
/*
*
"Jump extender"
to
reach
spurious_interrupt
*/
3
:
j
spurious_interrupt
3
:
jal
spurious_interrupt
j
ret_from_irq
/*
*
Vectors
for
interrupts
generated
by
local
devices
...
...
arch/mips/kernel/entry.S
浏览文件 @
93373ed4
...
...
@@ -119,29 +119,3 @@ syscall_exit_work:
li
a1
,
1
jal
do_syscall_trace
b
resume_userspace
/*
*
Common
spurious
interrupt
handler
.
*/
LEAF
(
spurious_interrupt
)
/
*
*
Someone
tried
to
fool
us
by
sending
an
interrupt
but
we
*
couldn
't find a cause for it.
*/
PTR_LA
t1
,
irq_err_count
#ifdef CONFIG_SMP
1
:
ll
t0
,
(
t1
)
addiu
t0
,
1
sc
t0
,
(
t1
)
#if R10000_LLSC_WAR
beqzl
t0
,
1
b
#else
beqz
t0
,
1
b
#endif
#else
lw
t0
,
(
t1
)
addiu
t0
,
1
sw
t0
,
(
t1
)
#endif
j
ret_from_irq
END
(
spurious_interrupt
)
arch/mips/kernel/irq.c
浏览文件 @
93373ed4
...
...
@@ -101,6 +101,11 @@ int show_interrupts(struct seq_file *p, void *v)
return
0
;
}
asmlinkage
void
spurious_interrupt
(
struct
pt_regs
*
regs
)
{
atomic_inc
(
&
irq_err_count
);
}
#ifdef CONFIG_KGDB
extern
void
breakpoint
(
void
);
extern
void
set_debug_traps
(
void
);
...
...
arch/mips/mips-boards/generic/mipsIRQ.S
浏览文件 @
93373ed4
...
...
@@ -150,6 +150,8 @@
spurious
:
j
spurious_interrupt
jal
spurious_interrupt
nop
j
ret_from_irq
nop
END
(
mipsIRQ
)
arch/mips/mips-boards/sim/sim_irq.S
浏览文件 @
93373ed4
...
...
@@ -94,6 +94,8 @@
spurious
:
j
spurious_interrupt
jal
spurious_interrupt
nop
j
ret_from_irq
nop
END
(
simIRQ
)
arch/mips/momentum/ocelot_3/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -78,7 +78,9 @@
.
set
reorder
/
*
wrong
alarm
or
masked
...
*/
j
spurious_interrupt
jal
spurious_interrupt
nop
j
ret_from_irq
nop
END
(
ocelot3_handle_int
)
...
...
arch/mips/momentum/ocelot_c/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -52,8 +52,9 @@
.
set
reorder
/
*
wrong
alarm
or
masked
...
*/
j
spurious_interrupt
j
al
spurious_interrupt
nop
j
ret_from_irq
END
(
ocelot_handle_int
)
.
align
5
...
...
arch/mips/philips/pnx8550/common/mipsIRQ.S
浏览文件 @
93373ed4
...
...
@@ -46,8 +46,9 @@
/
*
wrong
alarm
or
masked
...
*/
j
spurious_interrupt
j
al
spurious_interrupt
nop
j
ret_from_irq
END
(
cp0_irqdispatch
)
.
align
5
...
...
arch/mips/tx4927/common/tx4927_irq_handler.S
浏览文件 @
93373ed4
...
...
@@ -63,8 +63,9 @@
.
set
reorder
/
*
wrong
alarm
or
masked
...
*/
j
spurious_interrupt
j
al
spurious_interrupt
nop
j
ret_from_irq
END
(
tx4927_irq_handler
)
.
align
5
...
...
arch/mips/vr41xx/common/int-handler.S
浏览文件 @
93373ed4
...
...
@@ -98,7 +98,9 @@
bnez
t1
,
handle_irq
li
a0
,
1
j
spurious_interrupt
jal
spurious_interrupt
nop
j
ret_from_irq
nop
handle_int
:
...
...
include/asm-mips/irq.h
浏览文件 @
93373ed4
...
...
@@ -46,5 +46,6 @@ do { \
#endif
extern
void
arch_init_irq
(
void
);
extern
void
spurious_interrupt
(
struct
pt_regs
*
regs
);
#endif
/* _ASM_IRQ_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录