Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2/sun2 Added.
details: https://anonhg.NetBSD.org/src/rev/1d7ead6123d7
branches: trunk
changeset: 512734:1d7ead6123d7
user: fredette <fredette%NetBSD.org@localhost>
date: Sun Jul 15 16:29:29 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 c91bbe137ec7 -r 1d7ead6123d7 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:29 2001 +0000
@@ -0,0 +1,20 @@
+/* $NetBSD: procfs_machdep.c,v 1.1 2001/07/15 16:29:29 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