Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/arch/sun2/sun2 Added.



details:   https://anonhg.NetBSD.org/src/rev/dc76eded96e3
branches:  nathanw_sa
changeset: 504854:dc76eded96e3
user:      fredette <fredette%NetBSD.org@localhost>
date:      Sun Jul 15 16:29:30 2001 +0000

description:
Added.

diffstat:

 sys/arch/sun2/sun2/procfs_machdep.c |  20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r f0b3279eeb75 -r dc76eded96e3 sys/arch/sun2/sun2/procfs_machdep.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sun2/sun2/procfs_machdep.c       Sun Jul 15 16:29:30 2001 +0000
@@ -0,0 +1,20 @@
+/*     $NetBSD: procfs_machdep.c,v 1.1.8.2 2001/07/15 16:29:30 fredette Exp $  */
+
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/mount.h>
+#include <sys/vnode.h>
+#include <miscfs/procfs/procfs.h>
+
+
+/*
+ * Linux-style /proc/cpuinfo.
+ * Only used when procfs is mounted with -o linux.
+ */
+int
+procfs_getcpuinfstr(char *buf, int *len)
+{
+       *len = 0;
+
+       return 0;
+}



Home | Main Index | Thread Index | Old Index