From owner-freebsd-hackers@FreeBSD.ORG Tue May 16 15:46:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2116616A5A2 for ; Tue, 16 May 2006 15:46:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E35743D62 for ; Tue, 16 May 2006 15:46:12 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4GFgtSt047796; Tue, 16 May 2006 09:42:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 May 2006 09:40:34 -0600 (MDT) Message-Id: <20060516.094034.71136916.imp@bsdimp.com> To: hongz@promisechina.com From: Warner Losh In-Reply-To: <1147773499$37747$52718922@hongz@promisechina.com> References: <20060512.203254.62667569.imp@bsdimp.com> <1147773499$37747$52718922@hongz@promisechina.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=gb2312 Content-Transfer-Encoding: base64 Cc: freebsd-hackers@freebsd.org Subject: Re: =?gb2312?b?tPC4tDo=?= help:How to map a physical address into a kernel address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 15:46:23 -0000 PiBJIGZpbmQgdGhhdCBidXNkbWEgY2FuIG5vdCBoZWxwIG9uIHRoaXMuIFBsZWFzZSBub3RlIHRo YXQgd2UgbmVlZCBhY2Nlc3MgdGhlDQo+IGRhdGEgYnVmZmVyIGluI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