diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-07 06:50:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-07 06:50:43 +0000 |
commit | d671f825bb877aa8089bd042d91e61f7e3160825 (patch) | |
tree | 71d8b5cfc15aef2a8a2fd454f0e1e1868e7f18fc /lib/libkvm/kvm_mips.c | |
parent | a168f71406b69e1e4372518e29e02154bedb0eaa (diff) |
MACH_ goes away, use cpu.h
Diffstat (limited to 'lib/libkvm/kvm_mips.c')
-rw-r--r-- | lib/libkvm/kvm_mips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_mips.c b/lib/libkvm/kvm_mips.c index 12dd72b4952..b2a71553459 100644 --- a/lib/libkvm/kvm_mips.c +++ b/lib/libkvm/kvm_mips.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_mips.c,v 1.2 1996/05/05 14:57:26 deraadt Exp $ */ +/* $OpenBSD: kvm_mips.c,v 1.3 1996/06/07 06:50:42 deraadt Exp $ */ /* $NetBSD: kvm_mips.c,v 1.3 1996/03/18 22:33:44 thorpej Exp $ */ /*- @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)kvm_mips.c 8.1 (Berkeley) 6/4/93"; #else -static char *rcsid = "$OpenBSD: kvm_mips.c,v 1.2 1996/05/05 14:57:26 deraadt Exp $"; +static char *rcsid = "$OpenBSD: kvm_mips.c,v 1.3 1996/06/07 06:50:42 deraadt Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -67,7 +67,7 @@ static char *rcsid = "$OpenBSD: kvm_mips.c,v 1.2 1996/05/05 14:57:26 deraadt Exp #include "kvm_private.h" -#include <machine/machConst.h> +#include <machine/cpu.h> #include <machine/pte.h> #include <machine/pmap.h> @@ -148,7 +148,7 @@ _kvm_kvatop(kd, va, pa) va >= VM_MIN_KERNEL_ADDRESS + vm->Sysmapsize * NBPG) goto invalid; if (va < VM_MIN_KERNEL_ADDRESS) { - *pa = MACH_CACHED_TO_PHYS(va); + *pa = CACHED_TO_PHYS(va); return (NBPG - offset); } addr = (u_long)(vm->Sysmap + ((va - VM_MIN_KERNEL_ADDRESS) >> PGSHIFT)); |