Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 23:46:47 -0800
From:      Rui Paulo <rpaulo@felyko.com>
To:        Justin Hibbits <chmeeedalf@gmail.com>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: powerpc64 memory translations
Message-ID:  <09C3ACEA-031F-4447-B9BB-4466F9E67CC7@felyko.com>
In-Reply-To: <20131210223546.27d2b45d@zhabar.gateway.2wire.net>
References:  <20131210223546.27d2b45d@zhabar.gateway.2wire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Dec 2013, at 22:35, Justin Hibbits <chmeeedalf@gmail.com> wrote:

> I'm trying to fix a problem with DTrace FBT (it just flat hangs), and
> want to use the oldest trick in the book -- writing to a known address
> at various points.  Problem I have, though, is that writing to 0x10
> virtual, unlike with powerpc32, doesn't write to 0x10 physical.  Is
> there any way to get the mapping for the first page of physical memory,
> so I can do this debugging?  And to make it always available, so that
> I don't have to worry about mapping it when I need to?

Wouldn't pmap_mapdev() work?

--
Rui Paulo






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09C3ACEA-031F-4447-B9BB-4466F9E67CC7>