[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4/7] arm: map device tree blob in initial page tables
From: David Vrabel <david.vrabel@xxxxxxxxxx> Add a 1:1 mapping for the device tree blob in the initial page tables. This will allow the DTB to be parsed for memory information prior to setting up the real page tables. Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx> --- xen/arch/arm/head.S | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/xen/arch/arm/head.S b/xen/arch/arm/head.S index 9951f37..8385481 100644 --- a/xen/arch/arm/head.S +++ b/xen/arch/arm/head.S @@ -202,6 +202,11 @@ hyp: add r4, r4, #8 strd r2, r3, [r1, r4] /* Map it in the fixmap's slot */ #endif + mov r3, #0x0 + orr r2, r8, #0xe00 + orr r2, r2, #0x07d + mov r4, r8, lsr #18 /* Slot for (r8 == atag_paddr) */ + strd r2, r3, [r1, r4] /* Map DTB there */ PRINT("- Turning on paging -\r\n") -- 1.7.2.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |