kern_procctl.c (76274) | kern_procctl.c (77031) |
---|---|
1/* 2 * Copyright (c) 1994, Sean Eric Fagan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/* 2 * Copyright (c) 1994, Sean Eric Fagan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $FreeBSD: head/sys/kern/sys_process.c 76274 2001-05-04 18:13:11Z jhb $ | 31 * $FreeBSD: head/sys/kern/sys_process.c 77031 2001-05-23 09:42:29Z ru $ |
32 */ 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/lock.h> 37#include <sys/mutex.h> 38#include <sys/sysproto.h> 39#include <sys/proc.h> --- 4 unchanged lines hidden (view full) --- 44 45#include <machine/reg.h> 46 47#include <vm/vm.h> 48#include <vm/pmap.h> 49#include <vm/vm_map.h> 50#include <vm/vm_page.h> 51 | 32 */ 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/lock.h> 37#include <sys/mutex.h> 38#include <sys/sysproto.h> 39#include <sys/proc.h> --- 4 unchanged lines hidden (view full) --- 44 45#include <machine/reg.h> 46 47#include <vm/vm.h> 48#include <vm/pmap.h> 49#include <vm/vm_map.h> 50#include <vm/vm_page.h> 51 |
52#include <miscfs/procfs/procfs.h> | 52#include |
53 54/* use the equivalent procfs code */ 55#if 0 56static int 57pread (struct proc *procp, unsigned int addr, unsigned int *retval) { 58 int rv; 59 vm_map_t map, tmap; 60 vm_object_t object; --- 553 unchanged lines hidden --- | 53 54/* use the equivalent procfs code */ 55#if 0 56static int 57pread (struct proc *procp, unsigned int addr, unsigned int *retval) { 58 int rv; 59 vm_map_t map, tmap; 60 vm_object_t object; --- 553 unchanged lines hidden --- |