Expose procfs_rwmem(). (This function will go away entirely when we
delete Mach VM.)
This commit is contained in:
parent
9797e6cf17
commit
5e7b128211
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: procfs.h,v 1.24 1999/03/12 18:45:40 christos Exp $ */
|
||||
/* $NetBSD: procfs.h,v 1.25 1999/03/13 00:57:13 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993 Jan-Simon Pendry
|
||||
@ -39,6 +39,10 @@
|
||||
* @(#)procfs.h 8.9 (Berkeley) 5/14/95
|
||||
*/
|
||||
|
||||
#if defined(_KERNEL) && !defined(_LKM)
|
||||
#include "opt_uvm.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The different types of node in a procfs filesystem
|
||||
*/
|
||||
@ -127,6 +131,10 @@ int procfs_docmdline __P((struct proc *, struct proc *, struct pfsnode *,
|
||||
|
||||
int procfs_checkioperm __P((struct proc *, struct proc *));
|
||||
|
||||
#if !defined(UVM)
|
||||
int procfs_rwmem __P((struct proc *, struct uio *));
|
||||
#endif
|
||||
|
||||
/* functions to check whether or not files should be displayed */
|
||||
int procfs_validfile __P((struct proc *));
|
||||
int procfs_validfpregs __P((struct proc *));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: procfs_mem.c,v 1.20 1999/02/25 21:54:53 is Exp $ */
|
||||
/* $NetBSD: procfs_mem.c,v 1.21 1999/03/13 00:57:13 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993 Jan-Simon Pendry
|
||||
@ -65,9 +65,7 @@
|
||||
#define ISSET(t, f) ((t) & (f))
|
||||
|
||||
#if !defined(UVM)
|
||||
static int procfs_rwmem __P((struct proc *, struct uio *));
|
||||
|
||||
static int
|
||||
int
|
||||
procfs_rwmem(p, uio)
|
||||
struct proc *p;
|
||||
struct uio *uio;
|
||||
|
Loading…
Reference in New Issue
Block a user