diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-11-13 04:16:43 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-11-13 04:16:43 +0000 |
commit | 184db9656b99370319619f1ff8225c9a5367859e (patch) | |
tree | 32d7865766c63c379f9a3ae16fd037c0e72e2dc9 /sys/arch/amd64/include/proc.h | |
parent | a4b25181b366373237fce8135d5a46f63251346e (diff) |
Switch from TSS-per-process to TSS-per-CPU, placing the TSS right
next to the cpu's GDT, also making the double-fault stack per-CPU,
leaving it at the top of the page of the CPU's idle process. Inline
pmap_activate() and pmap_deactivate() into the asm cpu_switchto
routine, adding a check for the new pmap already being marked as
active on the CPU. Garbage collect the hasn't-been-used-in-years
GDT update IPI.
Tested by many; ok mikeb@, kettenis@
Diffstat (limited to 'sys/arch/amd64/include/proc.h')
-rw-r--r-- | sys/arch/amd64/include/proc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/proc.h b/sys/arch/amd64/include/proc.h index fb662a6ecd7..46ca006f6b4 100644 --- a/sys/arch/amd64/include/proc.h +++ b/sys/arch/amd64/include/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.3 2005/12/13 00:18:19 jsg Exp $ */ +/* $OpenBSD: proc.h,v 1.4 2010/11/13 04:16:42 guenther Exp $ */ /* $NetBSD: proc.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */ /* @@ -42,7 +42,6 @@ */ struct mdproc { struct trapframe *md_regs; /* registers on current frame */ - int md_tss_sel; /* TSS selector */ int md_flags; __volatile int md_astpending; }; |