summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_m88k.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-04-21 18:35:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-04-21 18:35:26 +0000
commit9cadc69d196ae4c3882a22d6503d9c465372862b (patch)
tree9607d3b33153402e1e9b8620034fa5d2ae47b201 /lib/libkvm/kvm_m88k.c
parent01fce5982c849c8cf67258a85acac5d4f85e11b9 (diff)
Rename kvm_mvme88k so that luna88k can build libkvm.
Diffstat (limited to 'lib/libkvm/kvm_m88k.c')
-rw-r--r--lib/libkvm/kvm_m88k.c79
1 files changed, 79 insertions, 0 deletions
diff --git a/lib/libkvm/kvm_m88k.c b/lib/libkvm/kvm_m88k.c
new file mode 100644
index 00000000000..c5736be61fa
--- /dev/null
+++ b/lib/libkvm/kvm_m88k.c
@@ -0,0 +1,79 @@
+/* $OpenBSD: kvm_m88k.c,v 1.1 2004/04/21 18:35:25 miod Exp $ */
+/* $NetBSD: kvm_alpha.c,v 1.2 1995/09/29 03:57:48 cgd Exp $ */
+
+/*
+ * Copyright (c) 1994, 1995 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ *
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
+ * School of Computer Science
+ * Carnegie Mellon University
+ * Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ */
+
+#include <sys/param.h>
+#include <sys/user.h>
+#include <sys/proc.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <nlist.h>
+#include <kvm.h>
+
+#include <uvm/uvm_extern.h>
+
+#include <limits.h>
+#include <db.h>
+
+#include "kvm_private.h"
+
+void
+_kvm_freevtop(kd)
+ kvm_t *kd;
+{
+
+}
+
+int
+_kvm_initvtop(kd)
+ kvm_t *kd;
+{
+
+ return (0);
+}
+
+int
+_kvm_kvatop(kd, va, pa)
+ kvm_t *kd;
+ u_long va;
+ u_long *pa;
+{
+
+ /* don't forget k0seg translations! */
+
+ return (0);
+}
+off_t
+_kvm_pa2off(kd, pa)
+ kvm_t *kd;
+ u_long pa;
+{
+ _kvm_err(kd, 0, "pa2off not yet implemented!");
+ return 0;
+}