Commit 43ccf202214067f12af5d7a6e144e18bb35553a9

Authored by Dave C Boutcher
Committed by Paul Mackerras
1 parent 9e1c72a4e4

[PATCH] powerpc: Add some more pSeries hypervisor call constants

Adds a few more hypervisor call constants.

Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

include/asm-powerpc/hvcall.h
... ... @@ -6,7 +6,10 @@
6 6  
7 7 #define H_Success 0
8 8 #define H_Busy 1 /* Hardware busy -- retry later */
  9 +#define H_Closed 2 /* Resource closed */
9 10 #define H_Constrained 4 /* Resource request constrained to max allowed */
  11 +#define H_InProgress 14 /* Kind of like busy */
  12 +#define H_Continue 18 /* Returned from H_Join on success */
10 13 #define H_LongBusyStartRange 9900 /* Start of long busy range */
11 14 #define H_LongBusyOrder1msec 9900 /* Long busy, hint that 1msec is a good time to retry */
12 15 #define H_LongBusyOrder10msec 9901 /* Long busy, hint that 10msec is a good time to retry */
... ... @@ -114,6 +117,8 @@
114 117 #define H_REGISTER_VTERM 0x154
115 118 #define H_FREE_VTERM 0x158
116 119 #define H_POLL_PENDING 0x1D8
  120 +#define H_JOIN 0x298
  121 +#define H_ENABLE_CRQ 0x2B0
117 122  
118 123 #ifndef __ASSEMBLY__
119 124