diff options
author | peter <peter@FreeBSD.org> | 2001-09-04 08:36:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-09-04 08:36:46 +0000 |
commit | 119d201aabfc4e86f6217363578198cf5c825e01 (patch) | |
tree | c8c70846621a6ee07877af2bc80d00047a5c4808 /sys | |
parent | cd1c70dfaa9c9079232f836502ff5f0b29831753 (diff) | |
download | FreeBSD-src-119d201aabfc4e86f6217363578198cf5c825e01.zip FreeBSD-src-119d201aabfc4e86f6217363578198cf5c825e01.tar.gz |
Nuke #if 0'ed "setredzone()" stub. We never used it, and probably
never will. I've implemented an optional redzone as part of the KSE
upage breakup.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/vm_machdep.c | 17 | ||||
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 17 | ||||
-rw-r--r-- | sys/i386/i386/vm_machdep.c | 17 | ||||
-rw-r--r-- | sys/ia64/ia64/vm_machdep.c | 17 | ||||
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 17 | ||||
-rw-r--r-- | sys/powerpc/powerpc/vm_machdep.c | 17 |
6 files changed, 0 insertions, 102 deletions
diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index 299f52a..d15d87e 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/vm_machdep.c @@ -292,23 +292,6 @@ cpu_coredump(p, vp, cred) p)); } -#ifdef notyet -static 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 - /* * Map an IO request into kernel virtual address space. * diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index 573c41b..27c2230 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -333,23 +333,6 @@ cpu_coredump(p, vp, cred) return error; } -#ifdef notyet -static 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 - /* * Convert kernel VA to physical address */ diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index 573c41b..27c2230 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -333,23 +333,6 @@ cpu_coredump(p, vp, cred) return error; } -#ifdef notyet -static 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 - /* * Convert kernel VA to physical address */ diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c index 59c1ac2..763a9e4 100644 --- a/sys/ia64/ia64/vm_machdep.c +++ b/sys/ia64/ia64/vm_machdep.c @@ -335,23 +335,6 @@ cpu_coredump(p, vp, cred) p)); } -#ifdef notyet -static 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 - /* * Map an IO request into kernel virtual address space. * diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index e1b062f..15cf138 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -208,23 +208,6 @@ cpu_coredump(p, vp, cred) p)); } -#ifdef notyet -static 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 - /* * Map an IO request into kernel virtual address space. * diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index e1b062f..15cf138 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -208,23 +208,6 @@ cpu_coredump(p, vp, cred) p)); } -#ifdef notyet -static 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 - /* * Map an IO request into kernel virtual address space. * |