Add MD procfs stub for SH5.

This commit is contained in:
scw 2002-07-12 11:20:12 +00:00
parent 270555326f
commit 67ea1085eb
2 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sh5,v 1.1 2002/07/05 13:31:51 scw Exp $
# $NetBSD: files.sh5,v 1.2 2002/07/12 11:20:12 scw Exp $
#
@ -122,6 +122,8 @@ file dev/clock_subr.c
file dev/cons.c
file dev/cninit.c
file arch/sh5/sh5/procfs_machdep.c procfs
file arch/sh5/sh5/in_cksum.c inet
file netinet/in4_cksum.c inet
file netns/ns_cksum.c ns

View File

@ -0,0 +1,20 @@
/* $NetBSD: procfs_machdep.c,v 1.1 2002/07/12 11:20:13 scw 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;
}