freebsd-dev/sys/i386/i386
Jeff Roberson 88c99cfbc8 Add a new variable mp_maxid. This is used so that per cpu datastructures may
be allocated as arrays indexed by the cpu id.  Previously the only reliable
way to know the max cpu id was through MAXCPU. mp_ncpus isn't useful here
because cpu ids may be sparsely mapped, although x86 and alpha do not do this.

Also, call cpu_mp_probe much earlier so the max cpu id is known before the VM
starts up.  This is intended to help support per cpu queues for the new
allocator, but may be useful elsewhere.

Reviewed by:	jake
Approved by:	jake
2002-03-05 10:01:46 +00:00
..
apic_vector.s Back out all the pmap related stuff I've touched over the last few days. 2002-02-27 09:51:33 +00:00
atomic.c Introduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng a 2000-09-06 11:21:14 +00:00
autoconf.c Fix warnings.. bootpc_init() and related. 2002-02-28 03:07:35 +00:00
bios.c Re-fix a pointer/integer warning. 2002-02-27 09:58:06 +00:00
bioscall.s Make the kernel actually compile and link under a.out, using 2001-02-25 07:44:39 +00:00
busdma_machdep.c Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
db_disasm.c Quiet a variable format-string warning. 2001-07-19 02:16:24 +00:00
db_interface.c Backed out the last vestiges of rev.1.51. Don't enter a critical 2002-01-30 18:23:31 +00:00
db_trace.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
elf_machdep.c Change incorrect NULLs to 0s 1999-12-21 11:14:12 +00:00
exception.s revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00
genassym.c revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00
i386-gdbstub.c Backed out the main part of revs.1.14-16. Don't disable interrupts in 2002-01-30 18:51:24 +00:00
i686_mem.c Overhaul of the SMP code. Several portions of the SMP kernel support have 2001-04-27 19:28:25 +00:00
identcpu.c Add generalized power profile code. 2002-03-04 18:46:13 +00:00
in_cksum.c Replace use of "0" constraints in inline asm with "+" constraints, 2001-11-13 19:55:20 +00:00
initcpu.c Add an option CPU_ATHLON_SSE_HACK which attempts to enable the SSE 2002-02-12 21:13:02 +00:00
k6_mem.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
legacy.c - Split the routine to initialize a bus_space_handle into the separate 2002-02-17 09:16:45 +00:00
locore.s Back out all the pmap related stuff I've touched over the last few days. 2002-02-27 09:51:33 +00:00
machdep.c revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00
math_emu.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
math_emulate.c Clean up some of the gross macros whitespace wise before I fix the asm 2001-11-28 01:42:16 +00:00
mem.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
mp_clock.c Remove the NCPU, NAPIC, NBUS, NINTR config options. Make NAPIC, 2000-09-22 23:40:10 +00:00
mp_machdep.c Add a new variable mp_maxid. This is used so that per cpu datastructures may 2002-03-05 10:01:46 +00:00
mpapic.c Back out all the pmap related stuff I've touched over the last few days. 2002-02-27 09:51:33 +00:00
mpboot.s Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
mptable.c Add a new variable mp_maxid. This is used so that per cpu datastructures may 2002-03-05 10:01:46 +00:00
nexus.c - Split the routine to initialize a bus_space_handle into the separate 2002-02-17 09:16:45 +00:00
perfmon.c Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
pmap.c Fix a minor swap leak. 2002-02-28 07:41:12 +00:00
support.s Back out all the pmap related stuff I've touched over the last few days. 2002-02-27 09:51:33 +00:00
swtch.s revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00
symbols.raw $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sys_machdep.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
trap.c - Move a comment from being on the same line as a #ifdef to the line 2002-02-28 21:52:08 +00:00
tsc.c revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00
vm86.c Start bringing i386/pmap.c into line with cleanups that were done to 2001-11-17 01:38:32 +00:00
vm86bios.s Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
vm_machdep.c revert last commit temporarily due to whining on the lists. 2002-02-26 20:33:41 +00:00