Date: Mon, 13 Jan 2014 19:02:31 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260600 - head/lib/libkvm Message-ID: <201401131902.s0DJ2VZa020393@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Mon Jan 13 19:02:31 2014 New Revision: 260600 URL: http://svnweb.freebsd.org/changeset/base/260600 Log: We don't have to worry about page sizes when working on virtual cores (i.e. minidumps). Every segment is virtually contiguous. Modified: head/lib/libkvm/kvm_ia64.c Modified: head/lib/libkvm/kvm_ia64.c ============================================================================== --- head/lib/libkvm/kvm_ia64.c Mon Jan 13 19:01:14 2014 (r260599) +++ head/lib/libkvm/kvm_ia64.c Mon Jan 13 19:02:31 2014 (r260600) @@ -245,7 +245,7 @@ static size_t virt_kvatop(kvm_t *kd, uint64_t va, off_t *ofs) { - return (virt_addr2off(kd, va, ofs, kd->vmst->pagesize)); + return (virt_addr2off(kd, va, ofs, 0)); } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401131902.s0DJ2VZa020393>