From owner-freebsd-ppc@FreeBSD.ORG Wed Dec 11 06:35:52 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FA78E7B for ; Wed, 11 Dec 2013 06:35:52 +0000 (UTC) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 05D9F1CFB for ; Wed, 11 Dec 2013 06:35:52 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id y13so8818786pdi.5 for ; Tue, 10 Dec 2013 22:35:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=NuQGvfnVWgoTBVWzmtML0XKYAPMs/Kd8oX9Av8OemQQ=; b=DMBlP3RwGjIn4Nsvz2bVezelupHKwMiOCL75/DHcwep5dbPOyxT1XA50I+7QZSO4W5 d//A7Ggm8FtYo9MfLhKWo4QqiJnELDsQ7+d0hoV4sm4w2QcvPqrlqpSXeoT3u9X/uWrf hyF5DjjwxjFFQQop2k7YIA5fmZbXnYn+Uze/lebxpcS70gKRzb4WyLIN9yiVtcMKHivZ Llv9Rrqgve7d2VVvEc93V9Jm9ojkcEl5lg9HWNnD53F20kvDl5EnCsk/4j20xPRv2Iy2 o1QRxSZ632nB2XHmwG+UV4yKvhagHJS2jxVhlahJ90+mwY+vgVtSmWQpjwpqkBWqHzxy HX0w== X-Received: by 10.68.197.129 with SMTP id iu1mr32558222pbc.139.1386743751602; Tue, 10 Dec 2013 22:35:51 -0800 (PST) Received: from zhabar.gateway.2wire.net (76-253-2-5.lightspeed.sntcca.sbcglobal.net. [76.253.2.5]) by mx.google.com with ESMTPSA id sx8sm34845218pab.5.2013.12.10.22.35.50 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 22:35:51 -0800 (PST) Date: Tue, 10 Dec 2013 22:35:46 -0800 From: Justin Hibbits To: FreeBSD PowerPC ML Subject: powerpc64 memory translations Message-ID: <20131210223546.27d2b45d@zhabar.gateway.2wire.net> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; powerpc64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 06:35:52 -0000 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? Thanks, Justin