]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-s390/sclp.h
block: make proc files seq_start use the class_find_device()
[linux-2.6-omap-h63xx.git] / include / asm-s390 / sclp.h
index cb9faf1ea5cfd5db60a602e45af058bceddc06f2..fed7bee650a06868072ef323723d7e6abe2336d7 100644 (file)
@@ -27,9 +27,27 @@ struct sclp_ipl_info {
        char loadparm[LOADPARM_LEN];
 };
 
-void sclp_readinfo_early(void);
+struct sclp_cpu_entry {
+       u8 address;
+       u8 reserved0[13];
+       u8 type;
+       u8 reserved1;
+} __attribute__((packed));
+
+struct sclp_cpu_info {
+       unsigned int configured;
+       unsigned int standby;
+       unsigned int combined;
+       int has_cpu_type;
+       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_memory_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);