Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274730
b: refs/heads/master
c: eec07a9
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Sep 26, 2011
1 parent eaa6dd1 commit f3e3e7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e0996798a6a113efae9e0187c5581491bdb07a7
refs/heads/master: eec07a9ecf428a680d72dc7f2428ea8bed80b84d
8 changes: 8 additions & 0 deletions trunk/arch/x86/include/asm/xen/hypercall.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit f3e3e7c

Please sign in to comment.