Displaying 1 result from an estimated 1 matches for "virtend".
Did you mean:
virt_end
2013 Dec 10
7
[PATCH] libxc/arm: Correctly handle the difference between virtual and physical address
...)
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 + 128*1024*1024 + dtbsize )
- dom->devicetree_s...