/* 
/* 
mca_make_peidx(sal_log_processor_info_t *slpi, peidx_table_t *peidx){	/* 	 * calculate the start address of	 *   "struct cpuid_info" and "sal_processor_static_info_t".	 */	u64 total_check_num = slpi->valid.num_cache_check				+ slpi->valid.num_tlb_check				+ slpi->valid.num_bus_check				+ slpi->valid.num_reg_file_check				+ slpi->valid.num_ms_check;	u64 head_size =	sizeof(sal_log_mod_error_info_t) * total_check_num			+ sizeof(sal_log_processor_info_t);	u64 mid_size  = slpi->valid.cpuid_info * sizeof(struct sal_cpuid_info);	peidx_head(peidx)   = slpi;	peidx_mid(peidx)    = (struct sal_cpuid_info *)		(slpi->valid.cpuid_info ? ((char*)slpi + head_size) : NULL);	peidx_bottom(peidx) = (sal_processor_static_info_t *)		(slpi->valid.psi_static_struct ?			((char*)slpi + head_size + mid_size) : NULL);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/20305e59724381365096b6ab0a48054723367c80/mca_drv.c/buggy/arch/ia64/kernel/mca_drv.c