John Baldwin f4b4a64293 Enumerate logical hyperthread CPUs manually if they aren't already listed
in the mptable.  The way this works is that we determine if the system
has hyperthreading and how many logical CPU's should be in each physical
CPU by using the information returned by cpuid.  During the first pass of
the mptable, we build a bitmask of the APIC IDs of the CPUs listed in the
mptable.  We then scan that bitmask to see if the CPUs are already listed
by the mptable, or if there are any APIC IDs already in use that would
conflict with the APIC IDs of the logical CPUs.  If that test succeeds,
then we fixup the count of application processors.  Later on during the
second pass of the mptable we create fake processor entries for logical
CPUs and add them to the system.

We only need this type of fixup hack when using the mptable to enumerate
CPUs.  The ACPI MADT table properly enumerates all logical CPUs.
2003-01-08 01:33:18 +00:00
..
2002-03-20 05:48:58 +00:00
2002-09-23 07:27:45 +00:00
2002-05-21 12:50:20 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-06-29 07:04:59 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2002-10-17 18:17:28 +00:00
2002-10-23 10:14:30 +00:00
2002-11-27 16:28:18 +00:00