| * include/asm-s390/sclp.h |
| * Copyright IBM Corp. 2007 |
| * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> |
| #define SCLP_CHP_INFO_MASK_SIZE 32 |
| u8 recognized[SCLP_CHP_INFO_MASK_SIZE]; |
| u8 standby[SCLP_CHP_INFO_MASK_SIZE]; |
| u8 configured[SCLP_CHP_INFO_MASK_SIZE]; |
| char loadparm[LOADPARM_LEN]; |
| } __attribute__((packed)); |
| struct sclp_cpu_entry cpu[255]; |
| int sclp_get_cpu_info(struct sclp_cpu_info *info); |
| int sclp_cpu_configure(u8 cpu); |
| int sclp_cpu_deconfigure(u8 cpu); |
| void sclp_facilities_detect(void); |
| unsigned long long sclp_get_rnmax(void); |
| unsigned long long sclp_get_rzm(void); |
| int sclp_sdias_blk_count(void); |
| int sclp_sdias_copy(void *dest, int blk_num, int nr_blks); |
| int sclp_chp_configure(struct chp_id chpid); |
| int sclp_chp_deconfigure(struct chp_id chpid); |
| int sclp_chp_read_info(struct sclp_chp_info *info); |
| void sclp_get_ipl_info(struct sclp_ipl_info *info); |
| #endif /* _ASM_S390_SCLP_H */ |