freebsd-skq/sys/alpha
jhb bbe7d290ea - 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
..
alpha - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
compile
conf - Add the WITNESS_SKIPSPIN option to the GENERIC kernel so that users who 2003-11-13 02:04:34 +00:00
include Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
isa Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
linux Regen. 2003-11-07 21:13:08 +00:00
mcbus Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
osf1 Fix build on alpha 2003-11-16 21:53:05 +00:00
pci Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
tlsb OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00
Makefile