Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
72d39c69
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看板
提交
72d39c69
编写于
11月 23, 2015
作者:
S
Stefano Stabellini
提交者:
David Vrabel
12月 21, 2015
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xen/arm: introduce HYPERVISOR_platform_op on arm and arm64
Signed-off-by:
N
Stefano Stabellini
<
stefano.stabellini@eu.citrix.com
>
上级
cfafae94
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
0 deletion
+12
-0
arch/arm/include/asm/xen/hypercall.h
arch/arm/include/asm/xen/hypercall.h
+7
-0
arch/arm/include/asm/xen/interface.h
arch/arm/include/asm/xen/interface.h
+2
-0
arch/arm/xen/enlighten.c
arch/arm/xen/enlighten.c
+1
-0
arch/arm/xen/hypercall.S
arch/arm/xen/hypercall.S
+1
-0
arch/arm64/xen/hypercall.S
arch/arm64/xen/hypercall.S
+1
-0
未找到文件。
arch/arm/include/asm/xen/hypercall.h
浏览文件 @
72d39c69
...
...
@@ -35,6 +35,7 @@
#include <xen/interface/xen.h>
#include <xen/interface/sched.h>
#include <xen/interface/platform.h>
long
privcmd_call
(
unsigned
call
,
unsigned
long
a1
,
unsigned
long
a2
,
unsigned
long
a3
,
...
...
@@ -49,6 +50,12 @@ int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
int
HYPERVISOR_physdev_op
(
int
cmd
,
void
*
arg
);
int
HYPERVISOR_vcpu_op
(
int
cmd
,
int
vcpuid
,
void
*
extra_args
);
int
HYPERVISOR_tmem_op
(
void
*
arg
);
int
HYPERVISOR_platform_op_raw
(
void
*
arg
);
static
inline
int
HYPERVISOR_platform_op
(
struct
xen_platform_op
*
op
)
{
op
->
interface_version
=
XENPF_INTERFACE_VERSION
;
return
HYPERVISOR_platform_op_raw
(
op
);
}
int
HYPERVISOR_multicall
(
struct
multicall_entry
*
calls
,
uint32_t
nr
);
static
inline
int
...
...
arch/arm/include/asm/xen/interface.h
浏览文件 @
72d39c69
...
...
@@ -27,6 +27,8 @@
(hnd).p = val; \
} while (0)
#define __HYPERVISOR_platform_op_raw __HYPERVISOR_platform_op
#ifndef __ASSEMBLY__
/* Explicitly size integers that represent pfns in the interface with
* Xen so that we can have one ABI that works for 32 and 64 bit guests.
...
...
arch/arm/xen/enlighten.c
浏览文件 @
72d39c69
...
...
@@ -326,5 +326,6 @@ EXPORT_SYMBOL_GPL(HYPERVISOR_memory_op);
EXPORT_SYMBOL_GPL
(
HYPERVISOR_physdev_op
);
EXPORT_SYMBOL_GPL
(
HYPERVISOR_vcpu_op
);
EXPORT_SYMBOL_GPL
(
HYPERVISOR_tmem_op
);
EXPORT_SYMBOL_GPL
(
HYPERVISOR_platform_op
);
EXPORT_SYMBOL_GPL
(
HYPERVISOR_multicall
);
EXPORT_SYMBOL_GPL
(
privcmd_call
);
arch/arm/xen/hypercall.S
浏览文件 @
72d39c69
...
...
@@ -89,6 +89,7 @@ HYPERCALL2(memory_op);
HYPERCALL2
(
physdev_op
)
;
HYPERCALL3
(
vcpu_op
)
;
HYPERCALL1
(
tmem_op
)
;
HYPERCALL1
(
platform_op_raw
)
;
HYPERCALL2
(
multicall
)
;
ENTRY
(
privcmd_call
)
...
...
arch/arm64/xen/hypercall.S
浏览文件 @
72d39c69
...
...
@@ -80,6 +80,7 @@ HYPERCALL2(memory_op);
HYPERCALL2
(
physdev_op
)
;
HYPERCALL3
(
vcpu_op
)
;
HYPERCALL1
(
tmem_op
)
;
HYPERCALL1
(
platform_op_raw
)
;
HYPERCALL2
(
multicall
)
;
ENTRY
(
privcmd_call
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录