systemcfg
extern struct systemcfg *systemcfg;
struct systemcfg data;
struct systemcfg *systemcfg = &systemcfg_data_store.data;
strscpy(systemcfg->eye_catcher, "SYSTEMCFG:PPC64");
systemcfg->version.major = SYSTEMCFG_MAJOR;
systemcfg->version.minor = SYSTEMCFG_MINOR;
systemcfg->processor = mfspr(SPRN_PVR);
systemcfg->platform = 0x100;
systemcfg->platform |= 1;
systemcfg->physicalMemorySize = memblock_phys_mem_size();
systemcfg->dcache_size = ppc64_caches.l1d.size;
systemcfg->dcache_line_size = ppc64_caches.l1d.line_size;
systemcfg->icache_size = ppc64_caches.l1i.size;
systemcfg->icache_line_size = ppc64_caches.l1i.line_size;
&page_map_proc_ops, systemcfg);
systemcfg->processorCount = num_present_cpus();
systemcfg->processorCount--;
systemcfg->processorCount++;
systemcfg->tb_ticks_per_sec = tb_ticks_per_sec;
systemcfg->processorCount--;
systemcfg->processorCount--;