|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] xen/tools: Introduce QNX IFS loader
Hi Oleksandr, On 17/09/14 09:34, Oleksandr Tyshchenko wrote: You are casting an uint32_t address to a pointer, this will break compilation on ARM64. I took me a couple of minutes to understand where does the "0x1000" comes from. I would use "4 << 10" here. [..] dom->rambase_pfn is already set earlier (see xc_dom_rambase_init). You don't need to reset it. Please you the value of this variable here, rather than using the hardcoding GUEST_RAM_BASE. + /* Do not load kernel at the very first RAM address */ + v_start = rambase + 0x8000; + v_end = v_start + dom->kernel_size; + + /* find kernel segment */ + dom->kernel_seg.vstart = v_start; + dom->kernel_seg.vend = v_end; + + dom->parms.virt_entry = dom->startup_vaddr; Looking to the QNX header, the field start_vaddr should contain a virtual address. But virt_entry will contain that entry physical address (yes, I know it's confusing :)). So, how can this work?Also, it looks like that with this solution, the QNX image will be tight to a specific version of Xen. Indeed, you have to specify the physical address in the QNX image. -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |