Skip to content

Commit 57c5df1

Browse files
Claudio Imbrendaborntraeger
authored andcommitted
KVM: s390: pv: add macros for UVC CC values
Add macros to describe the 4 possible CC values returned by the UVC instruction. Signed-off-by: Claudio Imbrenda <[email protected]> Reviewed-by: Christian Borntraeger <[email protected]> Reviewed-by: Janosch Frank <[email protected]> Message-Id: <[email protected]> Signed-off-by: Janosch Frank <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
1 parent 14ea40e commit 57c5df1

File tree

1 file changed

+5
-0
lines changed
  • arch/s390/include/asm

1 file changed

+5
-0
lines changed

arch/s390/include/asm/uv.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
#include <asm/page.h>
1919
#include <asm/gmap.h>
2020

21+
#define UVC_CC_OK 0
22+
#define UVC_CC_ERROR 1
23+
#define UVC_CC_BUSY 2
24+
#define UVC_CC_PARTIAL 3
25+
2126
#define UVC_RC_EXECUTED 0x0001
2227
#define UVC_RC_INV_CMD 0x0002
2328
#define UVC_RC_INV_STATE 0x0003

0 commit comments

Comments
 (0)