1*d914a3c1Smrg /* $NetBSD: kvm_ia64.c,v 1.3 2021/12/11 19:24:19 mrg Exp $ */
25f336214Smrg
35f336214Smrg /*
45f336214Smrg * Copyright (c) 2016 Matthew R. Green
55f336214Smrg * All rights reserved.
65f336214Smrg *
75f336214Smrg * Redistribution and use in source and binary forms, with or without
85f336214Smrg * modification, are permitted provided that the following conditions
95f336214Smrg * are met:
105f336214Smrg * 1. Redistributions of source code must retain the above copyright
115f336214Smrg * notice, this list of conditions and the following disclaimer.
125f336214Smrg * 2. Redistributions in binary form must reproduce the above copyright
135f336214Smrg * notice, this list of conditions and the following disclaimer in the
145f336214Smrg * documentation and/or other materials provided with the distribution.
155f336214Smrg *
165f336214Smrg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
175f336214Smrg * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
185f336214Smrg * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
195f336214Smrg * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
205f336214Smrg * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
215f336214Smrg * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
225f336214Smrg * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
235f336214Smrg * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
245f336214Smrg * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
255f336214Smrg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
265f336214Smrg * SUCH DAMAGE.
275f336214Smrg */
285f336214Smrg
295f336214Smrg /* Empty implementation */
305f336214Smrg
315f336214Smrg #include <sys/param.h>
325f336214Smrg
335f336214Smrg #include <limits.h>
345f336214Smrg #include <kvm.h>
355f336214Smrg
365f336214Smrg #include <uvm/uvm_extern.h>
375f336214Smrg
385f336214Smrg #include "kvm_private.h"
395f336214Smrg
405f336214Smrg
415f336214Smrg void
_kvm_freevtop(kvm_t * kd)425f336214Smrg _kvm_freevtop(kvm_t *kd)
435f336214Smrg {
445f336214Smrg
455f336214Smrg }
465f336214Smrg
475f336214Smrg int
_kvm_initvtop(kvm_t * kd)485f336214Smrg _kvm_initvtop(kvm_t *kd)
495f336214Smrg {
505f336214Smrg
515f336214Smrg _kvm_err(kd, 0, "initvtop not yet implemented!");
525f336214Smrg return (0);
535f336214Smrg }
545f336214Smrg
555f336214Smrg int
_kvm_kvatop(kvm_t * kd,vaddr_t va,paddr_t * pa)565f336214Smrg _kvm_kvatop(kvm_t *kd, vaddr_t va, paddr_t *pa)
575f336214Smrg {
585f336214Smrg
595f336214Smrg _kvm_err(kd, 0, "vatop not yet implemented!");
605f336214Smrg return -1;
615f336214Smrg }
625f336214Smrg
635f336214Smrg off_t
_kvm_pa2off(kvm_t * kd,paddr_t pa)645f336214Smrg _kvm_pa2off(kvm_t *kd, paddr_t pa)
655f336214Smrg {
665f336214Smrg
675f336214Smrg _kvm_err(kd, 0, "pa2off not yet implemented!");
685f336214Smrg return -1;
695f336214Smrg }
705f336214Smrg
715f336214Smrg int
_kvm_mdopen(kvm_t * kd)725f336214Smrg _kvm_mdopen(kvm_t *kd)
735f336214Smrg {
745f336214Smrg
755f336214Smrg _kvm_err(kd, 0, "mdopen not yet implemented!");
765f336214Smrg return -1;
775f336214Smrg }
78