source: trunk/packages/xen-3.1/xen-3.1/linux-2.6-xen-sparse/include/asm-ia64/xen/xcom_hcall.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 3.4 KB
Line 
1/*
2 * Copyright (C) 2006 Tristan Gingold <tristan.gingold@bull.net>, Bull SAS
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 */
18
19#ifndef _LINUX_XENCOMM_HCALL_H_
20#define _LINUX_XENCOMM_HCALL_H_
21
22/* These function creates inline descriptor for the parameters and
23   calls the corresponding xencomm_arch_hypercall_X.
24   Architectures should defines HYPERVISOR_xxx as xencomm_hypercall_xxx unless
25   they want to use their own wrapper.  */
26extern int xencomm_hypercall_console_io(int cmd, int count, char *str);
27
28extern int xencomm_hypercall_event_channel_op(int cmd, void *op);
29
30extern int xencomm_hypercall_xen_version(int cmd, void *arg);
31
32extern int xencomm_hypercall_physdev_op(int cmd, void *op);
33
34extern int xencomm_hypercall_grant_table_op(unsigned int cmd, void *op,
35                                            unsigned int count);
36
37extern int xencomm_hypercall_sched_op(int cmd, void *arg);
38
39extern int xencomm_hypercall_multicall(void *call_list, int nr_calls);
40
41extern int xencomm_hypercall_callback_op(int cmd, void *arg);
42
43extern int xencomm_hypercall_memory_op(unsigned int cmd, void *arg);
44
45extern unsigned long xencomm_hypercall_hvm_op(int cmd, void *arg);
46
47extern int xencomm_hypercall_suspend(unsigned long srec);
48
49extern int xencomm_hypercall_xenoprof_op(int op, void *arg);
50
51extern int xencomm_hypercall_perfmon_op(unsigned long cmd, void* arg,
52                                        unsigned long count);
53
54extern long xencomm_hypercall_vcpu_op(int cmd, int cpu, void *arg);
55
56/* Using mini xencomm.  */
57extern int xencomm_mini_hypercall_console_io(int cmd, int count, char *str);
58
59extern int xencomm_mini_hypercall_event_channel_op(int cmd, void *op);
60
61extern int xencomm_mini_hypercall_xen_version(int cmd, void *arg);
62
63extern int xencomm_mini_hypercall_physdev_op(int cmd, void *op);
64
65extern int xencomm_mini_hypercall_grant_table_op(unsigned int cmd, void *op,
66                                                 unsigned int count);
67
68extern int xencomm_mini_hypercall_sched_op(int cmd, void *arg);
69
70extern int xencomm_mini_hypercall_multicall(void *call_list, int nr_calls);
71
72extern int xencomm_mini_hypercall_callback_op(int cmd, void *arg);
73
74extern int xencomm_mini_hypercall_memory_op(unsigned int cmd, void *arg);
75
76extern unsigned long xencomm_mini_hypercall_hvm_op(int cmd, void *arg);
77
78extern int xencomm_mini_hypercall_xenoprof_op(int op, void *arg);
79
80extern int xencomm_mini_hypercall_perfmon_op(unsigned long cmd, void* arg,
81                                             unsigned long count);
82
83/* For privcmd.  Locally declare argument type to avoid include storm.
84   Type coherency will be checked within privcmd.c  */
85struct privcmd_hypercall;
86extern int privcmd_hypercall(struct privcmd_hypercall *hypercall);
87
88#endif /* _LINUX_XENCOMM_HCALL_H_ */
Note: See TracBrowser for help on using the repository browser.