arm: comment the use of second_linear_offset() in mm.c
authorTim Deegan <tim@xen.org>
Fri, 15 Feb 2013 13:32:06 +0000 (13:32 +0000)
committerTim Deegan <tim@xen.org>
Fri, 15 Feb 2013 13:32:06 +0000 (13:32 +0000)
Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/mm.c

index 7621d1ba0fec54419f7c75bf2a29b86f8567676b..d0037fd0e145bf56a320fbe80d4edd91d4b34a6a 100644 (file)
@@ -41,6 +41,9 @@ struct domain *dom_xen, *dom_io, *dom_cow;
 
 /* 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)));