Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/lib/libkvm Pull up following revision(s) (requested by ch...
details: https://anonhg.NetBSD.org/src/rev/e1fb480062c9
branches: netbsd-7
changeset: 798949:e1fb480062c9
user: martin <martin%NetBSD.org@localhost>
date: Wed Feb 04 10:14:30 2015 +0000
description:
Pull up following revision(s) (requested by chs in ticket #489):
lib/libkvm/kvm_powerpc64.c: revision 1.6
diffstat:
lib/libkvm/kvm_powerpc64.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (40 lines):
diff -r 2503e1594866 -r e1fb480062c9 lib/libkvm/kvm_powerpc64.c
--- a/lib/libkvm/kvm_powerpc64.c Wed Feb 04 07:20:54 2015 +0000
+++ b/lib/libkvm/kvm_powerpc64.c Wed Feb 04 10:14:30 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm_powerpc64.c,v 1.5 2014/01/27 21:00:01 matt Exp $ */
+/* $NetBSD: kvm_powerpc64.c,v 1.5.4.1 2015/02/04 10:14:30 martin Exp $ */
/*
* Copyright (c) 2005 Wasabi Systems, Inc.
@@ -90,7 +90,7 @@
#include <powerpc/oea/bat.h>
#include <powerpc/oea/pte.h>
-__RCSID("$NetBSD: kvm_powerpc64.c,v 1.5 2014/01/27 21:00:01 matt Exp $");
+__RCSID("$NetBSD: kvm_powerpc64.c,v 1.5.4.1 2015/02/04 10:14:30 martin Exp $");
void
_kvm_freevtop(kvm_t *kd)
@@ -117,17 +117,16 @@
int
_kvm_kvatop(kvm_t *kd, vaddr_t va, paddr_t *pa)
{
- cpu_kcore_hdr_t *cpu_kh;
- uint32_t pvr;
if (ISALIVE(kd)) {
_kvm_err(kd, 0, "vatop called in live kernel!");
return 0;
}
- cpu_kh = kd->cpu_data;
-
- pvr = (cpu_kh->pvr >> 16);
+#if 0
+ cpu_kcore_hdr_t *cpu_kh = kd->cpu_data;
+ uint32_t pvr = (cpu_kh->pvr >> 16);
+#endif
/* No hit -- no translation */
Home |
Main Index |
Thread Index |
Old Index