[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] arm: comment the use of second_linear_offset() in mm.c



# HG changeset patch
# User Tim Deegan <tim@xxxxxxx>
# Date 1360845361 0
# Node ID 4b01cc2c2c1f4836e7fb34a58bc13e125d67969e
# Parent  6ad763d9f964859d045380baef43edf18399bdb0
arm: comment the use of second_linear_offset() in mm.c

Signed-off-by: Tim Deegan <tim@xxxxxxx>

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)));

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.