diff options
author | peter <peter@FreeBSD.org> | 2002-09-07 01:26:34 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-07 01:26:34 +0000 |
commit | e3b1e6d8fa8294194fe659b47fac9221620114a1 (patch) | |
tree | 700d132a2fed5404976bd42f37e4c0bcb821a86e /sys/powerpc | |
parent | 4c22235af2f943632cc795d08e1b963d04b059cd (diff) | |
download | FreeBSD-src-e3b1e6d8fa8294194fe659b47fac9221620114a1.zip FreeBSD-src-e3b1e6d8fa8294194fe659b47fac9221620114a1.tar.gz |
Zap the implementations of the i386-aout specific cpu_coredump function.
Most of the non-i386 platforms had rather broken implementations anyway.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 15 | ||||
-rw-r--r-- | sys/powerpc/powerpc/vm_machdep.c | 15 |
2 files changed, 0 insertions, 30 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index f593364..fe647ec 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -230,21 +230,6 @@ cpu_throw(void) } /* - * Dump the machine specific header information at the start of a core dump. - */ -int -cpu_coredump(td, vp, cred) - struct thread *td; - struct vnode *vp; - struct ucred *cred; -{ - - return (vn_rdwr(UIO_WRITE, vp, (caddr_t)td->td_proc->p_uarea, - ctob(UAREA_PAGES), (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, NOCRED, - (int *)NULL, td)); -} - -/* * Map an IO request into kernel virtual address space. * * All requests are (re)mapped into kernel VA space. diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index f593364..fe647ec 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -230,21 +230,6 @@ cpu_throw(void) } /* - * Dump the machine specific header information at the start of a core dump. - */ -int -cpu_coredump(td, vp, cred) - struct thread *td; - struct vnode *vp; - struct ucred *cred; -{ - - return (vn_rdwr(UIO_WRITE, vp, (caddr_t)td->td_proc->p_uarea, - ctob(UAREA_PAGES), (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, NOCRED, - (int *)NULL, td)); -} - -/* * Map an IO request into kernel virtual address space. * * All requests are (re)mapped into kernel VA space. |