Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 May 2013 08:36:56 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Grzegorz Bernacki <gber@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r250293 - in head/sys/arm: arm mv mv/armadaxp
Message-ID:  <1367851016.1180.166.camel@revolution.hippie.lan>
In-Reply-To: <201305061412.r46ECbkj018935@svn.freebsd.org>
References:  <201305061412.r46ECbkj018935@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2013-05-06 at 14:12 +0000, Grzegorz Bernacki wrote:
> Modified: head/sys/arm/arm/locore.S
> ==============================================================================
> --- head/sys/arm/arm/locore.S   Mon May  6 13:52:49 2013        (r250292)
> +++ head/sys/arm/arm/locore.S   Mon May  6 14:12:36 2013        (r250293)
> @@ -265,7 +265,11 @@ mmu_init_table:
>         /* map VA 0xc0000000..0xc3ffffff to PA */
>         MMU_INIT(KERNBASE, PHYSADDR, 64, L1_TYPE_S|L1_SHARED|L1_S_C|L1_S_AP(AP_KRW))
>         MMU_INIT(0x48000000, 0x48000000, 1, L1_TYPE_S|L1_SHARED|L1_S_C|L1_S_AP(AP_KRW))
> -#endif
> +#if defined(CPU_MV_PJ4B)
> +       /* map VA 0xf1000000..0xd0000000 to PA */
> +       MMU_INIT(0xf1000000, 0xd0000000, 1, L1_TYPE_S|L1_SHARED|L1_S_B|L1_S_AP(AP_KRW))
> +#endif /* CPU_MV_PJ4B */
> +#endif /* SMP */
>         .word 0 /* end of table */
>  #endif
>  .Lstart: 

The comment for the added mapping is misleading, it should read
something like "map VA 0xf1000000..0xf1100000 to PA 0xd0000000".  Sorry
I missed that in the pre-commit review.

-- Ian





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