Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/miscfs/procfs Pull up revision 1.35 (requested by f...
details: https://anonhg.NetBSD.org/src/rev/fd51219954dd
branches: netbsd-1-5
changeset: 491011:fd51219954dd
user: he <he%NetBSD.org@localhost>
date: Fri Mar 30 21:49:23 2001 +0000
description:
Pull up revision 1.35 (requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
diffstat:
sys/miscfs/procfs/procfs_subr.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 1788750cdffe -r fd51219954dd sys/miscfs/procfs/procfs_subr.c
--- a/sys/miscfs/procfs/procfs_subr.c Fri Mar 30 21:48:56 2001 +0000
+++ b/sys/miscfs/procfs/procfs_subr.c Fri Mar 30 21:49:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_subr.c,v 1.31 2000/03/16 18:08:26 jdolecek Exp $ */
+/* $NetBSD: procfs_subr.c,v 1.31.4.1 2001/03/30 21:49:23 he Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou. All rights reserved.
@@ -158,6 +158,8 @@
case Pmap: /* /proc/N/map = -r--r--r-- */
case Pstatus: /* /proc/N/status = -r--r--r-- */
case Pcmdline: /* /proc/N/cmdline = -r--r--r-- */
+ case Pmeminfo: /* /proc/meminfo = -r--r--r-- */
+ case Pcpuinfo: /* /proc/cpuinfo = -r--r--r-- */
pfs->pfs_mode = S_IRUSR|S_IRGRP|S_IROTH;
vp->v_type = VREG;
break;
@@ -243,6 +245,11 @@
case Pcmdline:
return (procfs_docmdline(curp, p, pfs, uio));
+ case Pmeminfo:
+ return (procfs_domeminfo(curp, p, pfs, uio));
+ case Pcpuinfo:
+ return (procfs_docpuinfo(curp, p, pfs, uio));
+
default:
return (EOPNOTSUPP);
}
Home |
Main Index |
Thread Index |
Old Index