Lines Matching refs:mpc
296 static int __init smp_read_mpc(struct mp_config_table *mpc) in smp_read_mpc() argument
300 int count=sizeof(*mpc); in smp_read_mpc()
301 unsigned char *mpt=((unsigned char *)mpc)+count; in smp_read_mpc()
303 if (memcmp(mpc->mpc_signature,MPC_SIGNATURE,4)) { in smp_read_mpc()
305 *(u32 *)mpc->mpc_signature); in smp_read_mpc()
308 if (mpf_checksum((unsigned char *)mpc,mpc->mpc_length)) { in smp_read_mpc()
312 if (mpc->mpc_spec!=0x01 && mpc->mpc_spec!=0x04) { in smp_read_mpc()
314 mpc->mpc_spec); in smp_read_mpc()
317 if (!mpc->mpc_lapic) { in smp_read_mpc()
321 memcpy(oem,mpc->mpc_oem,8); in smp_read_mpc()
325 memcpy(str,mpc->mpc_productid,12); in smp_read_mpc()
329 mps_oem_check(mpc, oem, str); in smp_read_mpc()
331 printk("APIC at: %#x\n", mpc->mpc_lapic); in smp_read_mpc()
338 mp_lapic_addr = mpc->mpc_lapic; in smp_read_mpc()
343 while (count < mpc->mpc_length) { in smp_read_mpc()
408 count = mpc->mpc_length; in smp_read_mpc()