arm: comment the use of second_linear_offset() in mm.c
PATCH 1/1 arm: comment the use of second_linear_offset() in mm.c
# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1360845361 0
# Node ID 4b01cc2c2c1f4836e7fb34a58bc13e125d67969e # Parent 6ad763d9f964859d045380baef43edf18399bdb0
arm: comment the use of second_linear_offset() in mm.c
Signed-off-by Tim Deegan <[email protected]>
xen/arch/arm/mm.c +3 -0
@@ -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)));
Quoted 8 lines · Tim Deegan
# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1360845361 0
# Node ID4b01cc2c2c1f4836e7fb34a58bc13e125d67969e# Parent6ad763d9f964859d045380baef43edf18399bdb0
arm: comment the use ofsecond_linear_offset()inmm.cSigned-off-by Tim Deegan <[email protected]>
Acked + applied, thanks.