thread stage 4: remove curpcb, use td_pcb reference instead. Move the pcb
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 18 Jun 2003 18:30:13 +0000 (18:30 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 18 Jun 2003 18:30:13 +0000 (18:30 +0000)
commitb7c628e4a8ff1c8e4f738ef450eb1527e94e3ee5
treeb4fc430c9e4b0c6743a632f2ae403207b536f72f
parent263e457498080e9aedfdf8ca8d596e83d13a793c
thread stage 4: remove curpcb, use td_pcb reference instead.   Move the pcb
to the end of the thread stack, and note that a pcb will always exist because
a thread context will always exist.  Also note that vm86 replaces td_pcb
temporarily and we really need to rip that out and instead make a copy on
the stack, because assumptions are made in regards to the pcb's location.
50 files changed:
sys/ddb/db_ps.c
sys/emulation/linux/i386/linux_ptrace.c
sys/emulation/svr4/i386/svr4_machdep.c
sys/i386/i386/db_trace.c
sys/i386/i386/genassym.c
sys/i386/i386/globals.s
sys/i386/i386/locore.s
sys/i386/i386/machdep.c
sys/i386/i386/math_emu.h
sys/i386/i386/math_emulate.c
sys/i386/i386/pmap.c
sys/i386/i386/support.s
sys/i386/i386/swtch.s
sys/i386/i386/sys_machdep.c
sys/i386/i386/trap.c
sys/i386/i386/vm86.c
sys/i386/i386/vm86bios.s
sys/i386/i386/vm_machdep.c
sys/i386/include/asnames.h
sys/i386/include/globaldata.h
sys/i386/include/globals.h
sys/i386/include/pcb.h
sys/i386/isa/npx.c
sys/kern/init_main.c
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/platform/pc32/i386/db_trace.c
sys/platform/pc32/i386/genassym.c
sys/platform/pc32/i386/globals.s
sys/platform/pc32/i386/locore.s
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/math_emu.h
sys/platform/pc32/i386/math_emulate.c
sys/platform/pc32/i386/pmap.c
sys/platform/pc32/i386/support.s
sys/platform/pc32/i386/swtch.s
sys/platform/pc32/i386/sys_machdep.c
sys/platform/pc32/i386/trap.c
sys/platform/pc32/i386/vm86.c
sys/platform/pc32/i386/vm86bios.s
sys/platform/pc32/i386/vm_machdep.c
sys/platform/pc32/include/asnames.h
sys/platform/pc32/include/globaldata.h
sys/platform/pc32/include/globals.h
sys/platform/pc32/include/pcb.h
sys/platform/pc32/isa/npx.c
sys/platform/vkernel/i386/genassym.c
sys/sys/proc.h
sys/sys/user.h
sys/vm/vm_glue.c