1*d415763eSderaadt /* $OpenBSD: kvm_m88k.c,v 1.8 2021/12/01 21:45:19 deraadt Exp $ */
22530ccc9Smiod /* $NetBSD: kvm_alpha.c,v 1.2 1995/09/29 03:57:48 cgd Exp $ */
32530ccc9Smiod
42530ccc9Smiod /*
52530ccc9Smiod * Copyright (c) 1994, 1995 Carnegie-Mellon University.
62530ccc9Smiod * All rights reserved.
72530ccc9Smiod *
82530ccc9Smiod * Author: Chris G. Demetriou
92530ccc9Smiod *
102530ccc9Smiod * Permission to use, copy, modify and distribute this software and
112530ccc9Smiod * its documentation is hereby granted, provided that both the copyright
122530ccc9Smiod * notice and this permission notice appear in all copies of the
132530ccc9Smiod * software, derivative works or modified versions, and any portions
142530ccc9Smiod * thereof, and that both notices appear in supporting documentation.
152530ccc9Smiod *
162530ccc9Smiod * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
172530ccc9Smiod * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
182530ccc9Smiod * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
192530ccc9Smiod *
202530ccc9Smiod * Carnegie Mellon requests users of this software to return to
212530ccc9Smiod *
222530ccc9Smiod * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
232530ccc9Smiod * School of Computer Science
242530ccc9Smiod * Carnegie Mellon University
252530ccc9Smiod * Pittsburgh PA 15213-3890
262530ccc9Smiod *
272530ccc9Smiod * any improvements or extensions that they make and grant Carnegie the
282530ccc9Smiod * rights to redistribute these changes.
292530ccc9Smiod */
302530ccc9Smiod
310e64ee4cSderaadt #include <sys/types.h>
320e64ee4cSderaadt #include <sys/signal.h>
332530ccc9Smiod #include <sys/proc.h>
342530ccc9Smiod #include <sys/stat.h>
352530ccc9Smiod #include <unistd.h>
36b7e5637aSmiod #include <stdlib.h>
372530ccc9Smiod #include <nlist.h>
382530ccc9Smiod #include <kvm.h>
392530ccc9Smiod
402530ccc9Smiod #include <uvm/uvm_extern.h>
412530ccc9Smiod
422530ccc9Smiod #include <limits.h>
432530ccc9Smiod #include <db.h>
442530ccc9Smiod
452530ccc9Smiod #include "kvm_private.h"
462530ccc9Smiod
472530ccc9Smiod void
_kvm_freevtop(kvm_t * kd)48551fad64Sderaadt _kvm_freevtop(kvm_t *kd)
492530ccc9Smiod {
50551fad64Sderaadt free(kd->vmst);
51551fad64Sderaadt kd->vmst = NULL;
52551fad64Sderaadt }
532530ccc9Smiod
542530ccc9Smiod int
_kvm_initvtop(kvm_t * kd)55551fad64Sderaadt _kvm_initvtop(kvm_t *kd)
562530ccc9Smiod {
572530ccc9Smiod
582530ccc9Smiod return (0);
592530ccc9Smiod }
602530ccc9Smiod
612530ccc9Smiod int
_kvm_kvatop(kvm_t * kd,u_long va,paddr_t * pa)62fdd3f45bSmickey _kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa)
632530ccc9Smiod {
642530ccc9Smiod
652530ccc9Smiod /* don't forget k0seg translations! */
66551fad64Sderaadt _kvm_err(kd, 0, "vatop not yet implemented!");
672530ccc9Smiod return (0);
682530ccc9Smiod }
69551fad64Sderaadt
702530ccc9Smiod off_t
_kvm_pa2off(kvm_t * kd,paddr_t pa)71fdd3f45bSmickey _kvm_pa2off(kvm_t *kd, paddr_t pa)
722530ccc9Smiod {
732530ccc9Smiod _kvm_err(kd, 0, "pa2off not yet implemented!");
74551fad64Sderaadt return (0);
752530ccc9Smiod }
76