From owner-svn-src-all@freebsd.org Mon Dec 21 18:10:53 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95650A4E778 for ; Mon, 21 Dec 2015 18:10:53 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7993A1D7D for ; Mon, 21 Dec 2015 18:10:53 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Mon, 21 Dec 2015 18:11:00 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id tBLIAjSP034365; Mon, 21 Dec 2015 11:10:45 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1450721445.25138.147.camel@freebsd.org> Subject: Re: svn commit: r292555 - in head/sys: arm/arm arm/include conf dev/ofw powerpc/include powerpc/ofw From: Ian Lepore To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Mon, 21 Dec 2015 11:10:45 -0700 In-Reply-To: <201512211807.tBLI7WtW045808@repo.freebsd.org> References: <201512211807.tBLI7WtW045808@repo.freebsd.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 18:10:53 -0000 On Mon, 2015-12-21 at 18:07 +0000, Ian Lepore wrote: > Author: ian > Date: Mon Dec 21 18:07:32 2015 > New Revision: 292555 > URL: https://svnweb.freebsd.org/changeset/base/292555 > > Log: > Implement OF_decode_addr() for arm. Move most of powerpc's implementation > into a new function that other platforms can share. > > This creates a new ofw_reg_to_paddr() function (in a new ofw_subr.c file) > that contains most of the existing ppc implementation, mostly unchanged. > The ppc code now calls the new MI code from the MD code, then creates a > ppc-specific bus_space mapping from the results. The new arm implementation > does the same in an arm-specific way. > > This also moves the declaration of OF_decode_addr() from ofw_machdep.h to > openfirm.h, except on sparc64 which uses a different function signature. > > This will help all FDT platforms to set up early console access using > OF_decode_addr(). > > Added: > head/sys/arm/arm/ofw_machdep.c (contents, props changed) > head/sys/dev/ofw/ofw_subr.c (contents, props changed) > head/sys/dev/ofw/ofw_subr.h (contents, props changed) > Modified: > head/sys/arm/include/ofw_machdep.h > head/sys/conf/files > head/sys/conf/files.arm > head/sys/conf/files.powerpc > head/sys/dev/ofw/openfirm.h > head/sys/powerpc/include/ofw_machdep.h > head/sys/powerpc/ofw/ofw_machdep.c Forgot to add Differential Revision: https://reviews.freebsd.org/D4664 -- Ian