[PATCH 1/6] powerpc: powerpc.git version of hypervisor constants

Dave C Boutcher sleddog at us.ibm.com
Fri Jan 13 09:05:35 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 powerpc.git.patched2/include/asm-powerpc/hvcall.h powerpc.git.vpm/include/asm-powerpc/hvcall.h
--- powerpc.git.patched2/include/asm-powerpc/hvcall.h	2006-01-12 15:12:19.000000000 -0600
+++ powerpc.git.vpm/include/asm-powerpc/hvcall.h	2006-01-12 15:11:43.000000000 -0600
@@ -6,7 +6,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 */
@@ -114,6 +117,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