search for: dtbsize

Displaying 3 results from an estimated 3 matches for "dtbsize".

Did you mean: dbsize
2013 Nov 19
7
[PATCH] libxc/arm: align to page size the base address of the device tree
.../xc_dom_arm.c b/tools/libxc/xc_dom_arm.c index ffe575b..366061d 100644 --- a/tools/libxc/xc_dom_arm.c +++ b/tools/libxc/xc_dom_arm.c @@ -290,6 +290,8 @@ int arch_setup_meminit(struct xc_dom_image *dom) else /* otherwise at top of RAM */ dom->devicetree_seg.vstart = ramend - dtbsize; + dom->devicetree_seg.vstart &= XC_PAGE_MASK; + dom->devicetree_seg.vend = dom->devicetree_seg.vstart + dom->devicetree_size; DOMPRINTF("%s: devicetree: 0x%" PRIx64 " -> 0x%" PRIx64 "", -- 1.7.10.4
2013 Dec 10
7
[PATCH] libxc/arm: Correctly handle the difference between virtual and physical address
...ase_pfn << XC_PAGE_SHIFT; - const uint64_t ramend = rambase + ( dom->total_pages << XC_PAGE_SHIFT ); + const uint64_t virtbase = dom->parms.virt_base; + const uint64_t virtend = virtbase + ( dom->total_pages << XC_PAGE_SHIFT ); const uint64_t dtbsize = ROUNDUP(dom->devicetree_size, XC_PAGE_SHIFT); /* Place at 128MB if there is sufficient RAM */ - if ( ramend >= rambase + 128*1024*1024 + dtbsize ) - dom->devicetree_seg.vstart = rambase + 128*1024*1024; + if ( virtend >= virtbase + 128*1024*1024 + d...
2013 Nov 19
23
[PATCH v6 00/16] xen: arm: 64-bit guest support and domU FDT autogeneration
Biggest change is to switch the new DTB node to /xen-core-devices instead of /xen at Stefano''s request. I also dropped the few patches title HACK etc which weren''t supposed to be there and fixed up some bits and pieces which folks commented on. George, WRT the freeze I think this is functionality which we cannot ship Xen 4.4 without. The impact is entirely constrained to the