1 /* $OpenBSD: kvm_m88k.c,v 1.8 2021/12/01 21:45:19 deraadt Exp $ */ 2 /* $NetBSD: kvm_alpha.c,v 1.2 1995/09/29 03:57:48 cgd Exp $ */ 3 4 /* 5 * Copyright (c) 1994, 1995 Carnegie-Mellon University. 6 * All rights reserved. 7 * 8 * Author: Chris G. Demetriou 9 * 10 * Permission to use, copy, modify and distribute this software and 11 * its documentation is hereby granted, provided that both the copyright 12 * notice and this permission notice appear in all copies of the 13 * software, derivative works or modified versions, and any portions 14 * thereof, and that both notices appear in supporting documentation. 15 * 16 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 17 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 18 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 19 * 20 * Carnegie Mellon requests users of this software to return to 21 * 22 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 23 * School of Computer Science 24 * Carnegie Mellon University 25 * Pittsburgh PA 15213-3890 26 * 27 * any improvements or extensions that they make and grant Carnegie the 28 * rights to redistribute these changes. 29 */ 30 31 #include <sys/types.h> 32 #include <sys/signal.h> 33 #include <sys/proc.h> 34 #include <sys/stat.h> 35 #include <unistd.h> 36 #include <stdlib.h> 37 #include <nlist.h> 38 #include <kvm.h> 39 40 #include <uvm/uvm_extern.h> 41 42 #include <limits.h> 43 #include <db.h> 44 45 #include "kvm_private.h" 46 47 void 48 _kvm_freevtop(kvm_t *kd) 49 { 50 free(kd->vmst); 51 kd->vmst = NULL; 52 } 53 54 int 55 _kvm_initvtop(kvm_t *kd) 56 { 57 58 return (0); 59 } 60 61 int 62 _kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa) 63 { 64 65 /* don't forget k0seg translations! */ 66 _kvm_err(kd, 0, "vatop not yet implemented!"); 67 return (0); 68 } 69 70 off_t 71 _kvm_pa2off(kvm_t *kd, paddr_t pa) 72 { 73 _kvm_err(kd, 0, "pa2off not yet implemented!"); 74 return (0); 75 } 76