From 51e3315ea1a27c581f78ad35de20019ce5ecff07 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 1 Oct 1996 14:37:00 +0000 Subject: [PATCH] stub _kvm_pa2off so that new libkvm links --- lib/libkvm/kvm_alpha.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/libkvm/kvm_alpha.c b/lib/libkvm/kvm_alpha.c index 8845aff05d61..004b06855361 100644 --- a/lib/libkvm/kvm_alpha.c +++ b/lib/libkvm/kvm_alpha.c @@ -1,4 +1,4 @@ -/* $NetBSD: kvm_alpha.c,v 1.2 1995/09/29 03:57:48 cgd Exp $ */ +/* $NetBSD: kvm_alpha.c,v 1.3 1996/10/01 14:37:00 cgd Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -69,3 +69,15 @@ _kvm_kvatop(kd, va, pa) return (0); } + +/* + * Translate a physical address to a file-offset in the crash-dump. + */ +off_t +_kvm_pa2off(kd, pa) + kvm_t *kd; + u_long pa; +{ + + return (-1); +}