From: Tim Deegan Subject: [PATCH] arm: comment the use of second_linear_offset() in mm.c Date: Thu, 14 Feb 2013 12:37:04 +0000 Message-ID: <4b01cc2c2c1f4836e7fb.1360845424@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Stefano Stabellini , Ian Campbell List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Tim Deegan # Date 1360845361 0 # Node ID 4b01cc2c2c1f4836e7fb34a58bc13e125d67969e # Parent 6ad763d9f964859d045380baef43edf18399bdb0 arm: comment the use of second_linear_offset() in mm.c Signed-off-by: Tim Deegan diff -r 6ad763d9f964 -r 4b01cc2c2c1f xen/arch/arm/mm.c --- a/xen/arch/arm/mm.c Thu Feb 14 11:07:07 2013 +0000 +++ b/xen/arch/arm/mm.c Thu Feb 14 12:36:01 2013 +0000 @@ -41,6 +41,9 @@ struct domain *dom_xen, *dom_io, *dom_co /* Static start-of-day pagetables that we use before the allocators are up */ lpae_t xen_pgtable[LPAE_ENTRIES] __attribute__((__aligned__(4096))); +/* N.B. The second-level table is 4 contiguous pages long, and covers + * all addresses from 0 to 0xffffffff. Offsets into it are calculated + * with second_linear_offset(), not second_table_offset(). */ lpae_t xen_second[LPAE_ENTRIES*4] __attribute__((__aligned__(4096*4))); lpae_t xen_fixmap[LPAE_ENTRIES] __attribute__((__aligned__(4096))); static lpae_t xen_xenmap[LPAE_ENTRIES] __attribute__((__aligned__(4096)));