Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
6c0f402f
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看板
提交
6c0f402f
编写于
2月 13, 2006
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[SPARC64]: Implement rest of generic interrupt hypervisor calls.
Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
85dfa19b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
89 addition
and
1 deletion
+89
-1
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/entry.S
+65
-1
include/asm-sparc64/hypervisor.h
include/asm-sparc64/hypervisor.h
+24
-0
未找到文件。
arch/sparc64/kernel/entry.S
浏览文件 @
6c0f402f
...
...
@@ -1701,9 +1701,73 @@ hard_smp_processor_id:
*
*
returns
%
o0
:
sysino
*/
.
globl
pci_
sun4v_devino_to_sysino
.
globl
sun4v_devino_to_sysino
sun4v_devino_to_sysino
:
mov
HV_FAST_INTR_DEVINO2SYSINO
,
%
o5
ta
HV_FAST_TRAP
retl
mov
%
o1
,
%
o0
/
*
%
o0
:
sysino
*
*
returns
%
o0
:
intr_enabled
(
HV_INTR_
{
DISABLED
,
ENABLED
})
*/
.
globl
sun4v_intr_getenabled
sun4v_intr_getenabled
:
mov
HV_FAST_INTR_GETENABLED
,
%
o5
ta
HV_FAST_TRAP
retl
mov
%
o1
,
%
o0
/
*
%
o0
:
sysino
*
%
o1
:
intr_enabled
(
HV_INTR_
{
DISABLED
,
ENABLED
})
*/
.
globl
sun4v_intr_setenabled
sun4v_intr_setenabled
:
mov
HV_FAST_INTR_SETENABLED
,
%
o5
ta
HV_FAST_TRAP
retl
nop
/
*
%
o0
:
sysino
*
*
returns
%
o0
:
intr_state
(
HV_INTR_STATE_
*)
*/
.
globl
sun4v_intr_getstate
sun4v_intr_getstate
:
mov
HV_FAST_INTR_GETSTATE
,
%
o5
ta
HV_FAST_TRAP
retl
mov
%
o1
,
%
o0
/
*
%
o0
:
sysino
*
%
o1
:
intr_state
(
HV_INTR_STATE_
*)
*/
.
globl
sun4v_intr_setstate
sun4v_intr_setstate
:
mov
HV_FAST_INTR_SETSTATE
,
%
o5
ta
HV_FAST_TRAP
retl
nop
/
*
%
o0
:
sysino
*
*
returns
%
o0
:
cpuid
*/
.
globl
sun4v_intr_gettarget
sun4v_intr_gettarget
:
mov
HV_FAST_INTR_GETTARGET
,
%
o5
ta
HV_FAST_TRAP
retl
mov
%
o1
,
%
o0
/
*
%
o0
:
sysino
*
%
o1
:
cpuid
*/
.
globl
sun4v_intr_settarget
sun4v_intr_settarget
:
mov
HV_FAST_INTR_SETTARGET
,
%
o5
ta
HV_FAST_TRAP
retl
nop
include/asm-sparc64/hypervisor.h
浏览文件 @
6c0f402f
...
...
@@ -1221,6 +1221,10 @@ extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle,
*/
#define HV_FAST_INTR_GETENABLED 0xa1
#ifndef __ASSEMBLY__
extern
unsigned
long
sun4v_intr_getenabled
(
unsigned
long
sysino
);
#endif
/* intr_setenabled()
* TRAP: HV_FAST_TRAP
* FUNCTION: HV_FAST_INTR_SETENABLED
...
...
@@ -1233,6 +1237,10 @@ extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle,
*/
#define HV_FAST_INTR_SETENABLED 0xa2
#ifndef __ASSEMBLY__
extern
void
sun4v_intr_setenabled
(
unsigned
long
sysino
,
unsigned
long
intr_enabled
);
#endif
/* intr_getstate()
* TRAP: HV_FAST_TRAP
* FUNCTION: HV_FAST_INTR_GETSTATE
...
...
@@ -1245,6 +1253,10 @@ extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle,
*/
#define HV_FAST_INTR_GETSTATE 0xa3
#ifndef __ASSEMBLY__
extern
unsigned
long
sun4v_intr_getstate
(
unsigned
long
sysino
);
#endif
/* intr_setstate()
* TRAP: HV_FAST_TRAP
* FUNCTION: HV_FAST_INTR_SETSTATE
...
...
@@ -1261,6 +1273,10 @@ extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle,
*/
#define HV_FAST_INTR_SETSTATE 0xa4
#ifndef __ASSEMBLY__
extern
void
sun4v_intr_setstate
(
unsigned
long
sysino
,
unsigned
long
intr_state
);
#endif
/* intr_gettarget()
* TRAP: HV_FAST_TRAP
* FUNCTION: HV_FAST_INTR_GETTARGET
...
...
@@ -1275,6 +1291,10 @@ extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle,
*/
#define HV_FAST_INTR_GETTARGET 0xa5
#ifndef __ASSEMBLY__
extern
unsigned
long
sun4v_intr_gettarget
(
unsigned
long
sysino
);
#endif
/* intr_settarget()
* TRAP: HV_FAST_TRAP
* FUNCTION: HV_FAST_INTR_SETTARGET
...
...
@@ -1288,6 +1308,10 @@ extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle,
*/
#define HV_FAST_INTR_SETTARGET 0xa6
#ifndef __ASSEMBLY__
extern
void
sun4v_intr_settarget
(
unsigned
long
sysino
,
unsigned
long
cpuid
);
#endif
/* PCI IO services.
*
* See the terminology descriptions in the device interrupt services
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录