Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
eec07a9e
Commit
eec07a9e
authored
Sep 23, 2011
by
Jeremy Fitzhardinge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xen: add dom0_op hypercall
Signed-off-by:
Jeremy Fitzhardinge
<
jeremy.fitzhardinge@citrix.com
>
parent
3e099679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arch/x86/include/asm/xen/hypercall.h
arch/x86/include/asm/xen/hypercall.h
+8
-0
No files found.
arch/x86/include/asm/xen/hypercall.h
View file @
eec07a9e
...
...
@@ -45,6 +45,7 @@
#include <xen/interface/xen.h>
#include <xen/interface/sched.h>
#include <xen/interface/physdev.h>
#include <xen/interface/platform.h>
/*
* The hypercall asms have to meet several constraints:
...
...
@@ -298,6 +299,13 @@ HYPERVISOR_set_timer_op(u64 timeout)
return
_hypercall2
(
long
,
set_timer_op
,
timeout_lo
,
timeout_hi
);
}
static
inline
int
HYPERVISOR_dom0_op
(
struct
xen_platform_op
*
platform_op
)
{
platform_op
->
interface_version
=
XENPF_INTERFACE_VERSION
;
return
_hypercall1
(
int
,
dom0_op
,
platform_op
);
}
static
inline
int
HYPERVISOR_set_debugreg
(
int
reg
,
unsigned
long
value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment