[PATCH] powerpc: add new hypervisor constants

Dave C Boutcher sleddog at us.ibm.com
Wed Jan 11 20:54:18 EST 2006


Adds a few more hypervisor call constants.

Signed-off-by: Dave Boutcher <sleddog at us.ibm.com>

diff -uNr -X exclude-files linux-2.6.15/include/asm-powerpc/hvcall.h linux-2.6.15-vpm/include/asm-powerpc/hvcall.h
--- linux-2.6.15/include/asm-powerpc/hvcall.h	2006-01-02 21:21:10.000000000 -0600
+++ linux-2.6.15-vpm/include/asm-powerpc/hvcall.h	2006-01-10 22:53:13.000000000 -0600
@@ -5,7 +5,10 @@
 
 #define H_Success	0
 #define H_Busy		1	/* Hardware busy -- retry later */
+#define H_Closed        2       /* Resource closed */
 #define H_Constrained	4	/* Resource request constrained to max allowed */
+#define H_InProgress   14       /* Kind of like busy */
+#define H_Continue     18       /* Returned from H_Join on success */
 #define H_LongBusyStartRange   9900  /* Start of long busy range */
 #define H_LongBusyOrder1msec   9900  /* Long busy, hint that 1msec is a good time to retry */
 #define H_LongBusyOrder10msec  9901  /* Long busy, hint that 10msec is a good time to retry */
@@ -113,6 +116,8 @@
 #define H_REGISTER_VTERM	0x154
 #define H_FREE_VTERM		0x158
 #define H_POLL_PENDING	        0x1D8
+#define H_JOIN                  0x298
+#define H_ENABLE_CRQ            0x2B0
 
 #ifndef __ASSEMBLY__
 
-- 
Dave Boutcher



More information about the Linuxppc64-dev mailing list