Home
last modified time | relevance | path

Searched refs:mpc (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/
Dmpparse.c144 static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) in smp_check_mpc() argument
147 if (memcmp(mpc->signature, MPC_SIGNATURE, 4)) { in smp_check_mpc()
149 mpc->signature[0], mpc->signature[1], in smp_check_mpc()
150 mpc->signature[2], mpc->signature[3]); in smp_check_mpc()
153 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { in smp_check_mpc()
157 if (mpc->spec != 0x01 && mpc->spec != 0x04) { in smp_check_mpc()
158 pr_err("MPTABLE: bad table version (%d)!!\n", mpc->spec); in smp_check_mpc()
161 if (!mpc->lapic) { in smp_check_mpc()
165 memcpy(oem, mpc->oem, 8); in smp_check_mpc()
169 memcpy(str, mpc->productid, 12); in smp_check_mpc()
[all …]
/arch/mips/sgi-ip30/
Dip30-smp.c79 struct mpconf *mpc; in ip30_smp_setup() local
85 mpc = (struct mpconf *)MPCONF(i); in ip30_smp_setup()
86 if (mpc->magic == MPCONF_MAGIC) { in ip30_smp_setup()
91 i, mpc->prid, mpc->physid, mpc->virtid); in ip30_smp_setup()
112 struct mpconf *mpc = (struct mpconf *)MPCONF(cpu); in ip30_smp_boot_secondary() local
115 mpc->stackaddr = (void *)__KSTK_TOS(idle); in ip30_smp_boot_secondary()
118 mpc->lnch_parm = task_thread_info(idle); in ip30_smp_boot_secondary()
123 mpc->launch = smp_bootstrap; in ip30_smp_boot_secondary()
/arch/x86/include/asm/
Dmpspec_def.h162 char mpc[8]; member