[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Define 8 hypercall numbers for arch-specific purposes.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 84780e2ea77581bc7ce60a242fe1d48db623dda2
# Parent  a779d642c22af6bcd56f60649d6c5812fe728731
Define 8 hypercall numbers for arch-specific purposes.

Signed-off-by: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Signed-off-by: Tian Kevin <kevin.tian@xxxxxxxxx>
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r a779d642c22a -r 84780e2ea775 xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Fri Apr 28 14:35:34 2006 +0100
+++ b/xen/include/asm-x86/config.h      Fri Apr 28 14:38:39 2006 +0100
@@ -66,7 +66,7 @@
 #define barrier() __asm__ __volatile__("": : :"memory")
 
 /* A power-of-two value greater than or equal to number of hypercalls. */
-#define NR_hypercalls 32
+#define NR_hypercalls 64
 
 #if NR_hypercalls & (NR_hypercalls - 1)
 #error "NR_hypercalls must be a power-of-two value"
diff -r a779d642c22a -r 84780e2ea775 xen/include/public/xen.h
--- a/xen/include/public/xen.h  Fri Apr 28 14:35:34 2006 +0100
+++ b/xen/include/public/xen.h  Fri Apr 28 14:38:39 2006 +0100
@@ -63,6 +63,16 @@
 #define __HYPERVISOR_callback_op          30
 #define __HYPERVISOR_xenoprof_op          31
 
+/* Architecture-specific hypercall definitions. */
+#define __HYPERVISOR_arch_0               48
+#define __HYPERVISOR_arch_1               49
+#define __HYPERVISOR_arch_2               50
+#define __HYPERVISOR_arch_3               51
+#define __HYPERVISOR_arch_4               52
+#define __HYPERVISOR_arch_5               53
+#define __HYPERVISOR_arch_6               54
+#define __HYPERVISOR_arch_7               55
+
 /* 
  * VIRTUAL INTERRUPTS
  * 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.