xcom_hcall.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef _ASM_IA64_XEN_XCOM_HCALL_H
  19. #define _ASM_IA64_XEN_XCOM_HCALL_H
  20. /* These function creates inline or mini descriptor for the parameters and
  21. calls the corresponding xencomm_arch_hypercall_X.
  22. Architectures should defines HYPERVISOR_xxx as xencomm_hypercall_xxx unless
  23. they want to use their own wrapper. */
  24. extern int xencomm_hypercall_console_io(int cmd, int count, char *str);
  25. extern int xencomm_hypercall_event_channel_op(int cmd, void *op);
  26. extern int xencomm_hypercall_xen_version(int cmd, void *arg);
  27. extern int xencomm_hypercall_physdev_op(int cmd, void *op);
  28. extern int xencomm_hypercall_grant_table_op(unsigned int cmd, void *op,
  29. unsigned int count);
  30. extern int xencomm_hypercall_sched_op(int cmd, void *arg);
  31. extern int xencomm_hypercall_multicall(void *call_list, int nr_calls);
  32. extern int xencomm_hypercall_callback_op(int cmd, void *arg);
  33. extern int xencomm_hypercall_memory_op(unsigned int cmd, void *arg);
  34. extern int xencomm_hypercall_suspend(unsigned long srec);
  35. extern long xencomm_hypercall_vcpu_op(int cmd, int cpu, void *arg);
  36. extern long xencomm_hypercall_opt_feature(void *arg);
  37. #endif /* _ASM_IA64_XEN_XCOM_HCALL_H */