summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-09-04 08:36:46 +0000
committerpeter <peter@FreeBSD.org>2001-09-04 08:36:46 +0000
commit119d201aabfc4e86f6217363578198cf5c825e01 (patch)
treec8c70846621a6ee07877af2bc80d00047a5c4808 /sys/powerpc
parentcd1c70dfaa9c9079232f836502ff5f0b29831753 (diff)
downloadFreeBSD-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/powerpc')
-rw-r--r--sys/powerpc/aim/vm_machdep.c17
-rw-r--r--sys/powerpc/powerpc/vm_machdep.c17
2 files changed, 0 insertions, 34 deletions
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.
*
OpenPOWER on IntegriCloud