summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_mips.c
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-31 18:02:22 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-31 18:02:22 +0000
commitee8e64bf5c2bf047c37e39c7d2d1888bdcfd2ae2 (patch)
treef21eba99021cc3189afbe7dea142ed17c723b531 /lib/libkvm/kvm_mips.c
parent3bce8ec2b7e75b84281ce6ab421548e60e87d010 (diff)
Add a dummy '_kvm_pa2off()' so it can be used instead of libkvm.old.
Dumps need to be worked on...
Diffstat (limited to 'lib/libkvm/kvm_mips.c')
-rw-r--r--lib/libkvm/kvm_mips.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_mips.c b/lib/libkvm/kvm_mips.c
index 51b4076918a..bd27e345a4d 100644
--- a/lib/libkvm/kvm_mips.c
+++ b/lib/libkvm/kvm_mips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mips.c,v 1.4 1997/02/26 16:46:32 niklas Exp $ */
+/* $OpenBSD: kvm_mips.c,v 1.5 1998/08/31 18:02:21 pefo Exp $ */
/* $NetBSD: kvm_mips.c,v 1.3 1996/03/18 22:33:44 thorpej Exp $ */
/*-
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)kvm_mips.c 8.1 (Berkeley) 6/4/93";
#else
-static char *rcsid = "$OpenBSD: kvm_mips.c,v 1.4 1997/02/26 16:46:32 niklas Exp $";
+static char *rcsid = "$OpenBSD: kvm_mips.c,v 1.5 1998/08/31 18:02:21 pefo Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -168,3 +168,12 @@ invalid:
_kvm_err(kd, 0, "invalid address (%lx)", va);
return (0);
}
+
+off_t
+_kvm_pa2off(kd, pa)
+ kvm_t *kd;
+ u_long pa;
+{
+ _kvm_err(kd, 0, "pa2off not yet implemented!");
+ return 0;
+}