freebsd-dev/sys/ia64
John Baldwin 798a45964d - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called
very early (SI_SUB_TUNABLES - 1) and is responsible for setting mp_maxid.
  cpu_mp_probe() is now called at SI_SUB_CPU and determines if SMP is
  actually present and sets mp_ncpus and all_cpus.  Splitting these up
  allows an architecture to probe CPUs later than SI_SUB_TUNABLES by just
  setting mp_maxid to MAXCPU in cpu_mp_setmaxid().  This could allow the
  CPU probing code to live in a module, for example, since modules
  sysinit's in modules cannot be invoked prior to SI_SUB_KLD.  This is
  needed to re-enable the ACPI module on i386.
- For the alpha SMP probing code, use LOCATE_PCS() instead of duplicating
  its contents in a few places.  Also, add a smp_cpu_enabled() function
  to avoid duplicating some code.  There is room for further code
  reduction later since much of this code is also present in cpu_mp_start().
- All archs besides i386 still set mp_maxid to the same values they set it
  to before this change.  i386 now sets mp_maxid to MAXCPU.

Tested on:	alpha, amd64, i386, ia64, sparc64
Approved by:	re (scottl)
2003-11-21 22:23:26 +00:00
..
acpica Move the definitions for ACPI MADT table entries not present in the ACPICA 2003-09-10 06:32:27 +00:00
compile
conf Remove the atkbd, psm, sc and vga devices. Most ia64 boxes out there 2003-11-08 23:19:13 +00:00
disasm Remove two unused fields in the operand structure (o_read & o_write). 2003-10-24 02:05:53 +00:00
ia32 Regen. 2003-11-07 20:30:30 +00:00
ia64 - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
include Fixed a pedantic syntax error (a stray semicolon at the end of 2003-11-17 03:40:41 +00:00
isa Mega busdma API commit. 2003-07-01 15:52:06 +00:00
pci