freebsd-skq/sys/amd64
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 Minor source sync with amd64. For %.*s printf formats, pass in an 2003-11-14 22:26:29 +00:00
amd64 - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
compile Make space for compilations. 2002-07-06 02:49:07 +00:00
conf Turn on NO_MIXED_MODE for amd64 generic. It turns out that all the 2003-11-21 03:19:59 +00:00
ia32 Initial landing of SMP support for FreeBSD/amd64. 2003-11-17 08:58:16 +00:00
include Cosmetic and/or trivial sync up with i386. 2003-11-21 03:02:00 +00:00
isa Cosmetic and/or trivial sync up with i386. 2003-11-21 03:02:00 +00:00
pci Initial landing of SMP support for FreeBSD/amd64. 2003-11-17 08:58:16 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00