Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2015 11:10:45 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r292555 - in head/sys: arm/arm arm/include conf dev/ofw powerpc/include powerpc/ofw
Message-ID:  <1450721445.25138.147.camel@freebsd.org>
In-Reply-To: <201512211807.tBLI7WtW045808@repo.freebsd.org>
References:  <201512211807.tBLI7WtW045808@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1450721445.25138.147.camel>