procfs_regs.c (75893) | procfs_regs.c (76166) |
---|---|
1/* 2 * Copyright (c) 1993 Jan-Simon Pendry 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 23 unchanged lines hidden (view full) --- 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)procfs_regs.c 8.4 (Berkeley) 6/15/94 38 * 39 * From: | 1/* 2 * Copyright (c) 1993 Jan-Simon Pendry 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 23 unchanged lines hidden (view full) --- 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)procfs_regs.c 8.4 (Berkeley) 6/15/94 38 * 39 * From: |
40 * $FreeBSD: head/sys/fs/procfs/procfs_regs.c 75893 2001-04-24 00:51:53Z jhb $ | 40 * $FreeBSD: head/sys/fs/procfs/procfs_regs.c 76166 2001-05-01 08:13:21Z markm $ |
41 */ 42 43#include <sys/param.h> | 41 */ 42 43#include <sys/param.h> |
44#include <sys/systm.h> 45#include <sys/lock.h> 46#include <sys/mutex.h> |
|
44#include <sys/proc.h> 45#include <sys/vnode.h> | 47#include <sys/proc.h> 48#include <sys/vnode.h> |
46#include <sys/systm.h> | 49 |
47#include <machine/reg.h> | 50#include <machine/reg.h> |
48#include <miscfs/procfs/procfs.h> | 51 |
49#include <vm/vm.h> 50#include <vm/vm_extern.h> 51 | 52#include <vm/vm.h> 53#include <vm/vm_extern.h> 54 |
55#include <miscfs/procfs/procfs.h> 56 |
|
52int 53procfs_doregs(curp, p, pfs, uio) 54 struct proc *curp; 55 struct proc *p; 56 struct pfsnode *pfs; 57 struct uio *uio; 58{ 59 int error; --- 41 unchanged lines hidden --- | 57int 58procfs_doregs(curp, p, pfs, uio) 59 struct proc *curp; 60 struct proc *p; 61 struct pfsnode *pfs; 62 struct uio *uio; 63{ 64 int error; --- 41 unchanged lines hidden --- |