d7ad3f5fab
stack, cpu_info structure, panicstack, idle uarea and normal kernel stack in here. the idle uarea and kernel stack are in the 2nd 64KB page. the interrupt stack and cpu_info structure are as the same place in the 1st 64KB page, and the panicstack grows down from the top of this page. update comments in param.h to suit (XXX: a lot of these constants should move to a header file that will not pollute the name space so much.) map these pages identically between cpu_initialise() and cpu_mp_startup(), and deal with the two 64KB pages in pmap_extract(). keep an unmapped 64KB page between them. don't initialise the unused "ci_eintstack" member of the cpu_info structure use constants to initialise many addresses in the cpu_info structure, consolidating these assignments from cpu0 and cpu>0 delete u0/estack0/panicstack from locore.s clean up some wrong comments in locore.s fix a 32bit-only bug in cpu_mp_startup(). delete 'u0' entirely. this fixes recent random lossage seen on port-sparc64: processes stuck in RUN state, data faults, and hangs. |
||
---|---|---|
bin | ||
common | ||
crypto | ||
dist | ||
distrib | ||
doc | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
rescue | ||
sbin | ||
share | ||
sys | ||
tools | ||
usr.bin | ||
usr.sbin | ||
x11 | ||
build.sh | ||
BUILDING | ||
Makefile | ||
Makefile.inc | ||
UPDATING |