Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116783
b: refs/heads/master
c: f021c8b
h: refs/heads/master
i:
  116781: 098bcf3
  116779: 1b38f03
  116775: 3ee0967
  116767: 5838d8f
v: v3
  • Loading branch information
Isaku Yamahata authored and Tony Luck committed Oct 17, 2008
1 parent 9a6e0dc commit d8e206e
Show file tree
Hide file tree
Showing 6 changed files with 506 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11d437789d0f35fa2e2ebcb4a983b29587bdfdc5
refs/heads/master: f021c8b334cc00739b5d43b5be5f97a34b1ad16a
51 changes: 51 additions & 0 deletions trunk/arch/ia64/include/asm/xen/xcom_hcall.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
* Copyright (C) 2006 Tristan Gingold <tristan.gingold@bull.net>, Bull SAS
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifndef _ASM_IA64_XEN_XCOM_HCALL_H
#define _ASM_IA64_XEN_XCOM_HCALL_H

/* These function creates inline or mini descriptor for the parameters and
calls the corresponding xencomm_arch_hypercall_X.
Architectures should defines HYPERVISOR_xxx as xencomm_hypercall_xxx unless
they want to use their own wrapper. */
extern int xencomm_hypercall_console_io(int cmd, int count, char *str);

extern int xencomm_hypercall_event_channel_op(int cmd, void *op);

extern int xencomm_hypercall_xen_version(int cmd, void *arg);

extern int xencomm_hypercall_physdev_op(int cmd, void *op);

extern int xencomm_hypercall_grant_table_op(unsigned int cmd, void *op,
unsigned int count);

extern int xencomm_hypercall_sched_op(int cmd, void *arg);

extern int xencomm_hypercall_multicall(void *call_list, int nr_calls);

extern int xencomm_hypercall_callback_op(int cmd, void *arg);

extern int xencomm_hypercall_memory_op(unsigned int cmd, void *arg);

extern int xencomm_hypercall_suspend(unsigned long srec);

extern long xencomm_hypercall_vcpu_op(int cmd, int cpu, void *arg);

extern long xencomm_hypercall_opt_feature(void *arg);

#endif /* _ASM_IA64_XEN_XCOM_HCALL_H */
1 change: 1 addition & 0 deletions trunk/arch/ia64/include/asm/xen/xencomm.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

/* Must be called before any hypercall. */
extern void xencomm_initialize(void);
extern int xencomm_is_initialized(void);

/* Check if virtual contiguity means physical contiguity
* where the passed address is a pointer value in virtual address.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ia64/xen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Makefile for Xen components
#

obj-y := hypercall.o xencomm.o
obj-y := hypercall.o xencomm.o xcom_hcall.o
Loading

0 comments on commit d8e206e

Please sign in to comment.