MP FP struct in the EBDA

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Tue Nov 20 2001 - 01:17:30 EST


I just noticed the following comment in mpparse.c:find_intel_smp

"If it is an SMP machine we should know now, unless the
configuration is in an EISA/MCA bus machine with an extended bios data
area."

I'd presume this statement isn't true today, e.g. one of the IBM Netfinity
boxes here (3500M20) has the MP tables in the EBDA. Also how come we
search the whole EBDA (4k)? Whilst the MP 1.4 spec sheet says search the
first kilobyte only.

<--snip-->
address = *(unsigned short *)phys_to_virt(0x40E);
address <<= 4;
smp_scan_config(address, 0x1000);
<--snip-->

The FreeBSD (4.3-REL) MP probe code also only searches the first K
(mp_machdep.c:mp_probe)

if ((segment = (u_long) * (u_short *) (KERNBASE + 0x40e)) != 0) {
        /* search first 1K of EBDA */
        target = (u_int32_t) (segment << 4);
        if ((x = search_for_sig(target, 1024 / 4)) >= 0)
                goto found;

Just Curious,
        Zwane Mwaikambo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:22 EST