diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-07 00:59:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-07 00:59:17 +0000 |
commit | 9da10073afacd90f01d9cee1811c6f3c35bd99b5 (patch) | |
tree | 064a979759ac9d4c757a2e9afc0a7bc9e85be868 /sys/arch/i386 | |
parent | 3920e4a2c7f638130fcc7929be1586b1e61cb8c1 (diff) |
Ratibibugle setredzone()
[Ratibibugle is local slang for g/c, remove, rototill, etc]
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. |