[PATCH 1/7] powerpc: add new hypervisor constants

Dave C Boutcher sleddog at us.ibm.com
Thu Jan 12 12:25:44 EST 2006


Adds a few more hypervisor call constants.
Updated to address whitespace issues raised by
Olof Johansson.

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

diff -uNr linux-2.6.15-patched/include/asm-powerpc/hvcall.h linux-2.6.15-patched2/include/asm-powerpc/hvcall.h
--- linux-2.6.15-patched/include/asm-powerpc/hvcall.h	2006-01-11 17:46:59.000000000 -0600
+++ linux-2.6.15-patched2/include/asm-powerpc/hvcall.h	2006-01-11 17:48:44.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