Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217826
b: refs/heads/master
c: 1246ae0
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Jeremy Fitzhardinge committed Oct 20, 2010
1 parent 4779bb0 commit 4bf83e6
Show file tree
Hide file tree
Showing 2 changed files with 18 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: eba3ff8b99863bcc9e66b8d528e4750229e29693
refs/heads/master: 1246ae0bb992f106a245eea2b8dd901ced868e7a
17 changes: 17 additions & 0 deletions trunk/arch/x86/include/asm/xen/hypercall.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,23 @@ extern struct { char _entry[32]; } hypercall_page[];
(type)__res; \
})

static inline long
privcmd_call(unsigned call,
unsigned long a1, unsigned long a2,
unsigned long a3, unsigned long a4,
unsigned long a5)
{
__HYPERCALL_DECLS;
__HYPERCALL_5ARG(a1, a2, a3, a4, a5);

asm volatile("call *%[call]"
: __HYPERCALL_5PARAM
: [call] "a" (&hypercall_page[call])
: __HYPERCALL_CLOBBER5);

return (long)__res;
}

static inline int
HYPERVISOR_set_trap_table(struct trap_info *table)
{
Expand Down

0 comments on commit 4bf83e6

Please sign in to comment.