1*9b747530SHeiko Carstens #ifndef __S390_ASM_SIGP_H 2*9b747530SHeiko Carstens #define __S390_ASM_SIGP_H 3*9b747530SHeiko Carstens 4*9b747530SHeiko Carstens /* SIGP order codes */ 5*9b747530SHeiko Carstens #define SIGP_SENSE 1 6*9b747530SHeiko Carstens #define SIGP_EXTERNAL_CALL 2 7*9b747530SHeiko Carstens #define SIGP_EMERGENCY_SIGNAL 3 8*9b747530SHeiko Carstens #define SIGP_STOP 5 9*9b747530SHeiko Carstens #define SIGP_RESTART 6 10*9b747530SHeiko Carstens #define SIGP_STOP_AND_STORE_STATUS 9 11*9b747530SHeiko Carstens #define SIGP_INITIAL_CPU_RESET 11 12*9b747530SHeiko Carstens #define SIGP_SET_PREFIX 13 13*9b747530SHeiko Carstens #define SIGP_STORE_STATUS_AT_ADDRESS 14 14*9b747530SHeiko Carstens #define SIGP_SET_ARCHITECTURE 18 15*9b747530SHeiko Carstens #define SIGP_SENSE_RUNNING 21 16*9b747530SHeiko Carstens 17*9b747530SHeiko Carstens /* SIGP condition codes */ 18*9b747530SHeiko Carstens #define SIGP_CC_ORDER_CODE_ACCEPTED 0 19*9b747530SHeiko Carstens #define SIGP_CC_STATUS_STORED 1 20*9b747530SHeiko Carstens #define SIGP_CC_BUSY 2 21*9b747530SHeiko Carstens #define SIGP_CC_NOT_OPERATIONAL 3 22*9b747530SHeiko Carstens 23*9b747530SHeiko Carstens /* SIGP cpu status bits */ 24*9b747530SHeiko Carstens 25*9b747530SHeiko Carstens #define SIGP_STATUS_CHECK_STOP 0x00000010UL 26*9b747530SHeiko Carstens #define SIGP_STATUS_STOPPED 0x00000040UL 27*9b747530SHeiko Carstens #define SIGP_STATUS_INVALID_PARAMETER 0x00000100UL 28*9b747530SHeiko Carstens #define SIGP_STATUS_INCORRECT_STATE 0x00000200UL 29*9b747530SHeiko Carstens #define SIGP_STATUS_NOT_RUNNING 0x00000400UL 30*9b747530SHeiko Carstens 31*9b747530SHeiko Carstens #endif /* __S390_ASM_SIGP_H */ 32