diff options
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/vm_machdep.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c index 7de82391532..d1c9dc219dc 100644 --- a/sys/arch/i386/i386/vm_machdep.c +++ b/sys/arch/i386/i386/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.33 2001/11/27 05:27:11 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.34 2001/12/07 00:59:16 miod Exp $ */ /* $NetBSD: vm_machdep.c,v 1.61 1996/05/03 19:42:35 christos Exp $ */ /*- @@ -70,8 +70,6 @@ extern struct proc *npxproc; #endif -void setredzone __P((u_short *, caddr_t)); - /* * Finish a fork operation, with process p2 nearly set up. * Copy and update the kernel stack and pcb, making the child @@ -246,26 +244,6 @@ cpu_coredump(p, vp, cred, chdr) return 0; } -#if 0 -/* - * Set a red zone in the kernel stack after the u. area. - */ -void -setredzone(pte, vaddr) - u_short *pte; - caddr_t vaddr; -{ -/* eventually do this by setting up an expand-down stack segment - for ss0: selector, allowing stack access down to top of u. - this means though that protection violations need to be handled - thru a double fault exception that must do an integral task - switch to a known good context, within which a dump can be - taken. a sensible scheme might be to save the initial context - used by sched (that has physical memory mapped 1:1 at bottom) - and take the dump while still in mapped mode */ -} -#endif - /* * Move pages from one kernel virtual address to another. * Both addresses are assumed to reside in the Sysmap. |