diff options
author | 2004-04-21 18:35:25 +0000 | |
---|---|---|
committer | 2004-04-21 18:35:25 +0000 | |
commit | 2530ccc9844fc649ec8c0ae413affed8544042dc (patch) | |
tree | f2008a884375fb8db5995ac61c68f9d1f725b30c /lib/libkvm/kvm_m88k.c | |
parent | luna88k can play here too (diff) | |
download | wireguard-openbsd-2530ccc9844fc649ec8c0ae413affed8544042dc.tar.xz wireguard-openbsd-2530ccc9844fc649ec8c0ae413affed8544042dc.zip |
Rename kvm_mvme88k so that luna88k can build libkvm.
Diffstat (limited to 'lib/libkvm/kvm_m88k.c')
-rw-r--r-- | lib/libkvm/kvm_m88k.c | 79 |
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; +} |