WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Add hypercall-declaring header files.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 2add7a26253079c1d9d6ba87a37aa72c89358a06
# Parent  98c8afe4c433c4caaf369f224c4086384972e859
Add hypercall-declaring header files.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 98c8afe4c433 -r 2add7a262530 xen/include/asm-ia64/hypercall.h
--- /dev/null   Fri Jan 27 15:16:52 2006
+++ b/xen/include/asm-ia64/hypercall.h  Fri Jan 27 15:17:38 2006
@@ -0,0 +1,30 @@
+/******************************************************************************
+ * asm-ia64/hypercall.h
+ */
+
+#ifndef __ASM_IA64_HYPERCALL_H__
+#define __ASM_IA64_HYPERCALL_H__
+
+#include <public/xen.h>
+#include <asm/types.h>
+#include <asm/vcpu.h>
+
+extern int
+vmx_do_mmu_update(
+    mmu_update_t *ureqs,
+    u64 count,
+    u64 *pdone,
+    u64 foreigndom);
+
+extern int
+do_lock_page(
+    VCPU *vcpu,
+    u64 va,
+    u64 lock);
+
+extern int
+do_set_shared_page(
+    VCPU *vcpu,
+    u64 gpa);
+
+#endif /* __ASM_IA64_HYPERCALL_H__ */
diff -r 98c8afe4c433 -r 2add7a262530 xen/include/asm-x86/hypercall.h
--- /dev/null   Fri Jan 27 15:16:52 2006
+++ b/xen/include/asm-x86/hypercall.h   Fri Jan 27 15:17:38 2006
@@ -0,0 +1,102 @@
+/******************************************************************************
+ * asm-x86/hypercall.h
+ */
+
+#ifndef __ASM_X86_HYPERCALL_H__
+#define __ASM_X86_HYPERCALL_H__
+
+struct trap_info;
+extern long
+do_set_trap_table(
+    struct trap_info *traps);
+
+struct mmu_update;
+extern int
+do_mmu_update(
+    struct mmu_update *ureqs,
+    unsigned int count,
+    unsigned int *pdone,
+    unsigned int foreigndom);
+
+extern long
+do_set_gdt(
+    unsigned long *frame_list,
+    unsigned int entries);
+
+extern long
+do_stack_switch(
+    unsigned long ss,
+    unsigned long esp);
+
+extern long
+do_fpu_taskswitch(
+    int set);
+
+extern long
+do_set_debugreg(
+    int reg,
+    unsigned long value);
+
+extern unsigned long
+do_get_debugreg(
+    int reg);
+
+extern long
+do_update_descriptor(
+    u64 pa,
+    u64 desc);
+
+extern int
+do_update_va_mapping(
+    unsigned long va,
+    u64 val64,
+    unsigned long flags);
+
+struct physdev_op;
+extern long
+do_physdev_op(
+    struct physdev_op *uop);
+
+extern int
+do_update_va_mapping_otherdomain(
+    unsigned long va,
+    u64 val64,
+    unsigned long flags,
+    domid_t domid);
+
+extern int
+do_mmuext_op(
+    struct mmuext_op *uops,
+    unsigned int count,
+    unsigned int *pdone,
+    unsigned int foreigndom);
+
+extern unsigned long
+do_iret(
+    void);
+
+#ifdef __x86_64__
+
+extern long
+do_set_callbacks(
+    unsigned long event_address,
+    unsigned long failsafe_address,
+    unsigned long syscall_address);
+
+extern long
+do_set_segment_base(
+    unsigned int which,
+    unsigned long base);
+
+#else
+
+extern long
+do_set_callbacks(
+    unsigned long event_selector,
+    unsigned long event_address,
+    unsigned long failsafe_selector,
+    unsigned long failsafe_address);
+
+#endif
+
+#endif /* __ASM_X86_HYPERCALL_H__ */
diff -r 98c8afe4c433 -r 2add7a262530 xen/include/xen/hypercall.h
--- /dev/null   Fri Jan 27 15:16:52 2006
+++ b/xen/include/xen/hypercall.h       Fri Jan 27 15:17:38 2006
@@ -0,0 +1,86 @@
+/******************************************************************************
+ * hypercall.h
+ */
+
+#ifndef __XEN_HYPERCALL_H__
+#define __XEN_HYPERCALL_H__
+
+#include <xen/config.h>
+#include <xen/types.h>
+#include <xen/time.h>
+#include <public/xen.h>
+#include <asm/hypercall.h>
+
+extern long
+do_ni_hypercall(
+    void);
+
+extern long
+do_sched_op(
+    int cmd,
+    unsigned long arg);
+
+struct dom0_op;
+extern long
+do_dom0_op(
+    struct dom0_op *u_dom0_op);
+
+extern long
+do_memory_op(
+    int cmd,
+    void *arg);
+
+struct multicall_entry;
+extern long
+do_multicall(
+    struct multicall_entry *call_list,
+    unsigned int nr_calls);
+
+extern long
+do_set_timer_op(
+    s_time_t timeout);
+
+struct evtchn_op;
+extern long
+do_event_channel_op(
+    struct evtchn_op *uop);
+
+extern long
+do_xen_version(
+    int cmd,
+    void *arg);
+
+extern long
+do_console_io(
+    int cmd,
+    int count,
+    char *buffer);
+
+extern long
+do_grant_table_op(
+    unsigned int cmd,
+    void *uop,
+    unsigned int count);
+
+extern long
+do_vm_assist(
+    unsigned int cmd,
+    unsigned int type);
+
+extern long
+do_vcpu_op(
+    int cmd,
+    int vcpuid,
+    void *arg);
+
+struct acm_op;
+extern long
+do_acm_op(
+    struct acm_op *u_acm_op);
+
+extern long
+do_nmi_op(
+    unsigned int cmd,
+    void *arg);
+
+#endif /* __XEN_HYPERCALL_H__ */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add hypercall-declaring header files., Xen patchbot -unstable <=