diff options
author | 2006-03-20 15:11:48 +0000 | |
---|---|---|
committer | 2006-03-20 15:11:48 +0000 | |
commit | fdd3f45b8fdbd18ef13c7dc5c42e999fc2ff4e34 (patch) | |
tree | 109c0beafb5dc3316f1b9a0586988f690d4259d0 /lib/libkvm/kvm_hppa.c | |
parent | a bit of demagification. this moves the checks for the cpu scaling features (diff) | |
download | wireguard-openbsd-fdd3f45b8fdbd18ef13c7dc5c42e999fc2ff4e34.tar.xz wireguard-openbsd-fdd3f45b8fdbd18ef13c7dc5c42e999fc2ff4e34.zip |
for some of internal functions use paddr_t where phys addr is intended insteadd of u_long; miod@ ok
Diffstat (limited to 'lib/libkvm/kvm_hppa.c')
-rw-r--r-- | lib/libkvm/kvm_hppa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_hppa.c b/lib/libkvm/kvm_hppa.c index 897f6138eb4..a08e7e5f70c 100644 --- a/lib/libkvm/kvm_hppa.c +++ b/lib/libkvm/kvm_hppa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_hppa.c,v 1.4 2004/09/15 19:31:31 miod Exp $ */ +/* $OpenBSD: kvm_hppa.c,v 1.5 2006/03/20 15:11:48 mickey Exp $ */ /* * Copyright (c) 2002, Miodrag Vallat. @@ -51,7 +51,7 @@ _kvm_initvtop(kvm_t *kd) } int -_kvm_kvatop(kvm_t *kd, u_long va, u_long *pa) +_kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa) { int offset; @@ -68,7 +68,7 @@ _kvm_kvatop(kvm_t *kd, u_long va, u_long *pa) * Translate a physical address to a file offset in the crash dump. */ off_t -_kvm_pa2off(kvm_t *kd, u_long pa) +_kvm_pa2off(kvm_t *kd, paddr_t pa) { /* TODO */ return (0); |