diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-03-25 17:07:41 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-03-25 17:07:41 +0000 |
commit | 330baa486619395a6eecd49fd0b11d82e85e7ee4 (patch) | |
tree | 66570ef31f25b716ea03ca18d95906546fb29866 /lib/libkvm/kvm_mvme88k.c | |
parent | 4365bb59c3447d65284b2b1adcabb62cc688ad38 (diff) |
Ok here is the mvme88k userland, minus a few important pieces.
as, ld change need to be merged. It is known that shared libraries and C++
do not work.
If anyone wants to step forward and take over the mvme88k port please do.
It was dumped on me when the original developer, Nivas, left his previous
job and started a new one.
I am trying to get the port in a shape that someone could take over.
Diffstat (limited to 'lib/libkvm/kvm_mvme88k.c')
-rw-r--r-- | lib/libkvm/kvm_mvme88k.c | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/lib/libkvm/kvm_mvme88k.c b/lib/libkvm/kvm_mvme88k.c new file mode 100644 index 00000000000..4ab360a4a1a --- /dev/null +++ b/lib/libkvm/kvm_mvme88k.c @@ -0,0 +1,79 @@ +/* $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 <vm/vm.h> +#include <vm/vm_param.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; +} |