Displaying 1 result from an estimated 1 matches for "virtbase".
Did you mean:
virt_base
2013 Dec 10
7
[PATCH] libxc/arm: Correctly handle the difference between virtual and physical address
...5 +282,15 @@ int arch_setup_meminit(struct xc_dom_image *dom)
if ( dom->devicetree_blob )
{
- const uint64_t rambase = dom->rambase_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 +...